mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 16:41:57 +00:00
Generate Sources of origin/master updated at Thu Aug 6 17:44:43 GMT 2015
This commit is contained in:
parent
3a53edea04
commit
ce75a3eb2d
@ -2434,6 +2434,8 @@ typedef void (GLAPIENTRY * PFNGLMINSAMPLESHADINGPROC) (GLclampf value);
|
||||
#ifndef GL_VERSION_4_2
|
||||
#define GL_VERSION_4_2 1
|
||||
|
||||
#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
|
||||
#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
|
||||
#define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
|
||||
#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
|
||||
#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
|
||||
@ -2475,11 +2477,17 @@ typedef void (GLAPIENTRY * PFNGLMINSAMPLESHADINGPROC) (GLclampf value);
|
||||
#ifndef GL_VERSION_4_5
|
||||
#define GL_VERSION_4_5 1
|
||||
|
||||
#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
|
||||
|
||||
typedef GLenum (GLAPIENTRY * PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
|
||||
typedef void (GLAPIENTRY * PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, GLvoid *pixels);
|
||||
typedef void (GLAPIENTRY * PFNGLGETNTEXIMAGEPROC) (GLenum tex, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels);
|
||||
typedef void (GLAPIENTRY * PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
|
||||
|
||||
#define glGetGraphicsResetStatus GLEW_GET_FUN(__glewGetGraphicsResetStatus)
|
||||
#define glGetnCompressedTexImage GLEW_GET_FUN(__glewGetnCompressedTexImage)
|
||||
#define glGetnTexImage GLEW_GET_FUN(__glewGetnTexImage)
|
||||
#define glGetnUniformdv GLEW_GET_FUN(__glewGetnUniformdv)
|
||||
|
||||
#define GLEW_VERSION_4_5 GLEW_GET_VAR(__GLEW_VERSION_4_5)
|
||||
|
||||
@ -16451,7 +16459,9 @@ GLEW_FUN_EXPORT PFNGLBLENDFUNCIPROC __glewBlendFunci;
|
||||
GLEW_FUN_EXPORT PFNGLMINSAMPLESHADINGPROC __glewMinSampleShading;
|
||||
|
||||
GLEW_FUN_EXPORT PFNGLGETGRAPHICSRESETSTATUSPROC __glewGetGraphicsResetStatus;
|
||||
GLEW_FUN_EXPORT PFNGLGETNCOMPRESSEDTEXIMAGEPROC __glewGetnCompressedTexImage;
|
||||
GLEW_FUN_EXPORT PFNGLGETNTEXIMAGEPROC __glewGetnTexImage;
|
||||
GLEW_FUN_EXPORT PFNGLGETNUNIFORMDVPROC __glewGetnUniformdv;
|
||||
|
||||
GLEW_FUN_EXPORT PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX;
|
||||
|
||||
|
@ -613,7 +613,9 @@ PFNGLBLENDFUNCIPROC __glewBlendFunci = NULL;
|
||||
PFNGLMINSAMPLESHADINGPROC __glewMinSampleShading = NULL;
|
||||
|
||||
PFNGLGETGRAPHICSRESETSTATUSPROC __glewGetGraphicsResetStatus = NULL;
|
||||
PFNGLGETNCOMPRESSEDTEXIMAGEPROC __glewGetnCompressedTexImage = NULL;
|
||||
PFNGLGETNTEXIMAGEPROC __glewGetnTexImage = NULL;
|
||||
PFNGLGETNUNIFORMDVPROC __glewGetnUniformdv = NULL;
|
||||
|
||||
PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX = NULL;
|
||||
|
||||
@ -3919,7 +3921,9 @@ static GLboolean _glewInit_GL_VERSION_4_5 (GLEW_CONTEXT_ARG_DEF_INIT)
|
||||
GLboolean r = GL_FALSE;
|
||||
|
||||
r = ((glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)glewGetProcAddress((const GLubyte*)"glGetGraphicsResetStatus")) == NULL) || r;
|
||||
r = ((glGetnCompressedTexImage = (PFNGLGETNCOMPRESSEDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetnCompressedTexImage")) == NULL) || r;
|
||||
r = ((glGetnTexImage = (PFNGLGETNTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetnTexImage")) == NULL) || r;
|
||||
r = ((glGetnUniformdv = (PFNGLGETNUNIFORMDVPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformdv")) == NULL) || r;
|
||||
|
||||
return r;
|
||||
}
|
||||
|
@ -569,7 +569,9 @@ static void _glewInfo_GL_VERSION_4_5 (void)
|
||||
glewPrintExt("GL_VERSION_4_5", GLEW_VERSION_4_5, GLEW_VERSION_4_5, GLEW_VERSION_4_5);
|
||||
|
||||
glewInfoFunc("glGetGraphicsResetStatus", glGetGraphicsResetStatus == NULL);
|
||||
glewInfoFunc("glGetnCompressedTexImage", glGetnCompressedTexImage == NULL);
|
||||
glewInfoFunc("glGetnTexImage", glGetnTexImage == NULL);
|
||||
glewInfoFunc("glGetnUniformdv", glGetnUniformdv == NULL);
|
||||
}
|
||||
|
||||
#endif /* GL_VERSION_4_5 */
|
||||
|
Loading…
Reference in New Issue
Block a user