Diligent Engine API Reference: D:/GitHub/DiligentEngine/DiligentCore/External/glew/auto/src/glew_tail.h Source File

Diligent Engine API Reference

glew_tail.h
1 /* ------------------------------------------------------------------------- */
2
3 /* error codes */
4 #define GLEW_OK 0
5 #define GLEW_NO_ERROR 0
6 #define GLEW_ERROR_NO_GL_VERSION 1 /* missing GL version */
7 #define GLEW_ERROR_GL_VERSION_10_ONLY 2 /* Need at least OpenGL 1.1 */
8 #define GLEW_ERROR_GLX_VERSION_11_ONLY 3 /* Need at least GLX 1.2 */
9 #define GLEW_ERROR_NO_GLX_DISPLAY 4 /* Need GLX display for GLX support */
10
11 /* string codes */
12 #define GLEW_VERSION 1
13 #define GLEW_VERSION_MAJOR 2
14 #define GLEW_VERSION_MINOR 3
15 #define GLEW_VERSION_MICRO 4
16
17 /* ------------------------------------------------------------------------- */
18
19 /* GLEW version info */
20
21 /*
22 VERSION GLEW_VERSION_STRING
23 VERSION_MAJOR GLEW_VERSION_MAJOR_STRING
24 VERSION_MINOR GLEW_VERSION_MINOR_STRING
25 VERSION_MICRO GLEW_VERSION_MICRO_STRING
26 */
27
28 /* API */
29 GLEWAPI GLenum GLEWAPIENTRY glewInit (void);
30 GLEWAPI GLboolean GLEWAPIENTRY glewIsSupported (const char *name);
31 #define glewIsExtensionSupported(x) glewIsSupported(x)
32
33 #ifndef GLEW_GET_VAR
34 #define GLEW_GET_VAR(x) (*(const GLboolean*)&x)
35 #endif
36
37 #ifndef GLEW_GET_FUN
38 #define GLEW_GET_FUN(x) x
39 #endif
40
41 GLEWAPI GLboolean glewExperimental;
42 GLEWAPI GLboolean GLEWAPIENTRY glewGetExtension (const char *name);
43 GLEWAPI const GLubyte * GLEWAPIENTRY glewGetErrorString (GLenum error);
44 GLEWAPI const GLubyte * GLEWAPIENTRY glewGetString (GLenum name);
45
46 #ifdef __cplusplus
47 }
48 #endif
49
50 #ifdef GLEW_APIENTRY_DEFINED
51 #undef GLEW_APIENTRY_DEFINED
52 #undef APIENTRY
53 #endif
54
55 #ifdef GLEW_CALLBACK_DEFINED
56 #undef GLEW_CALLBACK_DEFINED
57 #undef CALLBACK
58 #endif
59
60 #ifdef GLEW_WINGDIAPI_DEFINED
61 #undef GLEW_WINGDIAPI_DEFINED
62 #undef WINGDIAPI
63 #endif
64
65 #undef GLAPI
66 /* #undef GLEWAPI */
67
68 #endif /* __glew_h__ */