zenilib
0.5.3.0
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
glew_str_wgl.c
Go to the documentation of this file.
1
}
2
ret
= (
len
== 0);
3
}
4
return
ret
;
5
}
6
7
#if defined(_WIN32)
8
9
#if defined(GLEW_MX)
10
GLboolean
GLEWAPIENTRY
wglewContextIsSupported (
const
WGLEWContext*
ctx
,
const
char
*
name
)
11
#else
12
GLboolean
GLEWAPIENTRY
wglewIsSupported
(
const
char
* name)
13
#endif
14
{
15
GLubyte
* pos = (
GLubyte
*)name;
16
GLuint
len
=
_glewStrLen
(pos);
17
GLboolean
ret
=
GL_TRUE
;
18
while
(ret && len > 0)
19
{
20
if
(
_glewStrSame1
(&pos, &len, (
const
GLubyte
*)
"WGL_"
, 4))
21
{
GL_TRUE
#define GL_TRUE
Definition:
gl2.h:51
wglewIsSupported
GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported(const char *name)
GLboolean
unsigned char GLboolean
Definition:
gl2.h:24
name
EGLImageKHR EGLint * name
Definition:
eglext.h:284
len
GLenum GLsizei len
Definition:
glew.h:7035
ret
ret
Definition:
glew_str_glx.c:2
GLubyte
khronos_uint8_t GLubyte
Definition:
gl2.h:30
_glewStrSame1
static GLboolean _glewStrSame1(GLubyte **a, GLuint *na, const GLubyte *b, GLuint nb)
Definition:
glew_head.c:178
_glewStrLen
static GLuint _glewStrLen(const GLubyte *s)
Definition:
glew_head.c:153
GLEWAPIENTRY
#define GLEWAPIENTRY
Definition:
glew_head.h:178
GLuint
unsigned int GLuint
Definition:
gl2.h:32
ctx
EGLContext ctx
Definition:
eglext.h:87
zenilib
jni
external
glew
auto
src
glew_str_wgl.c
Generated on Thu Oct 3 2013 19:56:10 for zenilib by
1.8.5