diff --git a/doc/glew.html b/doc/glew.html index 9615153..55d8806 100644 --- a/doc/glew.html +++ b/doc/glew.html @@ -96,6 +96,7 @@ name="EXT">EXT EXT_texture_filter_anisotropic
EXT_texture_lod_bias
EXT_texture_rectangle
+EXT_texture3D
EXT_vertex_shader
EXT_vertex_weighting
diff --git a/include/GL/glew.h b/include/GL/glew.h index c096acc..14ad010 100644 --- a/include/GL/glew.h +++ b/include/GL/glew.h @@ -210,6 +210,7 @@ extern "C" { #define GL_EXT_texture_filter_anisotropic 1 #define GL_EXT_texture_lod_bias 1 /* (1.4) */ #define GL_EXT_texture_rectangle 1 +#define GL_EXT_texture3D 1 /* (1.2) */ #define GL_EXT_vertex_shader 1 #define GL_EXT_vertex_weighting 1 @@ -1223,15 +1224,15 @@ extern void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height #define GL_MAX_3D_TEXTURE_SIZE 0x8073 #define GL_TEXTURE_BINDING_3D 0x806A -typedef void (APIENTRY * glDrawRangeElementsPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); -typedef void (APIENTRY * glTexImage3DPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRY * glTexSubImage3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRY * glCopyTexSubImage3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); +typedef void (APIENTRY * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -extern GLEW_EXPORT glDrawRangeElementsPROC glDrawRangeElements; -extern GLEW_EXPORT glTexImage3DPROC glTexImage3D; -extern GLEW_EXPORT glTexSubImage3DPROC glTexSubImage3D; -extern GLEW_EXPORT glCopyTexSubImage3DPROC glCopyTexSubImage3D; +extern GLEW_EXPORT PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; +extern GLEW_EXPORT PFNGLTEXIMAGE3DPROC glTexImage3D; +extern GLEW_EXPORT PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; +extern GLEW_EXPORT PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; #endif /* GL_VERSION_1_2 */ @@ -1341,99 +1342,99 @@ extern GLEW_EXPORT glCopyTexSubImage3DPROC glCopyTexSubImage3D; #define GL_DOT3_RGBA 0x86AF #define GL_CLAMP_TO_BORDER 0x812D -typedef void (APIENTRY * glActiveTexturePROC) (GLenum texture); -typedef void (APIENTRY * glClientActiveTexturePROC) (GLenum texture); -typedef void (APIENTRY * glCompressedTexImage1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glCompressedTexImage2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glCompressedTexImage3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glCompressedTexSubImage1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glCompressedTexSubImage2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glCompressedTexSubImage3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glGetCompressedTexImagePROC) (GLenum target, GLint lod, GLvoid *img); -typedef void (APIENTRY * glMultiTexCoord1dPROC) (GLenum target, GLdouble s); -typedef void (APIENTRY * glMultiTexCoord1dvPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRY * glMultiTexCoord1fPROC) (GLenum target, GLfloat s); -typedef void (APIENTRY * glMultiTexCoord1fvPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRY * glMultiTexCoord1iPROC) (GLenum target, GLint s); -typedef void (APIENTRY * glMultiTexCoord1ivPROC) (GLenum target, const GLint *v); -typedef void (APIENTRY * glMultiTexCoord1sPROC) (GLenum target, GLshort s); -typedef void (APIENTRY * glMultiTexCoord1svPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRY * glMultiTexCoord2dPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (APIENTRY * glMultiTexCoord2dvPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRY * glMultiTexCoord2fPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (APIENTRY * glMultiTexCoord2fvPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRY * glMultiTexCoord2iPROC) (GLenum target, GLint s, GLint t); -typedef void (APIENTRY * glMultiTexCoord2ivPROC) (GLenum target, const GLint *v); -typedef void (APIENTRY * glMultiTexCoord2sPROC) (GLenum target, GLshort s, GLshort t); -typedef void (APIENTRY * glMultiTexCoord2svPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRY * glMultiTexCoord3dPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (APIENTRY * glMultiTexCoord3dvPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRY * glMultiTexCoord3fPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (APIENTRY * glMultiTexCoord3fvPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRY * glMultiTexCoord3iPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (APIENTRY * glMultiTexCoord3ivPROC) (GLenum target, const GLint *v); -typedef void (APIENTRY * glMultiTexCoord3sPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (APIENTRY * glMultiTexCoord3svPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRY * glMultiTexCoord4dPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (APIENTRY * glMultiTexCoord4dvPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRY * glMultiTexCoord4fPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (APIENTRY * glMultiTexCoord4fvPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRY * glMultiTexCoord4iPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (APIENTRY * glMultiTexCoord4ivPROC) (GLenum target, const GLint *v); -typedef void (APIENTRY * glMultiTexCoord4sPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (APIENTRY * glMultiTexCoord4svPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRY * glLoadTransposeMatrixdPROC) (const GLdouble m[16]); -typedef void (APIENTRY * glLoadTransposeMatrixfPROC) (const GLfloat m[16]); -typedef void (APIENTRY * glMultTransposeMatrixdPROC) (const GLdouble m[16]); -typedef void (APIENTRY * glMultTransposeMatrixfPROC) (const GLfloat m[16]); -typedef void (APIENTRY * glSampleCoveragePROC) (GLclampf value, GLboolean invert); +typedef void (APIENTRY * PFNGLACTIVETEXTUREPROC) (GLenum texture); +typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLvoid *img); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble m[16]); +typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat m[16]); +typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble m[16]); +typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat m[16]); +typedef void (APIENTRY * PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); -extern GLEW_EXPORT glActiveTexturePROC glActiveTexture; -extern GLEW_EXPORT glClientActiveTexturePROC glClientActiveTexture; -extern GLEW_EXPORT glMultiTexCoord1dPROC glMultiTexCoord1d; -extern GLEW_EXPORT glMultiTexCoord1dvPROC glMultiTexCoord1dv; -extern GLEW_EXPORT glMultiTexCoord1fPROC glMultiTexCoord1f; -extern GLEW_EXPORT glMultiTexCoord1fvPROC glMultiTexCoord1fv; -extern GLEW_EXPORT glMultiTexCoord1iPROC glMultiTexCoord1i; -extern GLEW_EXPORT glMultiTexCoord1ivPROC glMultiTexCoord1iv; -extern GLEW_EXPORT glMultiTexCoord1sPROC glMultiTexCoord1s; -extern GLEW_EXPORT glMultiTexCoord1svPROC glMultiTexCoord1sv; -extern GLEW_EXPORT glMultiTexCoord2dPROC glMultiTexCoord2d; -extern GLEW_EXPORT glMultiTexCoord2dvPROC glMultiTexCoord2dv; -extern GLEW_EXPORT glMultiTexCoord2fPROC glMultiTexCoord2f; -extern GLEW_EXPORT glMultiTexCoord2fvPROC glMultiTexCoord2fv; -extern GLEW_EXPORT glMultiTexCoord2iPROC glMultiTexCoord2i; -extern GLEW_EXPORT glMultiTexCoord2ivPROC glMultiTexCoord2iv; -extern GLEW_EXPORT glMultiTexCoord2sPROC glMultiTexCoord2s; -extern GLEW_EXPORT glMultiTexCoord2svPROC glMultiTexCoord2sv; -extern GLEW_EXPORT glMultiTexCoord3dPROC glMultiTexCoord3d; -extern GLEW_EXPORT glMultiTexCoord3dvPROC glMultiTexCoord3dv; -extern GLEW_EXPORT glMultiTexCoord3fPROC glMultiTexCoord3f; -extern GLEW_EXPORT glMultiTexCoord3fvPROC glMultiTexCoord3fv; -extern GLEW_EXPORT glMultiTexCoord3iPROC glMultiTexCoord3i; -extern GLEW_EXPORT glMultiTexCoord3ivPROC glMultiTexCoord3iv; -extern GLEW_EXPORT glMultiTexCoord3sPROC glMultiTexCoord3s; -extern GLEW_EXPORT glMultiTexCoord3svPROC glMultiTexCoord3sv; -extern GLEW_EXPORT glMultiTexCoord4dPROC glMultiTexCoord4d; -extern GLEW_EXPORT glMultiTexCoord4dvPROC glMultiTexCoord4dv; -extern GLEW_EXPORT glMultiTexCoord4fPROC glMultiTexCoord4f; -extern GLEW_EXPORT glMultiTexCoord4fvPROC glMultiTexCoord4fv; -extern GLEW_EXPORT glMultiTexCoord4iPROC glMultiTexCoord4i; -extern GLEW_EXPORT glMultiTexCoord4ivPROC glMultiTexCoord4iv; -extern GLEW_EXPORT glMultiTexCoord4sPROC glMultiTexCoord4s; -extern GLEW_EXPORT glMultiTexCoord4svPROC glMultiTexCoord4sv; -extern GLEW_EXPORT glLoadTransposeMatrixfPROC glLoadTransposeMatrixf; -extern GLEW_EXPORT glLoadTransposeMatrixdPROC glLoadTransposeMatrixd; -extern GLEW_EXPORT glMultTransposeMatrixfPROC glMultTransposeMatrixf; -extern GLEW_EXPORT glMultTransposeMatrixdPROC glMultTransposeMatrixd; -extern GLEW_EXPORT glCompressedTexImage3DPROC glCompressedTexImage3D; -extern GLEW_EXPORT glCompressedTexImage2DPROC glCompressedTexImage2D; -extern GLEW_EXPORT glCompressedTexImage1DPROC glCompressedTexImage1D; -extern GLEW_EXPORT glCompressedTexSubImage3DPROC glCompressedTexSubImage3D; -extern GLEW_EXPORT glCompressedTexSubImage2DPROC glCompressedTexSubImage2D; -extern GLEW_EXPORT glCompressedTexSubImage1DPROC glCompressedTexSubImage1D; -extern GLEW_EXPORT glGetCompressedTexImagePROC glGetCompressedTexImage; -extern GLEW_EXPORT glSampleCoveragePROC glSampleCoverage; +extern GLEW_EXPORT PFNGLACTIVETEXTUREPROC glActiveTexture; +extern GLEW_EXPORT PFNGLCLIENTACTIVETEXTUREPROC glClientActiveTexture; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1DPROC glMultiTexCoord1d; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1DVPROC glMultiTexCoord1dv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1FPROC glMultiTexCoord1f; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1FVPROC glMultiTexCoord1fv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1IPROC glMultiTexCoord1i; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1IVPROC glMultiTexCoord1iv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1SPROC glMultiTexCoord1s; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1SVPROC glMultiTexCoord1sv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2DPROC glMultiTexCoord2d; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2DVPROC glMultiTexCoord2dv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2FPROC glMultiTexCoord2f; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2FVPROC glMultiTexCoord2fv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2IPROC glMultiTexCoord2i; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2IVPROC glMultiTexCoord2iv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2SPROC glMultiTexCoord2s; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2SVPROC glMultiTexCoord2sv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3DPROC glMultiTexCoord3d; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3DVPROC glMultiTexCoord3dv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3FPROC glMultiTexCoord3f; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3FVPROC glMultiTexCoord3fv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3IPROC glMultiTexCoord3i; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3IVPROC glMultiTexCoord3iv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3SPROC glMultiTexCoord3s; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3SVPROC glMultiTexCoord3sv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4DPROC glMultiTexCoord4d; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4DVPROC glMultiTexCoord4dv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4FPROC glMultiTexCoord4f; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4FVPROC glMultiTexCoord4fv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4IPROC glMultiTexCoord4i; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4IVPROC glMultiTexCoord4iv; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4SPROC glMultiTexCoord4s; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4SVPROC glMultiTexCoord4sv; +extern GLEW_EXPORT PFNGLLOADTRANSPOSEMATRIXFPROC glLoadTransposeMatrixf; +extern GLEW_EXPORT PFNGLLOADTRANSPOSEMATRIXDPROC glLoadTransposeMatrixd; +extern GLEW_EXPORT PFNGLMULTTRANSPOSEMATRIXFPROC glMultTransposeMatrixf; +extern GLEW_EXPORT PFNGLMULTTRANSPOSEMATRIXDPROC glMultTransposeMatrixd; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE1DPROC glCompressedTexImage1D; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glCompressedTexSubImage1D; +extern GLEW_EXPORT PFNGLGETCOMPRESSEDTEXIMAGEPROC glGetCompressedTexImage; +extern GLEW_EXPORT PFNGLSAMPLECOVERAGEPROC glSampleCoverage; #endif /* GL_VERSION_1_3 */ @@ -1496,100 +1497,100 @@ extern GLEW_EXPORT glSampleCoveragePROC glSampleCoverage; #define GL_MIRRORED_REPEAT 0x8370 #ifndef GL_ARB_imaging -typedef void (APIENTRY * glBlendEquationPROC) (GLenum mode); -typedef void (APIENTRY * glBlendColorPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +typedef void (APIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode); +typedef void (APIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); #endif /* GL_ARB_imaging */ -typedef void (APIENTRY * glFogCoordfPROC) (GLfloat coord); -typedef void (APIENTRY * glFogCoordfvPROC) (const GLfloat *coord); -typedef void (APIENTRY * glFogCoorddPROC) (GLdouble coord); -typedef void (APIENTRY * glFogCoorddvPROC) (const GLdouble *coord); -typedef void (APIENTRY * glFogCoordPointerPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRY * glMultiDrawArraysPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); -typedef void (APIENTRY * glMultiDrawElementsPROC) (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount); -typedef void (APIENTRY * glPointParameterfPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRY * glPointParameterfvPROC) (GLenum pname, GLfloat *params); -typedef void (APIENTRY * glSecondaryColor3bPROC) (GLbyte red, GLbyte green, GLbyte blue); -typedef void (APIENTRY * glSecondaryColor3bvPROC) (const GLbyte *v); -typedef void (APIENTRY * glSecondaryColor3dPROC) (GLdouble red, GLdouble green, GLdouble blue); -typedef void (APIENTRY * glSecondaryColor3dvPROC) (const GLdouble *v); -typedef void (APIENTRY * glSecondaryColor3fPROC) (GLfloat red, GLfloat green, GLfloat blue); -typedef void (APIENTRY * glSecondaryColor3fvPROC) (const GLfloat *v); -typedef void (APIENTRY * glSecondaryColor3iPROC) (GLint red, GLint green, GLint blue); -typedef void (APIENTRY * glSecondaryColor3ivPROC) (const GLint *v); -typedef void (APIENTRY * glSecondaryColor3sPROC) (GLshort red, GLshort green, GLshort blue); -typedef void (APIENTRY * glSecondaryColor3svPROC) (const GLshort *v); -typedef void (APIENTRY * glSecondaryColor3ubPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (APIENTRY * glSecondaryColor3ubvPROC) (const GLubyte *v); -typedef void (APIENTRY * glSecondaryColor3uiPROC) (GLuint red, GLuint green, GLuint blue); -typedef void (APIENTRY * glSecondaryColor3uivPROC) (const GLuint *v); -typedef void (APIENTRY * glSecondaryColor3usPROC) (GLushort red, GLushort green, GLushort blue); -typedef void (APIENTRY * glSecondaryColor3usvPROC) (const GLushort *v); -typedef void (APIENTRY * glSecondaryColorPointerPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); -typedef void (APIENTRY * glBlendFuncSeparatePROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -typedef void (APIENTRY * glWindowPos2dPROC) (GLdouble x, GLdouble y); -typedef void (APIENTRY * glWindowPos2fPROC) (GLfloat x, GLfloat y); -typedef void (APIENTRY * glWindowPos2iPROC) (GLint x, GLint y); -typedef void (APIENTRY * glWindowPos2sPROC) (GLshort x, GLshort y); -typedef void (APIENTRY * glWindowPos2dvPROC) (const GLdouble *p); -typedef void (APIENTRY * glWindowPos2fvPROC) (const GLfloat *p); -typedef void (APIENTRY * glWindowPos2ivPROC) (const GLint *p); -typedef void (APIENTRY * glWindowPos2svPROC) (const GLshort *p); -typedef void (APIENTRY * glWindowPos3dPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRY * glWindowPos3fPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRY * glWindowPos3iPROC) (GLint x, GLint y, GLint z); -typedef void (APIENTRY * glWindowPos3sPROC) (GLshort x, GLshort y, GLshort z); -typedef void (APIENTRY * glWindowPos3dvPROC) (const GLdouble *p); -typedef void (APIENTRY * glWindowPos3fvPROC) (const GLfloat *p); -typedef void (APIENTRY * glWindowPos3ivPROC) (const GLint *p); -typedef void (APIENTRY * glWindowPos3svPROC) (const GLshort *p); +typedef void (APIENTRY * PFNGLFOGCOORDFPROC) (GLfloat coord); +typedef void (APIENTRY * PFNGLFOGCOORDFVPROC) (const GLfloat *coord); +typedef void (APIENTRY * PFNGLFOGCOORDDPROC) (GLdouble coord); +typedef void (APIENTRY * PFNGLFOGCOORDDVPROC) (const GLdouble *coord); +typedef void (APIENTRY * PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); +typedef void (APIENTRY * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount); +typedef void (APIENTRY * PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLPOINTPARAMETERFVPROC) (GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); +typedef void (APIENTRY * PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +typedef void (APIENTRY * PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y); +typedef void (APIENTRY * PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y); +typedef void (APIENTRY * PFNGLWINDOWPOS2IPROC) (GLint x, GLint y); +typedef void (APIENTRY * PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y); +typedef void (APIENTRY * PFNGLWINDOWPOS2DVPROC) (const GLdouble *p); +typedef void (APIENTRY * PFNGLWINDOWPOS2FVPROC) (const GLfloat *p); +typedef void (APIENTRY * PFNGLWINDOWPOS2IVPROC) (const GLint *p); +typedef void (APIENTRY * PFNGLWINDOWPOS2SVPROC) (const GLshort *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRY * PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z); +typedef void (APIENTRY * PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z); +typedef void (APIENTRY * PFNGLWINDOWPOS3DVPROC) (const GLdouble *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3FVPROC) (const GLfloat *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3IVPROC) (const GLint *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3SVPROC) (const GLshort *p); #ifndef GL_ARB_imaging -extern GLEW_EXPORT glBlendColorPROC glBlendColor; -extern GLEW_EXPORT glBlendEquationPROC glBlendEquation; +extern GLEW_EXPORT PFNGLBLENDCOLORPROC glBlendColor; +extern GLEW_EXPORT PFNGLBLENDEQUATIONPROC glBlendEquation; #endif /* GL_ARB_imaging */ -extern GLEW_EXPORT glFogCoordfPROC glFogCoordf; -extern GLEW_EXPORT glFogCoordfvPROC glFogCoordfv; -extern GLEW_EXPORT glFogCoorddPROC glFogCoordd; -extern GLEW_EXPORT glFogCoorddvPROC glFogCoorddv; -extern GLEW_EXPORT glFogCoordPointerPROC glFogCoordPointer; -extern GLEW_EXPORT glMultiDrawArraysPROC glMultiDrawArrays; -extern GLEW_EXPORT glMultiDrawElementsPROC glMultiDrawElements; -extern GLEW_EXPORT glPointParameterfPROC glPointParameterf; -extern GLEW_EXPORT glPointParameterfvPROC glPointParameterfv; -extern GLEW_EXPORT glSecondaryColor3bPROC glSecondaryColor3b; -extern GLEW_EXPORT glSecondaryColor3bvPROC glSecondaryColor3bv; -extern GLEW_EXPORT glSecondaryColor3dPROC glSecondaryColor3d; -extern GLEW_EXPORT glSecondaryColor3dvPROC glSecondaryColor3dv; -extern GLEW_EXPORT glSecondaryColor3fPROC glSecondaryColor3f; -extern GLEW_EXPORT glSecondaryColor3fvPROC glSecondaryColor3fv; -extern GLEW_EXPORT glSecondaryColor3iPROC glSecondaryColor3i; -extern GLEW_EXPORT glSecondaryColor3ivPROC glSecondaryColor3iv; -extern GLEW_EXPORT glSecondaryColor3sPROC glSecondaryColor3s; -extern GLEW_EXPORT glSecondaryColor3svPROC glSecondaryColor3sv; -extern GLEW_EXPORT glSecondaryColor3ubPROC glSecondaryColor3ub; -extern GLEW_EXPORT glSecondaryColor3ubvPROC glSecondaryColor3ubv; -extern GLEW_EXPORT glSecondaryColor3uiPROC glSecondaryColor3ui; -extern GLEW_EXPORT glSecondaryColor3uivPROC glSecondaryColor3uiv; -extern GLEW_EXPORT glSecondaryColor3usPROC glSecondaryColor3us; -extern GLEW_EXPORT glSecondaryColor3usvPROC glSecondaryColor3usv; -extern GLEW_EXPORT glSecondaryColorPointerPROC glSecondaryColorPointer; -extern GLEW_EXPORT glBlendFuncSeparatePROC glBlendFuncSeparate; -extern GLEW_EXPORT glWindowPos2dPROC glWindowPos2d; -extern GLEW_EXPORT glWindowPos2fPROC glWindowPos2f; -extern GLEW_EXPORT glWindowPos2iPROC glWindowPos2i; -extern GLEW_EXPORT glWindowPos2sPROC glWindowPos2s; -extern GLEW_EXPORT glWindowPos2dvPROC glWindowPos2dv; -extern GLEW_EXPORT glWindowPos2fvPROC glWindowPos2fv; -extern GLEW_EXPORT glWindowPos2ivPROC glWindowPos2iv; -extern GLEW_EXPORT glWindowPos2svPROC glWindowPos2sv; -extern GLEW_EXPORT glWindowPos3dPROC glWindowPos3d; -extern GLEW_EXPORT glWindowPos3fPROC glWindowPos3f; -extern GLEW_EXPORT glWindowPos3iPROC glWindowPos3i; -extern GLEW_EXPORT glWindowPos3sPROC glWindowPos3s; -extern GLEW_EXPORT glWindowPos3dvPROC glWindowPos3dv; -extern GLEW_EXPORT glWindowPos3fvPROC glWindowPos3fv; -extern GLEW_EXPORT glWindowPos3ivPROC glWindowPos3iv; -extern GLEW_EXPORT glWindowPos3svPROC glWindowPos3sv; +extern GLEW_EXPORT PFNGLFOGCOORDFPROC glFogCoordf; +extern GLEW_EXPORT PFNGLFOGCOORDFVPROC glFogCoordfv; +extern GLEW_EXPORT PFNGLFOGCOORDDPROC glFogCoordd; +extern GLEW_EXPORT PFNGLFOGCOORDDVPROC glFogCoorddv; +extern GLEW_EXPORT PFNGLFOGCOORDPOINTERPROC glFogCoordPointer; +extern GLEW_EXPORT PFNGLMULTIDRAWARRAYSPROC glMultiDrawArrays; +extern GLEW_EXPORT PFNGLMULTIDRAWELEMENTSPROC glMultiDrawElements; +extern GLEW_EXPORT PFNGLPOINTPARAMETERFPROC glPointParameterf; +extern GLEW_EXPORT PFNGLPOINTPARAMETERFVPROC glPointParameterfv; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3BPROC glSecondaryColor3b; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3BVPROC glSecondaryColor3bv; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3DPROC glSecondaryColor3d; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3DVPROC glSecondaryColor3dv; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3FPROC glSecondaryColor3f; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3FVPROC glSecondaryColor3fv; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3IPROC glSecondaryColor3i; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3IVPROC glSecondaryColor3iv; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3SPROC glSecondaryColor3s; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3SVPROC glSecondaryColor3sv; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UBPROC glSecondaryColor3ub; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UBVPROC glSecondaryColor3ubv; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UIPROC glSecondaryColor3ui; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UIVPROC glSecondaryColor3uiv; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3USPROC glSecondaryColor3us; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3USVPROC glSecondaryColor3usv; +extern GLEW_EXPORT PFNGLSECONDARYCOLORPOINTERPROC glSecondaryColorPointer; +extern GLEW_EXPORT PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +extern GLEW_EXPORT PFNGLWINDOWPOS2DPROC glWindowPos2d; +extern GLEW_EXPORT PFNGLWINDOWPOS2FPROC glWindowPos2f; +extern GLEW_EXPORT PFNGLWINDOWPOS2IPROC glWindowPos2i; +extern GLEW_EXPORT PFNGLWINDOWPOS2SPROC glWindowPos2s; +extern GLEW_EXPORT PFNGLWINDOWPOS2DVPROC glWindowPos2dv; +extern GLEW_EXPORT PFNGLWINDOWPOS2FVPROC glWindowPos2fv; +extern GLEW_EXPORT PFNGLWINDOWPOS2IVPROC glWindowPos2iv; +extern GLEW_EXPORT PFNGLWINDOWPOS2SVPROC glWindowPos2sv; +extern GLEW_EXPORT PFNGLWINDOWPOS3DPROC glWindowPos3d; +extern GLEW_EXPORT PFNGLWINDOWPOS3FPROC glWindowPos3f; +extern GLEW_EXPORT PFNGLWINDOWPOS3IPROC glWindowPos3i; +extern GLEW_EXPORT PFNGLWINDOWPOS3SPROC glWindowPos3s; +extern GLEW_EXPORT PFNGLWINDOWPOS3DVPROC glWindowPos3dv; +extern GLEW_EXPORT PFNGLWINDOWPOS3FVPROC glWindowPos3fv; +extern GLEW_EXPORT PFNGLWINDOWPOS3IVPROC glWindowPos3iv; +extern GLEW_EXPORT PFNGLWINDOWPOS3SVPROC glWindowPos3sv; #endif /* GL_VERSION_1_4 */ @@ -1709,75 +1710,75 @@ extern GLEW_EXPORT glWindowPos3svPROC glWindowPos3sv; #define GL_REPLICATE_BORDER 0x8153 #define GL_CONVOLUTION_BORDER_COLOR 0x8154 -typedef void (APIENTRY * glColorTablePROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); -typedef void (APIENTRY * glColorSubTablePROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); -typedef void (APIENTRY * glColorTableParameterivPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRY * glColorTableParameterfvPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRY * glCopyColorSubTablePROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -typedef void (APIENTRY * glCopyColorTablePROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRY * glGetColorTablePROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); -typedef void (APIENTRY * glGetColorTableParameterfvPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetColorTableParameterivPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRY * glBlendEquationPROC) (GLenum mode); -typedef void (APIENTRY * glBlendColorPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -typedef void (APIENTRY * glHistogramPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -typedef void (APIENTRY * glResetHistogramPROC) (GLenum target); -typedef void (APIENTRY * glGetHistogramPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (APIENTRY * glGetHistogramParameterfvPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetHistogramParameterivPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRY * glMinmaxPROC) (GLenum target, GLenum internalformat, GLboolean sink); -typedef void (APIENTRY * glResetMinmaxPROC) (GLenum target); -typedef void (APIENTRY * glGetMinmaxPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values); -typedef void (APIENTRY * glGetMinmaxParameterfvPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetMinmaxParameterivPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRY * glConvolutionFilter1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRY * glConvolutionFilter2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRY * glConvolutionParameterfPROC) (GLenum target, GLenum pname, GLfloat params); -typedef void (APIENTRY * glConvolutionParameterfvPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRY * glConvolutionParameteriPROC) (GLenum target, GLenum pname, GLint params); -typedef void (APIENTRY * glConvolutionParameterivPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRY * glCopyConvolutionFilter1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRY * glCopyConvolutionFilter2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRY * glGetConvolutionFilterPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); -typedef void (APIENTRY * glGetConvolutionParameterfvPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetConvolutionParameterivPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRY * glSeparableFilter2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); -typedef void (APIENTRY * glGetSeparableFilterPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); +typedef void (APIENTRY * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); +typedef void (APIENTRY * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); +typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); +typedef void (APIENTRY * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRY * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); +typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode); +typedef void (APIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +typedef void (APIENTRY * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); +typedef void (APIENTRY * PFNGLRESETHISTOGRAMPROC) (GLenum target); +typedef void (APIENTRY * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); +typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); +typedef void (APIENTRY * PFNGLRESETMINMAXPROC) (GLenum target); +typedef void (APIENTRY * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values); +typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); +typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); +typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); +typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); +typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); +typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); +typedef void (APIENTRY * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); -extern GLEW_EXPORT glBlendColorPROC glBlendColor; -extern GLEW_EXPORT glBlendEquationPROC glBlendEquation; -extern GLEW_EXPORT glColorTablePROC glColorTable; -extern GLEW_EXPORT glColorTableParameterfvPROC glColorTableParameterfv; -extern GLEW_EXPORT glColorTableParameterivPROC glColorTableParameteriv; -extern GLEW_EXPORT glCopyColorTablePROC glCopyColorTable; -extern GLEW_EXPORT glGetColorTablePROC glGetColorTable; -extern GLEW_EXPORT glGetColorTableParameterfvPROC glGetColorTableParameterfv; -extern GLEW_EXPORT glGetColorTableParameterivPROC glGetColorTableParameteriv; -extern GLEW_EXPORT glColorSubTablePROC glColorSubTable; -extern GLEW_EXPORT glCopyColorSubTablePROC glCopyColorSubTable; -extern GLEW_EXPORT glConvolutionFilter1DPROC glConvolutionFilter1D; -extern GLEW_EXPORT glConvolutionFilter2DPROC glConvolutionFilter2D; -extern GLEW_EXPORT glConvolutionParameterfPROC glConvolutionParameterf; -extern GLEW_EXPORT glConvolutionParameterfvPROC glConvolutionParameterfv; -extern GLEW_EXPORT glConvolutionParameteriPROC glConvolutionParameteri; -extern GLEW_EXPORT glConvolutionParameterivPROC glConvolutionParameteriv; -extern GLEW_EXPORT glCopyConvolutionFilter1DPROC glCopyConvolutionFilter1D; -extern GLEW_EXPORT glCopyConvolutionFilter2DPROC glCopyConvolutionFilter2D; -extern GLEW_EXPORT glGetConvolutionFilterPROC glGetConvolutionFilter; -extern GLEW_EXPORT glGetConvolutionParameterfvPROC glGetConvolutionParameterfv; -extern GLEW_EXPORT glGetConvolutionParameterivPROC glGetConvolutionParameteriv; -extern GLEW_EXPORT glGetSeparableFilterPROC glGetSeparableFilter; -extern GLEW_EXPORT glSeparableFilter2DPROC glSeparableFilter2D; -extern GLEW_EXPORT glGetHistogramPROC glGetHistogram; -extern GLEW_EXPORT glGetHistogramParameterfvPROC glGetHistogramParameterfv; -extern GLEW_EXPORT glGetHistogramParameterivPROC glGetHistogramParameteriv; -extern GLEW_EXPORT glGetMinmaxPROC glGetMinmax; -extern GLEW_EXPORT glGetMinmaxParameterfvPROC glGetMinmaxParameterfv; -extern GLEW_EXPORT glGetMinmaxParameterivPROC glGetMinmaxParameteriv; -extern GLEW_EXPORT glHistogramPROC glHistogram; -extern GLEW_EXPORT glMinmaxPROC glMinmax; -extern GLEW_EXPORT glResetHistogramPROC glResetHistogram; -extern GLEW_EXPORT glResetMinmaxPROC glResetMinmax; +extern GLEW_EXPORT PFNGLBLENDCOLORPROC glBlendColor; +extern GLEW_EXPORT PFNGLBLENDEQUATIONPROC glBlendEquation; +extern GLEW_EXPORT PFNGLCOLORTABLEPROC glColorTable; +extern GLEW_EXPORT PFNGLCOLORTABLEPARAMETERFVPROC glColorTableParameterfv; +extern GLEW_EXPORT PFNGLCOLORTABLEPARAMETERIVPROC glColorTableParameteriv; +extern GLEW_EXPORT PFNGLCOPYCOLORTABLEPROC glCopyColorTable; +extern GLEW_EXPORT PFNGLGETCOLORTABLEPROC glGetColorTable; +extern GLEW_EXPORT PFNGLGETCOLORTABLEPARAMETERFVPROC glGetColorTableParameterfv; +extern GLEW_EXPORT PFNGLGETCOLORTABLEPARAMETERIVPROC glGetColorTableParameteriv; +extern GLEW_EXPORT PFNGLCOLORSUBTABLEPROC glColorSubTable; +extern GLEW_EXPORT PFNGLCOPYCOLORSUBTABLEPROC glCopyColorSubTable; +extern GLEW_EXPORT PFNGLCONVOLUTIONFILTER1DPROC glConvolutionFilter1D; +extern GLEW_EXPORT PFNGLCONVOLUTIONFILTER2DPROC glConvolutionFilter2D; +extern GLEW_EXPORT PFNGLCONVOLUTIONPARAMETERFPROC glConvolutionParameterf; +extern GLEW_EXPORT PFNGLCONVOLUTIONPARAMETERFVPROC glConvolutionParameterfv; +extern GLEW_EXPORT PFNGLCONVOLUTIONPARAMETERIPROC glConvolutionParameteri; +extern GLEW_EXPORT PFNGLCONVOLUTIONPARAMETERIVPROC glConvolutionParameteriv; +extern GLEW_EXPORT PFNGLCOPYCONVOLUTIONFILTER1DPROC glCopyConvolutionFilter1D; +extern GLEW_EXPORT PFNGLCOPYCONVOLUTIONFILTER2DPROC glCopyConvolutionFilter2D; +extern GLEW_EXPORT PFNGLGETCONVOLUTIONFILTERPROC glGetConvolutionFilter; +extern GLEW_EXPORT PFNGLGETCONVOLUTIONPARAMETERFVPROC glGetConvolutionParameterfv; +extern GLEW_EXPORT PFNGLGETCONVOLUTIONPARAMETERIVPROC glGetConvolutionParameteriv; +extern GLEW_EXPORT PFNGLGETSEPARABLEFILTERPROC glGetSeparableFilter; +extern GLEW_EXPORT PFNGLSEPARABLEFILTER2DPROC glSeparableFilter2D; +extern GLEW_EXPORT PFNGLGETHISTOGRAMPROC glGetHistogram; +extern GLEW_EXPORT PFNGLGETHISTOGRAMPARAMETERFVPROC glGetHistogramParameterfv; +extern GLEW_EXPORT PFNGLGETHISTOGRAMPARAMETERIVPROC glGetHistogramParameteriv; +extern GLEW_EXPORT PFNGLGETMINMAXPROC glGetMinmax; +extern GLEW_EXPORT PFNGLGETMINMAXPARAMETERFVPROC glGetMinmaxParameterfv; +extern GLEW_EXPORT PFNGLGETMINMAXPARAMETERIVPROC glGetMinmaxParameteriv; +extern GLEW_EXPORT PFNGLHISTOGRAMPROC glHistogram; +extern GLEW_EXPORT PFNGLMINMAXPROC glMinmax; +extern GLEW_EXPORT PFNGLRESETHISTOGRAMPROC glResetHistogram; +extern GLEW_EXPORT PFNGLRESETMINMAXPROC glResetMinmax; #endif /* GL_ARB_imaging */ @@ -1796,17 +1797,17 @@ extern GLEW_EXPORT glResetMinmaxPROC glResetMinmax; #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 -typedef void (APIENTRY * glCurrentPaletteMatrixARBPROC) (GLint index); -typedef void (APIENTRY * glMatrixIndexubvARBPROC) (GLint size, GLubyte *indices); -typedef void (APIENTRY * glMatrixIndexusvARBPROC) (GLint size, GLushort *indices); -typedef void (APIENTRY * glMatrixIndexuivARBPROC) (GLint size, GLuint *indices); -typedef void (APIENTRY * glMatrixIndexPointerARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); +typedef void (APIENTRY * PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index); +typedef void (APIENTRY * PFNGLMATRIXINDEXUBVARBPROC) (GLint size, GLubyte *indices); +typedef void (APIENTRY * PFNGLMATRIXINDEXUSVARBPROC) (GLint size, GLushort *indices); +typedef void (APIENTRY * PFNGLMATRIXINDEXUIVARBPROC) (GLint size, GLuint *indices); +typedef void (APIENTRY * PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); -extern GLEW_EXPORT glCurrentPaletteMatrixARBPROC glCurrentPaletteMatrixARB; -extern GLEW_EXPORT glMatrixIndexubvARBPROC glMatrixIndexubvARB; -extern GLEW_EXPORT glMatrixIndexusvARBPROC glMatrixIndexusvARB; -extern GLEW_EXPORT glMatrixIndexuivARBPROC glMatrixIndexuivARB; -extern GLEW_EXPORT glMatrixIndexPointerARBPROC glMatrixIndexPointerARB; +extern GLEW_EXPORT PFNGLCURRENTPALETTEMATRIXARBPROC glCurrentPaletteMatrixARB; +extern GLEW_EXPORT PFNGLMATRIXINDEXUBVARBPROC glMatrixIndexubvARB; +extern GLEW_EXPORT PFNGLMATRIXINDEXUSVARBPROC glMatrixIndexusvARB; +extern GLEW_EXPORT PFNGLMATRIXINDEXUIVARBPROC glMatrixIndexuivARB; +extern GLEW_EXPORT PFNGLMATRIXINDEXPOINTERARBPROC glMatrixIndexPointerARB; #endif /* GL_ARB_matrix_palette */ @@ -1824,9 +1825,9 @@ extern GLEW_EXPORT glMatrixIndexPointerARBPROC glMatrixIndexPointerARB; #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB #define GL_MULTISAMPLE_BIT_ARB 0x20000000 -typedef void (APIENTRY * glSampleCoverageARBPROC) (GLclampf value, GLboolean invert); +typedef void (APIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert); -extern GLEW_EXPORT glSampleCoverageARBPROC glSampleCoverageARB; +extern GLEW_EXPORT PFNGLSAMPLECOVERAGEARBPROC glSampleCoverageARB; #endif /* GL_ARB_multisample */ @@ -1870,75 +1871,75 @@ extern GLEW_EXPORT glSampleCoverageARBPROC glSampleCoverageARB; #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 -typedef void (APIENTRY * glActiveTextureARBPROC) (GLenum texture); -typedef void (APIENTRY * glClientActiveTextureARBPROC) (GLenum texture); -typedef void (APIENTRY * glMultiTexCoord1dARBPROC) (GLenum target, GLdouble s); -typedef void (APIENTRY * glMultiTexCoord1dvARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRY * glMultiTexCoord1fARBPROC) (GLenum target, GLfloat s); -typedef void (APIENTRY * glMultiTexCoord1fvARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRY * glMultiTexCoord1iARBPROC) (GLenum target, GLint s); -typedef void (APIENTRY * glMultiTexCoord1ivARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRY * glMultiTexCoord1sARBPROC) (GLenum target, GLshort s); -typedef void (APIENTRY * glMultiTexCoord1svARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRY * glMultiTexCoord2dARBPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (APIENTRY * glMultiTexCoord2dvARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRY * glMultiTexCoord2fARBPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (APIENTRY * glMultiTexCoord2fvARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRY * glMultiTexCoord2iARBPROC) (GLenum target, GLint s, GLint t); -typedef void (APIENTRY * glMultiTexCoord2ivARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRY * glMultiTexCoord2sARBPROC) (GLenum target, GLshort s, GLshort t); -typedef void (APIENTRY * glMultiTexCoord2svARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRY * glMultiTexCoord3dARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (APIENTRY * glMultiTexCoord3dvARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRY * glMultiTexCoord3fARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (APIENTRY * glMultiTexCoord3fvARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRY * glMultiTexCoord3iARBPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (APIENTRY * glMultiTexCoord3ivARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRY * glMultiTexCoord3sARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (APIENTRY * glMultiTexCoord3svARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRY * glMultiTexCoord4dARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (APIENTRY * glMultiTexCoord4dvARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRY * glMultiTexCoord4fARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (APIENTRY * glMultiTexCoord4fvARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRY * glMultiTexCoord4iARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (APIENTRY * glMultiTexCoord4ivARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRY * glMultiTexCoord4sARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (APIENTRY * glMultiTexCoord4svARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture); +typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); -extern GLEW_EXPORT glActiveTextureARBPROC glActiveTextureARB; -extern GLEW_EXPORT glClientActiveTextureARBPROC glClientActiveTextureARB; -extern GLEW_EXPORT glMultiTexCoord1dARBPROC glMultiTexCoord1dARB; -extern GLEW_EXPORT glMultiTexCoord1dvARBPROC glMultiTexCoord1dvARB; -extern GLEW_EXPORT glMultiTexCoord1fARBPROC glMultiTexCoord1fARB; -extern GLEW_EXPORT glMultiTexCoord1fvARBPROC glMultiTexCoord1fvARB; -extern GLEW_EXPORT glMultiTexCoord1iARBPROC glMultiTexCoord1iARB; -extern GLEW_EXPORT glMultiTexCoord1ivARBPROC glMultiTexCoord1ivARB; -extern GLEW_EXPORT glMultiTexCoord1sARBPROC glMultiTexCoord1sARB; -extern GLEW_EXPORT glMultiTexCoord1svARBPROC glMultiTexCoord1svARB; -extern GLEW_EXPORT glMultiTexCoord2dARBPROC glMultiTexCoord2dARB; -extern GLEW_EXPORT glMultiTexCoord2dvARBPROC glMultiTexCoord2dvARB; -extern GLEW_EXPORT glMultiTexCoord2fARBPROC glMultiTexCoord2fARB; -extern GLEW_EXPORT glMultiTexCoord2fvARBPROC glMultiTexCoord2fvARB; -extern GLEW_EXPORT glMultiTexCoord2iARBPROC glMultiTexCoord2iARB; -extern GLEW_EXPORT glMultiTexCoord2ivARBPROC glMultiTexCoord2ivARB; -extern GLEW_EXPORT glMultiTexCoord2sARBPROC glMultiTexCoord2sARB; -extern GLEW_EXPORT glMultiTexCoord2svARBPROC glMultiTexCoord2svARB; -extern GLEW_EXPORT glMultiTexCoord3dARBPROC glMultiTexCoord3dARB; -extern GLEW_EXPORT glMultiTexCoord3dvARBPROC glMultiTexCoord3dvARB; -extern GLEW_EXPORT glMultiTexCoord3fARBPROC glMultiTexCoord3fARB; -extern GLEW_EXPORT glMultiTexCoord3fvARBPROC glMultiTexCoord3fvARB; -extern GLEW_EXPORT glMultiTexCoord3iARBPROC glMultiTexCoord3iARB; -extern GLEW_EXPORT glMultiTexCoord3ivARBPROC glMultiTexCoord3ivARB; -extern GLEW_EXPORT glMultiTexCoord3sARBPROC glMultiTexCoord3sARB; -extern GLEW_EXPORT glMultiTexCoord3svARBPROC glMultiTexCoord3svARB; -extern GLEW_EXPORT glMultiTexCoord4dARBPROC glMultiTexCoord4dARB; -extern GLEW_EXPORT glMultiTexCoord4dvARBPROC glMultiTexCoord4dvARB; -extern GLEW_EXPORT glMultiTexCoord4fARBPROC glMultiTexCoord4fARB; -extern GLEW_EXPORT glMultiTexCoord4fvARBPROC glMultiTexCoord4fvARB; -extern GLEW_EXPORT glMultiTexCoord4iARBPROC glMultiTexCoord4iARB; -extern GLEW_EXPORT glMultiTexCoord4ivARBPROC glMultiTexCoord4ivARB; -extern GLEW_EXPORT glMultiTexCoord4sARBPROC glMultiTexCoord4sARB; -extern GLEW_EXPORT glMultiTexCoord4svARBPROC glMultiTexCoord4svARB; +extern GLEW_EXPORT PFNGLACTIVETEXTUREARBPROC glActiveTextureARB; +extern GLEW_EXPORT PFNGLCLIENTACTIVETEXTUREARBPROC glClientActiveTextureARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1DARBPROC glMultiTexCoord1dARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1DVARBPROC glMultiTexCoord1dvARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1FARBPROC glMultiTexCoord1fARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1FVARBPROC glMultiTexCoord1fvARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1IARBPROC glMultiTexCoord1iARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1IVARBPROC glMultiTexCoord1ivARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1SARBPROC glMultiTexCoord1sARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD1SVARBPROC glMultiTexCoord1svARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2DARBPROC glMultiTexCoord2dARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2DVARBPROC glMultiTexCoord2dvARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2FVARBPROC glMultiTexCoord2fvARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2IARBPROC glMultiTexCoord2iARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2IVARBPROC glMultiTexCoord2ivARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2SARBPROC glMultiTexCoord2sARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD2SVARBPROC glMultiTexCoord2svARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3DARBPROC glMultiTexCoord3dARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3DVARBPROC glMultiTexCoord3dvARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3FARBPROC glMultiTexCoord3fARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3FVARBPROC glMultiTexCoord3fvARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3IARBPROC glMultiTexCoord3iARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3IVARBPROC glMultiTexCoord3ivARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3SARBPROC glMultiTexCoord3sARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD3SVARBPROC glMultiTexCoord3svARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4DARBPROC glMultiTexCoord4dARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4DVARBPROC glMultiTexCoord4dvARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4FARBPROC glMultiTexCoord4fARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4FVARBPROC glMultiTexCoord4fvARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4IARBPROC glMultiTexCoord4iARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4IVARBPROC glMultiTexCoord4ivARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4SARBPROC glMultiTexCoord4sARB; +extern GLEW_EXPORT PFNGLMULTITEXCOORD4SVARBPROC glMultiTexCoord4svARB; #endif /* GL_ARB_multitexture */ @@ -1951,11 +1952,11 @@ extern GLEW_EXPORT glMultiTexCoord4svARBPROC glMultiTexCoord4svARB; #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 -typedef void (APIENTRY * glPointParameterfARBPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRY * glPointParameterfvARBPROC) (GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, GLfloat *params); -extern GLEW_EXPORT glPointParameterfARBPROC glPointParameterfARB; -extern GLEW_EXPORT glPointParameterfvARBPROC glPointParameterfvARB; +extern GLEW_EXPORT PFNGLPOINTPARAMETERFARBPROC glPointParameterfARB; +extern GLEW_EXPORT PFNGLPOINTPARAMETERFVARBPROC glPointParameterfvARB; #endif /* GL_ARB_point_parameters */ @@ -2001,21 +2002,21 @@ extern GLEW_EXPORT glPointParameterfvARBPROC glPointParameterfvARB; #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 -typedef void (APIENTRY * glCompressedTexImage1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glCompressedTexImage2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glCompressedTexImage3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glCompressedTexSubImage1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glCompressedTexSubImage2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glCompressedTexSubImage3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRY * glGetCompressedTexImageARBPROC) (GLenum target, GLint lod, GLvoid *img); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLvoid *img); -extern GLEW_EXPORT glCompressedTexImage3DARBPROC glCompressedTexImage3DARB; -extern GLEW_EXPORT glCompressedTexImage2DARBPROC glCompressedTexImage2DARB; -extern GLEW_EXPORT glCompressedTexImage1DARBPROC glCompressedTexImage1DARB; -extern GLEW_EXPORT glCompressedTexSubImage3DARBPROC glCompressedTexSubImage3DARB; -extern GLEW_EXPORT glCompressedTexSubImage2DARBPROC glCompressedTexSubImage2DARB; -extern GLEW_EXPORT glCompressedTexSubImage1DARBPROC glCompressedTexSubImage1DARB; -extern GLEW_EXPORT glGetCompressedTexImageARBPROC glGetCompressedTexImageARB; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE3DARBPROC glCompressedTexImage3DARB; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE2DARBPROC glCompressedTexImage2DARB; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXIMAGE1DARBPROC glCompressedTexImage1DARB; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC glCompressedTexSubImage3DARB; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC glCompressedTexSubImage2DARB; +extern GLEW_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC glCompressedTexSubImage1DARB; +extern GLEW_EXPORT PFNGLGETCOMPRESSEDTEXIMAGEARBPROC glGetCompressedTexImageARB; #endif /* GL_ARB_texture_compression */ @@ -2096,15 +2097,15 @@ extern GLEW_EXPORT glGetCompressedTexImageARBPROC glGetCompressedTexImageARB; #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 -typedef void (APIENTRY * glLoadTransposeMatrixdARBPROC) (const GLdouble m[16]); -typedef void (APIENTRY * glLoadTransposeMatrixfARBPROC) (const GLfloat m[16]); -typedef void (APIENTRY * glMultTransposeMatrixdARBPROC) (const GLdouble m[16]); -typedef void (APIENTRY * glMultTransposeMatrixfARBPROC) (const GLfloat m[16]); +typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble m[16]); +typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat m[16]); +typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble m[16]); +typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat m[16]); -extern GLEW_EXPORT glLoadTransposeMatrixfARBPROC glLoadTransposeMatrixfARB; -extern GLEW_EXPORT glLoadTransposeMatrixdARBPROC glLoadTransposeMatrixdARB; -extern GLEW_EXPORT glMultTransposeMatrixfARBPROC glMultTransposeMatrixfARB; -extern GLEW_EXPORT glMultTransposeMatrixdARBPROC glMultTransposeMatrixdARB; +extern GLEW_EXPORT PFNGLLOADTRANSPOSEMATRIXFARBPROC glLoadTransposeMatrixfARB; +extern GLEW_EXPORT PFNGLLOADTRANSPOSEMATRIXDARBPROC glLoadTransposeMatrixdARB; +extern GLEW_EXPORT PFNGLMULTTRANSPOSEMATRIXFARBPROC glMultTransposeMatrixfARB; +extern GLEW_EXPORT PFNGLMULTTRANSPOSEMATRIXDARBPROC glMultTransposeMatrixdARB; #endif /* GL_ARB_transpose_matrix */ @@ -2155,27 +2156,27 @@ extern GLEW_EXPORT glMultTransposeMatrixdARBPROC glMultTransposeMatrixdARB; #define GL_MODELVIEW30_ARB 0x873E #define GL_MODELVIEW31_ARB 0x873F -typedef void (APIENTRY * glWeightbvARBPROC) (GLint size, GLbyte *weights); -typedef void (APIENTRY * glWeightsvARBPROC) (GLint size, GLshort *weights); -typedef void (APIENTRY * glWeightivARBPROC) (GLint size, GLint *weights); -typedef void (APIENTRY * glWeightfvARBPROC) (GLint size, GLfloat *weights); -typedef void (APIENTRY * glWeightdvARBPROC) (GLint size, GLdouble *weights); -typedef void (APIENTRY * glWeightubvARBPROC) (GLint size, GLubyte *weights); -typedef void (APIENTRY * glWeightusvARBPROC) (GLint size, GLushort *weights); -typedef void (APIENTRY * glWeightuivARBPROC) (GLint size, GLuint *weights); -typedef void (APIENTRY * glWeightPointerARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); -typedef void (APIENTRY * glVertexBlendARBPROC) (GLint count); +typedef void (APIENTRY * PFNGLWEIGHTBVARBPROC) (GLint size, GLbyte *weights); +typedef void (APIENTRY * PFNGLWEIGHTSVARBPROC) (GLint size, GLshort *weights); +typedef void (APIENTRY * PFNGLWEIGHTIVARBPROC) (GLint size, GLint *weights); +typedef void (APIENTRY * PFNGLWEIGHTFVARBPROC) (GLint size, GLfloat *weights); +typedef void (APIENTRY * PFNGLWEIGHTDVARBPROC) (GLint size, GLdouble *weights); +typedef void (APIENTRY * PFNGLWEIGHTUBVARBPROC) (GLint size, GLubyte *weights); +typedef void (APIENTRY * PFNGLWEIGHTUSVARBPROC) (GLint size, GLushort *weights); +typedef void (APIENTRY * PFNGLWEIGHTUIVARBPROC) (GLint size, GLuint *weights); +typedef void (APIENTRY * PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); +typedef void (APIENTRY * PFNGLVERTEXBLENDARBPROC) (GLint count); -extern GLEW_EXPORT glWeightbvARBPROC glWeightbvARB; -extern GLEW_EXPORT glWeightsvARBPROC glWeightsvARB; -extern GLEW_EXPORT glWeightivARBPROC glWeightivARB; -extern GLEW_EXPORT glWeightfvARBPROC glWeightfvARB; -extern GLEW_EXPORT glWeightdvARBPROC glWeightdvARB; -extern GLEW_EXPORT glWeightubvARBPROC glWeightubvARB; -extern GLEW_EXPORT glWeightusvARBPROC glWeightusvARB; -extern GLEW_EXPORT glWeightuivARBPROC glWeightuivARB; -extern GLEW_EXPORT glWeightPointerARBPROC glWeightPointerARB; -extern GLEW_EXPORT glVertexBlendARBPROC glVertexBlendARB; +extern GLEW_EXPORT PFNGLWEIGHTBVARBPROC glWeightbvARB; +extern GLEW_EXPORT PFNGLWEIGHTSVARBPROC glWeightsvARB; +extern GLEW_EXPORT PFNGLWEIGHTIVARBPROC glWeightivARB; +extern GLEW_EXPORT PFNGLWEIGHTFVARBPROC glWeightfvARB; +extern GLEW_EXPORT PFNGLWEIGHTDVARBPROC glWeightdvARB; +extern GLEW_EXPORT PFNGLWEIGHTUBVARBPROC glWeightubvARB; +extern GLEW_EXPORT PFNGLWEIGHTUSVARBPROC glWeightusvARB; +extern GLEW_EXPORT PFNGLWEIGHTUIVARBPROC glWeightuivARB; +extern GLEW_EXPORT PFNGLWEIGHTPOINTERARBPROC glWeightPointerARB; +extern GLEW_EXPORT PFNGLVERTEXBLENDARBPROC glVertexBlendARB; #endif /* GL_ARB_vertex_blend */ @@ -2263,131 +2264,131 @@ extern GLEW_EXPORT glVertexBlendARBPROC glVertexBlendARB; #define GL_MATRIX30_ARB 0x88DE #define GL_MATRIX31_ARB 0x88DF -typedef void (APIENTRY * glVertexAttrib1sARBPROC) (GLuint index, GLshort x); -typedef void (APIENTRY * glVertexAttrib1fARBPROC) (GLuint index, GLfloat x); -typedef void (APIENTRY * glVertexAttrib1dARBPROC) (GLuint index, GLdouble x); -typedef void (APIENTRY * glVertexAttrib2sARBPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRY * glVertexAttrib2fARBPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRY * glVertexAttrib2dARBPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRY * glVertexAttrib3sARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRY * glVertexAttrib3fARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRY * glVertexAttrib3dARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRY * glVertexAttrib4sARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRY * glVertexAttrib4fARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRY * glVertexAttrib4dARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRY * glVertexAttrib4NubARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRY * glVertexAttrib1svARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRY * glVertexAttrib1fvARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRY * glVertexAttrib1dvARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRY * glVertexAttrib2svARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRY * glVertexAttrib2fvARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRY * glVertexAttrib2dvARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRY * glVertexAttrib3svARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRY * glVertexAttrib3fvARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRY * glVertexAttrib3dvARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRY * glVertexAttrib4bvARBPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRY * glVertexAttrib4svARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRY * glVertexAttrib4ivARBPROC) (GLuint index, const GLint *v); -typedef void (APIENTRY * glVertexAttrib4ubvARBPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRY * glVertexAttrib4usvARBPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRY * glVertexAttrib4uivARBPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRY * glVertexAttrib4fvARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRY * glVertexAttrib4dvARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRY * glVertexAttrib4NbvARBPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRY * glVertexAttrib4NsvARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRY * glVertexAttrib4NivARBPROC) (GLuint index, const GLint *v); -typedef void (APIENTRY * glVertexAttrib4NubvARBPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRY * glVertexAttrib4NusvARBPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRY * glVertexAttrib4NuivARBPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRY * glVertexAttribPointerARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRY * glEnableVertexAttribArrayARBPROC) (GLuint index); -typedef void (APIENTRY * glDisableVertexAttribArrayARBPROC) (GLuint index); -typedef void (APIENTRY * glProgramStringARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string); -typedef void (APIENTRY * glBindProgramARBPROC) (GLenum target, GLuint program); -typedef void (APIENTRY * glDeleteProgramsARBPROC) (GLsizei n, const GLuint *programs); -typedef void (APIENTRY * glGenProgramsARBPROC) (GLsizei n, GLuint *programs); -typedef void (APIENTRY * glProgramEnvParameter4dARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRY * glProgramEnvParameter4dvARBPROC) (GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRY * glProgramEnvParameter4fARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRY * glProgramEnvParameter4fvARBPROC) (GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRY * glProgramLocalParameter4dARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRY * glProgramLocalParameter4dvARBPROC) (GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRY * glProgramLocalParameter4fARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRY * glProgramLocalParameter4fvARBPROC) (GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRY * glGetProgramEnvParameterdvARBPROC) (GLenum target, GLuint index, GLdouble *params); -typedef void (APIENTRY * glGetProgramEnvParameterfvARBPROC) (GLenum target, GLuint index, GLfloat *params); -typedef void (APIENTRY * glGetProgramLocalParameterdvARBPROC) (GLenum target, GLuint index, GLdouble *params); -typedef void (APIENTRY * glGetProgramLocalParameterfvARBPROC) (GLenum target, GLuint index, GLfloat *params); -typedef void (APIENTRY * glGetProgramivARBPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRY * glGetProgramStringARBPROC) (GLenum target, GLenum pname, GLvoid *string); -typedef void (APIENTRY * glGetVertexAttribdvARBPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRY * glGetVertexAttribfvARBPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetVertexAttribivARBPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRY * glGetVertexAttribPointervARBPROC) (GLuint index, GLenum pname, GLvoid **pointer); -typedef GLboolean (APIENTRY * glIsProgramARBPROC) (GLuint program); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); +typedef void (APIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); +typedef void (APIENTRY * PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string); +typedef void (APIENTRY * PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program); +typedef void (APIENTRY * PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs); +typedef void (APIENTRY * PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs); +typedef void (APIENTRY * PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRY * PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); +typedef void (APIENTRY * PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); +typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); +typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); +typedef void (APIENTRY * PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); +typedef void (APIENTRY * PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); +typedef void (APIENTRY * PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); +typedef void (APIENTRY * PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); +typedef void (APIENTRY * PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string); +typedef void (APIENTRY * PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRY * PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid **pointer); +typedef GLboolean (APIENTRY * PFNGLISPROGRAMARBPROC) (GLuint program); -extern GLEW_EXPORT glVertexAttrib1sARBPROC glVertexAttrib1sARB; -extern GLEW_EXPORT glVertexAttrib1fARBPROC glVertexAttrib1fARB; -extern GLEW_EXPORT glVertexAttrib1dARBPROC glVertexAttrib1dARB; -extern GLEW_EXPORT glVertexAttrib2sARBPROC glVertexAttrib2sARB; -extern GLEW_EXPORT glVertexAttrib2fARBPROC glVertexAttrib2fARB; -extern GLEW_EXPORT glVertexAttrib2dARBPROC glVertexAttrib2dARB; -extern GLEW_EXPORT glVertexAttrib3sARBPROC glVertexAttrib3sARB; -extern GLEW_EXPORT glVertexAttrib3fARBPROC glVertexAttrib3fARB; -extern GLEW_EXPORT glVertexAttrib3dARBPROC glVertexAttrib3dARB; -extern GLEW_EXPORT glVertexAttrib4sARBPROC glVertexAttrib4sARB; -extern GLEW_EXPORT glVertexAttrib4fARBPROC glVertexAttrib4fARB; -extern GLEW_EXPORT glVertexAttrib4dARBPROC glVertexAttrib4dARB; -extern GLEW_EXPORT glVertexAttrib4NubARBPROC glVertexAttrib4NubARB; -extern GLEW_EXPORT glVertexAttrib1svARBPROC glVertexAttrib1svARB; -extern GLEW_EXPORT glVertexAttrib1fvARBPROC glVertexAttrib1fvARB; -extern GLEW_EXPORT glVertexAttrib1dvARBPROC glVertexAttrib1dvARB; -extern GLEW_EXPORT glVertexAttrib2svARBPROC glVertexAttrib2svARB; -extern GLEW_EXPORT glVertexAttrib2fvARBPROC glVertexAttrib2fvARB; -extern GLEW_EXPORT glVertexAttrib2dvARBPROC glVertexAttrib2dvARB; -extern GLEW_EXPORT glVertexAttrib3svARBPROC glVertexAttrib3svARB; -extern GLEW_EXPORT glVertexAttrib3fvARBPROC glVertexAttrib3fvARB; -extern GLEW_EXPORT glVertexAttrib3dvARBPROC glVertexAttrib3dvARB; -extern GLEW_EXPORT glVertexAttrib4bvARBPROC glVertexAttrib4bvARB; -extern GLEW_EXPORT glVertexAttrib4svARBPROC glVertexAttrib4svARB; -extern GLEW_EXPORT glVertexAttrib4ivARBPROC glVertexAttrib4ivARB; -extern GLEW_EXPORT glVertexAttrib4ubvARBPROC glVertexAttrib4ubvARB; -extern GLEW_EXPORT glVertexAttrib4usvARBPROC glVertexAttrib4usvARB; -extern GLEW_EXPORT glVertexAttrib4uivARBPROC glVertexAttrib4uivARB; -extern GLEW_EXPORT glVertexAttrib4fvARBPROC glVertexAttrib4fvARB; -extern GLEW_EXPORT glVertexAttrib4dvARBPROC glVertexAttrib4dvARB; -extern GLEW_EXPORT glVertexAttrib4NbvARBPROC glVertexAttrib4NbvARB; -extern GLEW_EXPORT glVertexAttrib4NsvARBPROC glVertexAttrib4NsvARB; -extern GLEW_EXPORT glVertexAttrib4NivARBPROC glVertexAttrib4NivARB; -extern GLEW_EXPORT glVertexAttrib4NubvARBPROC glVertexAttrib4NubvARB; -extern GLEW_EXPORT glVertexAttrib4NusvARBPROC glVertexAttrib4NusvARB; -extern GLEW_EXPORT glVertexAttrib4NuivARBPROC glVertexAttrib4NuivARB; -extern GLEW_EXPORT glVertexAttribPointerARBPROC glVertexAttribPointerARB; -extern GLEW_EXPORT glEnableVertexAttribArrayARBPROC glEnableVertexAttribArrayARB; -extern GLEW_EXPORT glDisableVertexAttribArrayARBPROC glDisableVertexAttribArrayARB; -extern GLEW_EXPORT glProgramStringARBPROC glProgramStringARB; -extern GLEW_EXPORT glBindProgramARBPROC glBindProgramARB; -extern GLEW_EXPORT glDeleteProgramsARBPROC glDeleteProgramsARB; -extern GLEW_EXPORT glGenProgramsARBPROC glGenProgramsARB; -extern GLEW_EXPORT glProgramEnvParameter4dARBPROC glProgramEnvParameter4dARB; -extern GLEW_EXPORT glProgramEnvParameter4dvARBPROC glProgramEnvParameter4dvARB; -extern GLEW_EXPORT glProgramEnvParameter4fARBPROC glProgramEnvParameter4fARB; -extern GLEW_EXPORT glProgramEnvParameter4fvARBPROC glProgramEnvParameter4fvARB; -extern GLEW_EXPORT glProgramLocalParameter4dARBPROC glProgramLocalParameter4dARB; -extern GLEW_EXPORT glProgramLocalParameter4dvARBPROC glProgramLocalParameter4dvARB; -extern GLEW_EXPORT glProgramLocalParameter4fARBPROC glProgramLocalParameter4fARB; -extern GLEW_EXPORT glProgramLocalParameter4fvARBPROC glProgramLocalParameter4fvARB; -extern GLEW_EXPORT glGetProgramEnvParameterdvARBPROC glGetProgramEnvParameterdvARB; -extern GLEW_EXPORT glGetProgramEnvParameterfvARBPROC glGetProgramEnvParameterfvARB; -extern GLEW_EXPORT glGetProgramLocalParameterdvARBPROC glGetProgramLocalParameterdvARB; -extern GLEW_EXPORT glGetProgramLocalParameterfvARBPROC glGetProgramLocalParameterfvARB; -extern GLEW_EXPORT glGetProgramivARBPROC glGetProgramivARB; -extern GLEW_EXPORT glGetProgramStringARBPROC glGetProgramStringARB; -extern GLEW_EXPORT glGetVertexAttribdvARBPROC glGetVertexAttribdvARB; -extern GLEW_EXPORT glGetVertexAttribfvARBPROC glGetVertexAttribfvARB; -extern GLEW_EXPORT glGetVertexAttribivARBPROC glGetVertexAttribivARB; -extern GLEW_EXPORT glGetVertexAttribPointervARBPROC glGetVertexAttribPointervARB; -extern GLEW_EXPORT glIsProgramARBPROC glIsProgramARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1SARBPROC glVertexAttrib1sARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1FARBPROC glVertexAttrib1fARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1DARBPROC glVertexAttrib1dARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2SARBPROC glVertexAttrib2sARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2FARBPROC glVertexAttrib2fARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2DARBPROC glVertexAttrib2dARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3SARBPROC glVertexAttrib3sARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3FARBPROC glVertexAttrib3fARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3DARBPROC glVertexAttrib3dARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4SARBPROC glVertexAttrib4sARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4FARBPROC glVertexAttrib4fARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4DARBPROC glVertexAttrib4dARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4NUBARBPROC glVertexAttrib4NubARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1SVARBPROC glVertexAttrib1svARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1FVARBPROC glVertexAttrib1fvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1DVARBPROC glVertexAttrib1dvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2SVARBPROC glVertexAttrib2svARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2FVARBPROC glVertexAttrib2fvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2DVARBPROC glVertexAttrib2dvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3SVARBPROC glVertexAttrib3svARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3FVARBPROC glVertexAttrib3fvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3DVARBPROC glVertexAttrib3dvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4BVARBPROC glVertexAttrib4bvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4SVARBPROC glVertexAttrib4svARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4IVARBPROC glVertexAttrib4ivARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4UBVARBPROC glVertexAttrib4ubvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4USVARBPROC glVertexAttrib4usvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4UIVARBPROC glVertexAttrib4uivARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4FVARBPROC glVertexAttrib4fvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4DVARBPROC glVertexAttrib4dvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4NBVARBPROC glVertexAttrib4NbvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4NSVARBPROC glVertexAttrib4NsvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4NIVARBPROC glVertexAttrib4NivARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4NUBVARBPROC glVertexAttrib4NubvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4NUSVARBPROC glVertexAttrib4NusvARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4NUIVARBPROC glVertexAttrib4NuivARB; +extern GLEW_EXPORT PFNGLVERTEXATTRIBPOINTERARBPROC glVertexAttribPointerARB; +extern GLEW_EXPORT PFNGLENABLEVERTEXATTRIBARRAYARBPROC glEnableVertexAttribArrayARB; +extern GLEW_EXPORT PFNGLDISABLEVERTEXATTRIBARRAYARBPROC glDisableVertexAttribArrayARB; +extern GLEW_EXPORT PFNGLPROGRAMSTRINGARBPROC glProgramStringARB; +extern GLEW_EXPORT PFNGLBINDPROGRAMARBPROC glBindProgramARB; +extern GLEW_EXPORT PFNGLDELETEPROGRAMSARBPROC glDeleteProgramsARB; +extern GLEW_EXPORT PFNGLGENPROGRAMSARBPROC glGenProgramsARB; +extern GLEW_EXPORT PFNGLPROGRAMENVPARAMETER4DARBPROC glProgramEnvParameter4dARB; +extern GLEW_EXPORT PFNGLPROGRAMENVPARAMETER4DVARBPROC glProgramEnvParameter4dvARB; +extern GLEW_EXPORT PFNGLPROGRAMENVPARAMETER4FARBPROC glProgramEnvParameter4fARB; +extern GLEW_EXPORT PFNGLPROGRAMENVPARAMETER4FVARBPROC glProgramEnvParameter4fvARB; +extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4DARBPROC glProgramLocalParameter4dARB; +extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4DVARBPROC glProgramLocalParameter4dvARB; +extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4FARBPROC glProgramLocalParameter4fARB; +extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4FVARBPROC glProgramLocalParameter4fvARB; +extern GLEW_EXPORT PFNGLGETPROGRAMENVPARAMETERDVARBPROC glGetProgramEnvParameterdvARB; +extern GLEW_EXPORT PFNGLGETPROGRAMENVPARAMETERFVARBPROC glGetProgramEnvParameterfvARB; +extern GLEW_EXPORT PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC glGetProgramLocalParameterdvARB; +extern GLEW_EXPORT PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC glGetProgramLocalParameterfvARB; +extern GLEW_EXPORT PFNGLGETPROGRAMIVARBPROC glGetProgramivARB; +extern GLEW_EXPORT PFNGLGETPROGRAMSTRINGARBPROC glGetProgramStringARB; +extern GLEW_EXPORT PFNGLGETVERTEXATTRIBDVARBPROC glGetVertexAttribdvARB; +extern GLEW_EXPORT PFNGLGETVERTEXATTRIBFVARBPROC glGetVertexAttribfvARB; +extern GLEW_EXPORT PFNGLGETVERTEXATTRIBIVARBPROC glGetVertexAttribivARB; +extern GLEW_EXPORT PFNGLGETVERTEXATTRIBPOINTERVARBPROC glGetVertexAttribPointervARB; +extern GLEW_EXPORT PFNGLISPROGRAMARBPROC glIsProgramARB; #endif /* GL_ARB_vertex_program */ @@ -2395,39 +2396,39 @@ extern GLEW_EXPORT glIsProgramARBPROC glIsProgramARB; #ifdef GL_ARB_window_pos -typedef void (APIENTRY * glWindowPos2dARBPROC) (GLdouble x, GLdouble y); -typedef void (APIENTRY * glWindowPos2fARBPROC) (GLfloat x, GLfloat y); -typedef void (APIENTRY * glWindowPos2iARBPROC) (GLint x, GLint y); -typedef void (APIENTRY * glWindowPos2sARBPROC) (GLshort x, GLshort y); -typedef void (APIENTRY * glWindowPos2dvARBPROC) (const GLdouble *p); -typedef void (APIENTRY * glWindowPos2fvARBPROC) (const GLfloat *p); -typedef void (APIENTRY * glWindowPos2ivARBPROC) (const GLint *p); -typedef void (APIENTRY * glWindowPos2svARBPROC) (const GLshort *p); -typedef void (APIENTRY * glWindowPos3dARBPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRY * glWindowPos3fARBPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRY * glWindowPos3iARBPROC) (GLint x, GLint y, GLint z); -typedef void (APIENTRY * glWindowPos3sARBPROC) (GLshort x, GLshort y, GLshort z); -typedef void (APIENTRY * glWindowPos3dvARBPROC) (const GLdouble *p); -typedef void (APIENTRY * glWindowPos3fvARBPROC) (const GLfloat *p); -typedef void (APIENTRY * glWindowPos3ivARBPROC) (const GLint *p); -typedef void (APIENTRY * glWindowPos3svARBPROC) (const GLshort *p); +typedef void (APIENTRY * PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y); +typedef void (APIENTRY * PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y); +typedef void (APIENTRY * PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y); +typedef void (APIENTRY * PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y); +typedef void (APIENTRY * PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *p); +typedef void (APIENTRY * PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *p); +typedef void (APIENTRY * PFNGLWINDOWPOS2IVARBPROC) (const GLint *p); +typedef void (APIENTRY * PFNGLWINDOWPOS2SVARBPROC) (const GLshort *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRY * PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z); +typedef void (APIENTRY * PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z); +typedef void (APIENTRY * PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3IVARBPROC) (const GLint *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3SVARBPROC) (const GLshort *p); -extern GLEW_EXPORT glWindowPos2dARBPROC glWindowPos2dARB; -extern GLEW_EXPORT glWindowPos2fARBPROC glWindowPos2fARB; -extern GLEW_EXPORT glWindowPos2iARBPROC glWindowPos2iARB; -extern GLEW_EXPORT glWindowPos2sARBPROC glWindowPos2sARB; -extern GLEW_EXPORT glWindowPos2dvARBPROC glWindowPos2dvARB; -extern GLEW_EXPORT glWindowPos2fvARBPROC glWindowPos2fvARB; -extern GLEW_EXPORT glWindowPos2ivARBPROC glWindowPos2ivARB; -extern GLEW_EXPORT glWindowPos2svARBPROC glWindowPos2svARB; -extern GLEW_EXPORT glWindowPos3dARBPROC glWindowPos3dARB; -extern GLEW_EXPORT glWindowPos3fARBPROC glWindowPos3fARB; -extern GLEW_EXPORT glWindowPos3iARBPROC glWindowPos3iARB; -extern GLEW_EXPORT glWindowPos3sARBPROC glWindowPos3sARB; -extern GLEW_EXPORT glWindowPos3dvARBPROC glWindowPos3dvARB; -extern GLEW_EXPORT glWindowPos3fvARBPROC glWindowPos3fvARB; -extern GLEW_EXPORT glWindowPos3ivARBPROC glWindowPos3ivARB; -extern GLEW_EXPORT glWindowPos3svARBPROC glWindowPos3svARB; +extern GLEW_EXPORT PFNGLWINDOWPOS2DARBPROC glWindowPos2dARB; +extern GLEW_EXPORT PFNGLWINDOWPOS2FARBPROC glWindowPos2fARB; +extern GLEW_EXPORT PFNGLWINDOWPOS2IARBPROC glWindowPos2iARB; +extern GLEW_EXPORT PFNGLWINDOWPOS2SARBPROC glWindowPos2sARB; +extern GLEW_EXPORT PFNGLWINDOWPOS2DVARBPROC glWindowPos2dvARB; +extern GLEW_EXPORT PFNGLWINDOWPOS2FVARBPROC glWindowPos2fvARB; +extern GLEW_EXPORT PFNGLWINDOWPOS2IVARBPROC glWindowPos2ivARB; +extern GLEW_EXPORT PFNGLWINDOWPOS2SVARBPROC glWindowPos2svARB; +extern GLEW_EXPORT PFNGLWINDOWPOS3DARBPROC glWindowPos3dARB; +extern GLEW_EXPORT PFNGLWINDOWPOS3FARBPROC glWindowPos3fARB; +extern GLEW_EXPORT PFNGLWINDOWPOS3IARBPROC glWindowPos3iARB; +extern GLEW_EXPORT PFNGLWINDOWPOS3SARBPROC glWindowPos3sARB; +extern GLEW_EXPORT PFNGLWINDOWPOS3DVARBPROC glWindowPos3dvARB; +extern GLEW_EXPORT PFNGLWINDOWPOS3FVARBPROC glWindowPos3fvARB; +extern GLEW_EXPORT PFNGLWINDOWPOS3IVARBPROC glWindowPos3ivARB; +extern GLEW_EXPORT PFNGLWINDOWPOS3SVARBPROC glWindowPos3svARB; #endif /* GL_ARB_window_pos */ @@ -2458,9 +2459,9 @@ extern GLEW_EXPORT glWindowPos3svARBPROC glWindowPos3svARB; #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 #define GL_BLEND_COLOR_EXT 0x8005 -typedef void (APIENTRY * glBlendColorEXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +typedef void (APIENTRY * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -extern GLEW_EXPORT glBlendColorEXTPROC glBlendColorEXT; +extern GLEW_EXPORT PFNGLBLENDCOLOREXTPROC glBlendColorEXT; #endif /* GL_EXT_blend_color */ @@ -2473,9 +2474,9 @@ extern GLEW_EXPORT glBlendColorEXTPROC glBlendColorEXT; #define GL_BLEND_DST_ALPHA_EXT 0x80CA #define GL_BLEND_SRC_ALPHA_EXT 0x80CB -typedef void (APIENTRY * glBlendFuncSeparateEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +typedef void (APIENTRY * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -extern GLEW_EXPORT glBlendFuncSeparateEXTPROC glBlendFuncSeparateEXT; +extern GLEW_EXPORT PFNGLBLENDFUNCSEPARATEEXTPROC glBlendFuncSeparateEXT; #endif /* GL_EXT_blend_func_separate */ @@ -2488,9 +2489,9 @@ extern GLEW_EXPORT glBlendFuncSeparateEXTPROC glBlendFuncSeparateEXT; #define GL_MAX_EXT 0x8008 #define GL_BLEND_EQUATION_EXT 0x8009 -typedef void (APIENTRY * glBlendEquationEXTPROC) (GLenum mode); +typedef void (APIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); -extern GLEW_EXPORT glBlendEquationEXTPROC glBlendEquationEXT; +extern GLEW_EXPORT PFNGLBLENDEQUATIONEXTPROC glBlendEquationEXT; #endif /* GL_EXT_blend_minmax */ @@ -2518,11 +2519,11 @@ extern GLEW_EXPORT glBlendEquationEXTPROC glBlendEquationEXT; #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 -typedef void (APIENTRY * glLockArraysEXTPROC) (GLint first, GLsizei count); -typedef void (APIENTRY * glUnlockArraysEXTPROC) (void); +typedef void (APIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); +typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void); -extern GLEW_EXPORT glLockArraysEXTPROC glLockArraysEXT; -extern GLEW_EXPORT glUnlockArraysEXTPROC glUnlockArraysEXT; +extern GLEW_EXPORT PFNGLLOCKARRAYSEXTPROC glLockArraysEXT; +extern GLEW_EXPORT PFNGLUNLOCKARRAYSEXTPROC glUnlockArraysEXT; #endif /* GL_EXT_compiled_vertex_array */ @@ -2530,11 +2531,11 @@ extern GLEW_EXPORT glUnlockArraysEXTPROC glUnlockArraysEXT; #ifdef GL_EXT_cull_vertex -typedef void (APIENTRY * glCullParameterfvEXTPROC) (GLenum pname, GLfloat *params); -typedef void (APIENTRY * glCullParameterdvEXTPROC) (GLenum pname, GLdouble *params); +typedef void (APIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params); -extern GLEW_EXPORT glCullParameterfvEXTPROC glCullParameterfvEXT; -extern GLEW_EXPORT glCullParameterdvEXTPROC glCullParameterdvEXT; +extern GLEW_EXPORT PFNGLCULLPARAMETERFVEXTPROC glCullParameterfvEXT; +extern GLEW_EXPORT PFNGLCULLPARAMETERDVEXTPROC glCullParameterdvEXT; #define GL_CULL_VERTEX_EXT 0x81AA #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB @@ -2546,9 +2547,9 @@ extern GLEW_EXPORT glCullParameterdvEXTPROC glCullParameterdvEXT; #ifdef GL_EXT_draw_range_elements -typedef void (APIENTRY * glDrawRangeElementsEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); +typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); -extern GLEW_EXPORT glDrawRangeElementsEXTPROC glDrawRangeElementsEXT; +extern GLEW_EXPORT PFNGLDRAWRANGEELEMENTSEXTPROC glDrawRangeElementsEXT; #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 @@ -2568,17 +2569,17 @@ extern GLEW_EXPORT glDrawRangeElementsEXTPROC glDrawRangeElementsEXT; #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 -typedef void (APIENTRY * glFogCoordfEXTPROC) (GLfloat coord); -typedef void (APIENTRY * glFogCoordfvEXTPROC) (const GLfloat *coord); -typedef void (APIENTRY * glFogCoorddEXTPROC) (GLdouble coord); -typedef void (APIENTRY * glFogCoorddvEXTPROC) (const GLdouble *coord); -typedef void (APIENTRY * glFogCoordPointerEXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLFOGCOORDFEXTPROC) (GLfloat coord); +typedef void (APIENTRY * PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord); +typedef void (APIENTRY * PFNGLFOGCOORDDEXTPROC) (GLdouble coord); +typedef void (APIENTRY * PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord); +typedef void (APIENTRY * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -extern GLEW_EXPORT glFogCoordfEXTPROC glFogCoordfEXT; -extern GLEW_EXPORT glFogCoordfvEXTPROC glFogCoordfvEXT; -extern GLEW_EXPORT glFogCoorddEXTPROC glFogCoorddEXT; -extern GLEW_EXPORT glFogCoorddvEXTPROC glFogCoorddvEXT; -extern GLEW_EXPORT glFogCoordPointerEXTPROC glFogCoordPointerEXT; +extern GLEW_EXPORT PFNGLFOGCOORDFEXTPROC glFogCoordfEXT; +extern GLEW_EXPORT PFNGLFOGCOORDFVEXTPROC glFogCoordfvEXT; +extern GLEW_EXPORT PFNGLFOGCOORDDEXTPROC glFogCoorddEXT; +extern GLEW_EXPORT PFNGLFOGCOORDDVEXTPROC glFogCoorddvEXT; +extern GLEW_EXPORT PFNGLFOGCOORDPOINTEREXTPROC glFogCoordPointerEXT; #endif /* GL_EXT_fog_coord */ @@ -2586,11 +2587,11 @@ extern GLEW_EXPORT glFogCoordPointerEXTPROC glFogCoordPointerEXT; #ifdef GL_EXT_multi_draw_arrays -typedef void (APIENTRY * glMultiDrawArraysEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); -typedef void (APIENTRY * glMultiDrawElementsEXTPROC) (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount); +typedef void (APIENTRY * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); +typedef void (APIENTRY * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount); -extern GLEW_EXPORT glMultiDrawArraysEXTPROC glMultiDrawArraysEXT; -extern GLEW_EXPORT glMultiDrawElementsEXTPROC glMultiDrawElementsEXT; +extern GLEW_EXPORT PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +extern GLEW_EXPORT PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; #endif /* GL_EXT_multi_draw_arrays */ @@ -2615,11 +2616,11 @@ extern GLEW_EXPORT glMultiDrawElementsEXTPROC glMultiDrawElementsEXT; #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 #define GL_DISTANCE_ATTENUATION_EXT 0x8129 -typedef void (APIENTRY * glPointParameterfEXTPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRY * glPointParameterfvEXTPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); -extern GLEW_EXPORT glPointParameterfEXTPROC glPointParameterfEXT; -extern GLEW_EXPORT glPointParameterfvEXTPROC glPointParameterfvEXT; +extern GLEW_EXPORT PFNGLPOINTPARAMETERFEXTPROC glPointParameterfEXT; +extern GLEW_EXPORT PFNGLPOINTPARAMETERFVEXTPROC glPointParameterfvEXT; #endif /* GL_EXT_point_parameters */ @@ -2635,41 +2636,41 @@ extern GLEW_EXPORT glPointParameterfvEXTPROC glPointParameterfvEXT; #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E -typedef void (APIENTRY * glSecondaryColor3bEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); -typedef void (APIENTRY * glSecondaryColor3bvEXTPROC) (const GLbyte *v); -typedef void (APIENTRY * glSecondaryColor3dEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); -typedef void (APIENTRY * glSecondaryColor3dvEXTPROC) (const GLdouble *v); -typedef void (APIENTRY * glSecondaryColor3fEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); -typedef void (APIENTRY * glSecondaryColor3fvEXTPROC) (const GLfloat *v); -typedef void (APIENTRY * glSecondaryColor3iEXTPROC) (GLint red, GLint green, GLint blue); -typedef void (APIENTRY * glSecondaryColor3ivEXTPROC) (const GLint *v); -typedef void (APIENTRY * glSecondaryColor3sEXTPROC) (GLshort red, GLshort green, GLshort blue); -typedef void (APIENTRY * glSecondaryColor3svEXTPROC) (const GLshort *v); -typedef void (APIENTRY * glSecondaryColor3ubEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (APIENTRY * glSecondaryColor3ubvEXTPROC) (const GLubyte *v); -typedef void (APIENTRY * glSecondaryColor3uiEXTPROC) (GLuint red, GLuint green, GLuint blue); -typedef void (APIENTRY * glSecondaryColor3uivEXTPROC) (const GLuint *v); -typedef void (APIENTRY * glSecondaryColor3usEXTPROC) (GLushort red, GLushort green, GLushort blue); -typedef void (APIENTRY * glSecondaryColor3usvEXTPROC) (const GLushort *v); -typedef void (APIENTRY * glSecondaryColorPointerEXTPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue); +typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v); +typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); -extern GLEW_EXPORT glSecondaryColor3bEXTPROC glSecondaryColor3bEXT; -extern GLEW_EXPORT glSecondaryColor3bvEXTPROC glSecondaryColor3bvEXT; -extern GLEW_EXPORT glSecondaryColor3dEXTPROC glSecondaryColor3dEXT; -extern GLEW_EXPORT glSecondaryColor3dvEXTPROC glSecondaryColor3dvEXT; -extern GLEW_EXPORT glSecondaryColor3fEXTPROC glSecondaryColor3fEXT; -extern GLEW_EXPORT glSecondaryColor3fvEXTPROC glSecondaryColor3fvEXT; -extern GLEW_EXPORT glSecondaryColor3iEXTPROC glSecondaryColor3iEXT; -extern GLEW_EXPORT glSecondaryColor3ivEXTPROC glSecondaryColor3ivEXT; -extern GLEW_EXPORT glSecondaryColor3sEXTPROC glSecondaryColor3sEXT; -extern GLEW_EXPORT glSecondaryColor3svEXTPROC glSecondaryColor3svEXT; -extern GLEW_EXPORT glSecondaryColor3ubEXTPROC glSecondaryColor3ubEXT; -extern GLEW_EXPORT glSecondaryColor3ubvEXTPROC glSecondaryColor3ubvEXT; -extern GLEW_EXPORT glSecondaryColor3uiEXTPROC glSecondaryColor3uiEXT; -extern GLEW_EXPORT glSecondaryColor3uivEXTPROC glSecondaryColor3uivEXT; -extern GLEW_EXPORT glSecondaryColor3usEXTPROC glSecondaryColor3usEXT; -extern GLEW_EXPORT glSecondaryColor3usvEXTPROC glSecondaryColor3usvEXT; -extern GLEW_EXPORT glSecondaryColorPointerEXTPROC glSecondaryColorPointerEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3BEXTPROC glSecondaryColor3bEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3BVEXTPROC glSecondaryColor3bvEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3DEXTPROC glSecondaryColor3dEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3DVEXTPROC glSecondaryColor3dvEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3FEXTPROC glSecondaryColor3fEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3FVEXTPROC glSecondaryColor3fvEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3IEXTPROC glSecondaryColor3iEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3IVEXTPROC glSecondaryColor3ivEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3SEXTPROC glSecondaryColor3sEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3SVEXTPROC glSecondaryColor3svEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UBEXTPROC glSecondaryColor3ubEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UBVEXTPROC glSecondaryColor3ubvEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UIEXTPROC glSecondaryColor3uiEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3UIVEXTPROC glSecondaryColor3uivEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3USEXTPROC glSecondaryColor3usEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLOR3USVEXTPROC glSecondaryColor3usvEXT; +extern GLEW_EXPORT PFNGLSECONDARYCOLORPOINTEREXTPROC glSecondaryColorPointerEXT; #endif /* GL_EXT_secondary_color */ @@ -2689,9 +2690,9 @@ extern GLEW_EXPORT glSecondaryColorPointerEXTPROC glSecondaryColorPointerEXT; #ifdef GL_EXT_stencil_two_side -typedef void (APIENTRY * glActiveStencilFaceEXTPROC) (GLenum face); +typedef void (APIENTRY * PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); -extern GLEW_EXPORT glActiveStencilFaceEXTPROC glActiveStencilFaceEXT; +extern GLEW_EXPORT PFNGLACTIVESTENCILFACEEXTPROC glActiveStencilFaceEXT; #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911 @@ -2776,6 +2777,28 @@ extern GLEW_EXPORT glActiveStencilFaceEXTPROC glActiveStencilFaceEXT; #endif /* GL_EXT_texture_rectangle */ +/* ----------------------------- EXT_texture3D ---------------------------- */ + +#ifdef GL_EXT_texture3D + +#define GL_PACK_SKIP_IMAGES_EXT 0x806B +#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C +#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D +#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E +#define GL_TEXTURE_3D_EXT 0x806F +#define GL_PROXY_TEXTURE_3D_EXT 0x8070 +#define GL_TEXTURE_DEPTH_EXT 0x8071 +#define GL_TEXTURE_WRAP_R_EXT 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 + +typedef void (APIENTRY * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); + +extern GLEW_EXPORT PFNGLTEXIMAGE3DEXTPROC glTexImage3DEXT; +extern GLEW_EXPORT PFNGLTEXSUBIMAGE3DEXTPROC glTexSubImage3DEXT; + +#endif /* GL_EXT_texture3D */ + /* --------------------------- EXT_vertex_shader -------------------------- */ #ifdef GL_EXT_vertex_shader @@ -2891,91 +2914,91 @@ extern GLEW_EXPORT glActiveStencilFaceEXTPROC glActiveStencilFaceEXT; #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED -typedef void (APIENTRY * glBeginVertexShaderEXTPROC) (); -typedef void (APIENTRY * glEndVertexShaderEXTPROC) (); -typedef void (APIENTRY * glBindVertexShaderEXTPROC) (GLuint id); -typedef GLuint (APIENTRY * glGenVertexShadersEXTPROC) (GLuint range); -typedef void (APIENTRY * glDeleteVertexShaderEXTPROC) (GLuint id); -typedef void (APIENTRY * glShaderOp1EXTPROC) (GLenum op, GLuint res, GLuint arg1); -typedef void (APIENTRY * glShaderOp2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); -typedef void (APIENTRY * glShaderOp3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); -typedef void (APIENTRY * glSwizzleEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -typedef void (APIENTRY * glWriteMaskEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -typedef void (APIENTRY * glInsertComponentEXTPROC) (GLuint res, GLuint src, GLuint num); -typedef void (APIENTRY * glExtractComponentEXTPROC) (GLuint res, GLuint src, GLuint num); -typedef GLuint (APIENTRY * glGenSymbolsEXTPROC) (GLenum dataType, GLenum storageType, GLenum range, GLuint components); -typedef void (APIENTRY * glSetInvariantEXTPROC) (GLuint id, GLenum type, GLvoid *addr); -typedef void (APIENTRY * glSetLocalConstantEXTPROC) (GLuint id, GLenum type, GLvoid *addr); -typedef void (APIENTRY * glVariantbvEXTPROC) (GLuint id, GLbyte *addr); -typedef void (APIENTRY * glVariantsvEXTPROC) (GLuint id, GLshort *addr); -typedef void (APIENTRY * glVariantivEXTPROC) (GLuint id, GLint *addr); -typedef void (APIENTRY * glVariantfvEXTPROC) (GLuint id, GLfloat *addr); -typedef void (APIENTRY * glVariantdvEXTPROC) (GLuint id, GLdouble *addr); -typedef void (APIENTRY * glVariantubvEXTPROC) (GLuint id, GLubyte *addr); -typedef void (APIENTRY * glVariantusvEXTPROC) (GLuint id, GLushort *addr); -typedef void (APIENTRY * glVariantuivEXTPROC) (GLuint id, GLuint *addr); -typedef void (APIENTRY * glVariantPointerEXTPROC) (GLuint id, GLenum type, GLuint stride, GLvoid *addr); -typedef void (APIENTRY * glEnableVariantClientStateEXTPROC) (GLuint id); -typedef void (APIENTRY * glDisableVariantClientStateEXTPROC) (GLuint id); -typedef GLuint (APIENTRY * glBindLightParameterEXTPROC) (GLenum light, GLenum value); -typedef GLuint (APIENTRY * glBindMaterialParameterEXTPROC) (GLenum face, GLenum value); -typedef GLuint (APIENTRY * glBindTexGenParameterEXTPROC) (GLenum unit, GLenum coord, GLenum value); -typedef GLuint (APIENTRY * glBindTextureUnitParameterEXTPROC) (GLenum unit, GLenum value); -typedef GLuint (APIENTRY * glBindParameterEXTPROC) (GLenum value); -typedef GLboolean (APIENTRY * glIsVariantEnabledEXTPROC) (GLuint id, GLenum cap); -typedef void (APIENTRY * glGetVariantBooleanvEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRY * glGetVariantIntegervEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRY * glGetVariantFloatvEXTPROC) (GLuint id, GLenum value, GLfloat *data); -typedef void (APIENTRY * glGetVariantPointervEXTPROC) (GLuint id, GLenum value, GLvoid **data); -typedef void (APIENTRY * glGetInvariantBooleanvEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRY * glGetInvariantIntegervEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRY * glGetInvariantFloatvEXTPROC) (GLuint id, GLenum value, GLfloat *data); -typedef void (APIENTRY * glGetLocalConstantBooleanvEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRY * glGetLocalConstantIntegervEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRY * glGetLocalConstantFloatvEXTPROC) (GLuint id, GLenum value, GLfloat *data); +typedef void (APIENTRY * PFNGLBEGINVERTEXSHADEREXTPROC) (); +typedef void (APIENTRY * PFNGLENDVERTEXSHADEREXTPROC) (); +typedef void (APIENTRY * PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id); +typedef GLuint (APIENTRY * PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range); +typedef void (APIENTRY * PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id); +typedef void (APIENTRY * PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1); +typedef void (APIENTRY * PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); +typedef void (APIENTRY * PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); +typedef void (APIENTRY * PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); +typedef void (APIENTRY * PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); +typedef void (APIENTRY * PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); +typedef void (APIENTRY * PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); +typedef GLuint (APIENTRY * PFNGLGENSYMBOLSEXTPROC) (GLenum dataType, GLenum storageType, GLenum range, GLuint components); +typedef void (APIENTRY * PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, GLvoid *addr); +typedef void (APIENTRY * PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, GLvoid *addr); +typedef void (APIENTRY * PFNGLVARIANTBVEXTPROC) (GLuint id, GLbyte *addr); +typedef void (APIENTRY * PFNGLVARIANTSVEXTPROC) (GLuint id, GLshort *addr); +typedef void (APIENTRY * PFNGLVARIANTIVEXTPROC) (GLuint id, GLint *addr); +typedef void (APIENTRY * PFNGLVARIANTFVEXTPROC) (GLuint id, GLfloat *addr); +typedef void (APIENTRY * PFNGLVARIANTDVEXTPROC) (GLuint id, GLdouble *addr); +typedef void (APIENTRY * PFNGLVARIANTUBVEXTPROC) (GLuint id, GLubyte *addr); +typedef void (APIENTRY * PFNGLVARIANTUSVEXTPROC) (GLuint id, GLushort *addr); +typedef void (APIENTRY * PFNGLVARIANTUIVEXTPROC) (GLuint id, GLuint *addr); +typedef void (APIENTRY * PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, GLvoid *addr); +typedef void (APIENTRY * PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); +typedef void (APIENTRY * PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); +typedef GLuint (APIENTRY * PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value); +typedef GLuint (APIENTRY * PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value); +typedef GLuint (APIENTRY * PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value); +typedef GLuint (APIENTRY * PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value); +typedef GLuint (APIENTRY * PFNGLBINDPARAMETEREXTPROC) (GLenum value); +typedef GLboolean (APIENTRY * PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap); +typedef void (APIENTRY * PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); +typedef void (APIENTRY * PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); +typedef void (APIENTRY * PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); +typedef void (APIENTRY * PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid **data); +typedef void (APIENTRY * PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); +typedef void (APIENTRY * PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); +typedef void (APIENTRY * PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); +typedef void (APIENTRY * PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); +typedef void (APIENTRY * PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); +typedef void (APIENTRY * PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -extern GLEW_EXPORT glBeginVertexShaderEXTPROC glBeginVertexShaderEXT; -extern GLEW_EXPORT glEndVertexShaderEXTPROC glEndVertexShaderEXT; -extern GLEW_EXPORT glBindVertexShaderEXTPROC glBindVertexShaderEXT; -extern GLEW_EXPORT glGenVertexShadersEXTPROC glGenVertexShadersEXT; -extern GLEW_EXPORT glDeleteVertexShaderEXTPROC glDeleteVertexShaderEXT; -extern GLEW_EXPORT glShaderOp1EXTPROC glShaderOp1EXT; -extern GLEW_EXPORT glShaderOp2EXTPROC glShaderOp2EXT; -extern GLEW_EXPORT glShaderOp3EXTPROC glShaderOp3EXT; -extern GLEW_EXPORT glSwizzleEXTPROC glSwizzleEXT; -extern GLEW_EXPORT glWriteMaskEXTPROC glWriteMaskEXT; -extern GLEW_EXPORT glInsertComponentEXTPROC glInsertComponentEXT; -extern GLEW_EXPORT glExtractComponentEXTPROC glExtractComponentEXT; -extern GLEW_EXPORT glGenSymbolsEXTPROC glGenSymbolsEXT; -extern GLEW_EXPORT glSetInvariantEXTPROC glSetInvariantEXT; -extern GLEW_EXPORT glSetLocalConstantEXTPROC glSetLocalConstantEXT; -extern GLEW_EXPORT glVariantbvEXTPROC glVariantbvEXT; -extern GLEW_EXPORT glVariantsvEXTPROC glVariantsvEXT; -extern GLEW_EXPORT glVariantivEXTPROC glVariantivEXT; -extern GLEW_EXPORT glVariantfvEXTPROC glVariantfvEXT; -extern GLEW_EXPORT glVariantdvEXTPROC glVariantdvEXT; -extern GLEW_EXPORT glVariantubvEXTPROC glVariantubvEXT; -extern GLEW_EXPORT glVariantusvEXTPROC glVariantusvEXT; -extern GLEW_EXPORT glVariantuivEXTPROC glVariantuivEXT; -extern GLEW_EXPORT glVariantPointerEXTPROC glVariantPointerEXT; -extern GLEW_EXPORT glEnableVariantClientStateEXTPROC glEnableVariantClientStateEXT; -extern GLEW_EXPORT glDisableVariantClientStateEXTPROC glDisableVariantClientStateEXT; -extern GLEW_EXPORT glBindLightParameterEXTPROC glBindLightParameterEXT; -extern GLEW_EXPORT glBindMaterialParameterEXTPROC glBindMaterialParameterEXT; -extern GLEW_EXPORT glBindTexGenParameterEXTPROC glBindTexGenParameterEXT; -extern GLEW_EXPORT glBindTextureUnitParameterEXTPROC glBindTextureUnitParameterEXT; -extern GLEW_EXPORT glBindParameterEXTPROC glBindParameterEXT; -extern GLEW_EXPORT glIsVariantEnabledEXTPROC glIsVariantEnabledEXT; -extern GLEW_EXPORT glGetVariantBooleanvEXTPROC glGetVariantBooleanvEXT; -extern GLEW_EXPORT glGetVariantIntegervEXTPROC glGetVariantIntegervEXT; -extern GLEW_EXPORT glGetVariantFloatvEXTPROC glGetVariantFloatvEXT; -extern GLEW_EXPORT glGetVariantPointervEXTPROC glGetVariantPointervEXT; -extern GLEW_EXPORT glGetInvariantBooleanvEXTPROC glGetInvariantBooleanvEXT; -extern GLEW_EXPORT glGetInvariantIntegervEXTPROC glGetInvariantIntegervEXT; -extern GLEW_EXPORT glGetInvariantFloatvEXTPROC glGetInvariantFloatvEXT; -extern GLEW_EXPORT glGetLocalConstantBooleanvEXTPROC glGetLocalConstantBooleanvEXT; -extern GLEW_EXPORT glGetLocalConstantIntegervEXTPROC glGetLocalConstantIntegervEXT; -extern GLEW_EXPORT glGetLocalConstantFloatvEXTPROC glGetLocalConstantFloatvEXT; +extern GLEW_EXPORT PFNGLBEGINVERTEXSHADEREXTPROC glBeginVertexShaderEXT; +extern GLEW_EXPORT PFNGLENDVERTEXSHADEREXTPROC glEndVertexShaderEXT; +extern GLEW_EXPORT PFNGLBINDVERTEXSHADEREXTPROC glBindVertexShaderEXT; +extern GLEW_EXPORT PFNGLGENVERTEXSHADERSEXTPROC glGenVertexShadersEXT; +extern GLEW_EXPORT PFNGLDELETEVERTEXSHADEREXTPROC glDeleteVertexShaderEXT; +extern GLEW_EXPORT PFNGLSHADEROP1EXTPROC glShaderOp1EXT; +extern GLEW_EXPORT PFNGLSHADEROP2EXTPROC glShaderOp2EXT; +extern GLEW_EXPORT PFNGLSHADEROP3EXTPROC glShaderOp3EXT; +extern GLEW_EXPORT PFNGLSWIZZLEEXTPROC glSwizzleEXT; +extern GLEW_EXPORT PFNGLWRITEMASKEXTPROC glWriteMaskEXT; +extern GLEW_EXPORT PFNGLINSERTCOMPONENTEXTPROC glInsertComponentEXT; +extern GLEW_EXPORT PFNGLEXTRACTCOMPONENTEXTPROC glExtractComponentEXT; +extern GLEW_EXPORT PFNGLGENSYMBOLSEXTPROC glGenSymbolsEXT; +extern GLEW_EXPORT PFNGLSETINVARIANTEXTPROC glSetInvariantEXT; +extern GLEW_EXPORT PFNGLSETLOCALCONSTANTEXTPROC glSetLocalConstantEXT; +extern GLEW_EXPORT PFNGLVARIANTBVEXTPROC glVariantbvEXT; +extern GLEW_EXPORT PFNGLVARIANTSVEXTPROC glVariantsvEXT; +extern GLEW_EXPORT PFNGLVARIANTIVEXTPROC glVariantivEXT; +extern GLEW_EXPORT PFNGLVARIANTFVEXTPROC glVariantfvEXT; +extern GLEW_EXPORT PFNGLVARIANTDVEXTPROC glVariantdvEXT; +extern GLEW_EXPORT PFNGLVARIANTUBVEXTPROC glVariantubvEXT; +extern GLEW_EXPORT PFNGLVARIANTUSVEXTPROC glVariantusvEXT; +extern GLEW_EXPORT PFNGLVARIANTUIVEXTPROC glVariantuivEXT; +extern GLEW_EXPORT PFNGLVARIANTPOINTEREXTPROC glVariantPointerEXT; +extern GLEW_EXPORT PFNGLENABLEVARIANTCLIENTSTATEEXTPROC glEnableVariantClientStateEXT; +extern GLEW_EXPORT PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC glDisableVariantClientStateEXT; +extern GLEW_EXPORT PFNGLBINDLIGHTPARAMETEREXTPROC glBindLightParameterEXT; +extern GLEW_EXPORT PFNGLBINDMATERIALPARAMETEREXTPROC glBindMaterialParameterEXT; +extern GLEW_EXPORT PFNGLBINDTEXGENPARAMETEREXTPROC glBindTexGenParameterEXT; +extern GLEW_EXPORT PFNGLBINDTEXTUREUNITPARAMETEREXTPROC glBindTextureUnitParameterEXT; +extern GLEW_EXPORT PFNGLBINDPARAMETEREXTPROC glBindParameterEXT; +extern GLEW_EXPORT PFNGLISVARIANTENABLEDEXTPROC glIsVariantEnabledEXT; +extern GLEW_EXPORT PFNGLGETVARIANTBOOLEANVEXTPROC glGetVariantBooleanvEXT; +extern GLEW_EXPORT PFNGLGETVARIANTINTEGERVEXTPROC glGetVariantIntegervEXT; +extern GLEW_EXPORT PFNGLGETVARIANTFLOATVEXTPROC glGetVariantFloatvEXT; +extern GLEW_EXPORT PFNGLGETVARIANTPOINTERVEXTPROC glGetVariantPointervEXT; +extern GLEW_EXPORT PFNGLGETINVARIANTBOOLEANVEXTPROC glGetInvariantBooleanvEXT; +extern GLEW_EXPORT PFNGLGETINVARIANTINTEGERVEXTPROC glGetInvariantIntegervEXT; +extern GLEW_EXPORT PFNGLGETINVARIANTFLOATVEXTPROC glGetInvariantFloatvEXT; +extern GLEW_EXPORT PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC glGetLocalConstantBooleanvEXT; +extern GLEW_EXPORT PFNGLGETLOCALCONSTANTINTEGERVEXTPROC glGetLocalConstantIntegervEXT; +extern GLEW_EXPORT PFNGLGETLOCALCONSTANTFLOATVEXTPROC glGetLocalConstantFloatvEXT; #endif /* GL_EXT_vertex_shader */ @@ -2997,13 +3020,13 @@ extern GLEW_EXPORT glGetLocalConstantFloatvEXTPROC glGetLocalConstantFloatvEXT; #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 -typedef void (APIENTRY * glVertexWeightfEXTPROC) (GLfloat weight); -typedef void (APIENTRY * glVertexWeightfvEXTPROC) (const GLfloat *weight); -typedef void (APIENTRY * glVertexWeightPointerEXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); +typedef void (APIENTRY * PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight); +typedef void (APIENTRY * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer); -extern GLEW_EXPORT glVertexWeightfEXTPROC glVertexWeightfEXT; -extern GLEW_EXPORT glVertexWeightfvEXTPROC glVertexWeightfvEXT; -extern GLEW_EXPORT glVertexWeightPointerEXTPROC glVertexWeightPointerEXT; +extern GLEW_EXPORT PFNGLVERTEXWEIGHTFEXTPROC glVertexWeightfEXT; +extern GLEW_EXPORT PFNGLVERTEXWEIGHTFVEXTPROC glVertexWeightfvEXT; +extern GLEW_EXPORT PFNGLVERTEXWEIGHTPOINTEREXTPROC glVertexWeightPointerEXT; #endif /* GL_EXT_vertex_weighting */ @@ -3072,9 +3095,9 @@ extern GLEW_EXPORT glVertexWeightPointerEXTPROC glVertexWeightPointerEXT; #ifdef GL_WIN_swap_hint -typedef void (APIENTRY * glAddSwapHintRectWinPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRY * PFNGLADDSWAPHINTRECTWINPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -extern GLEW_EXPORT glAddSwapHintRectWinPROC glAddSwapHintRectWin; +extern GLEW_EXPORT PFNGLADDSWAPHINTRECTWINPROC glAddSwapHintRectWin; #endif /* GL_WIN_swap_hint */ @@ -3100,9 +3123,9 @@ extern GLEW_EXPORT glAddSwapHintRectWinPROC glAddSwapHintRectWin; #define GL_DRAW_BUFFER14_ATI 0x8833 #define GL_DRAW_BUFFER15_ATI 0x8834 -typedef void (APIENTRY * glDrawBuffersATIPROC) (GLsizei n, const GLenum *bufs); +typedef void (APIENTRY * PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs); -extern GLEW_EXPORT glDrawBuffersATIPROC glDrawBuffersATI; +extern GLEW_EXPORT PFNGLDRAWBUFFERSATIPROC glDrawBuffersATI; #endif /* GL_ATI_draw_buffers */ @@ -3114,13 +3137,13 @@ extern GLEW_EXPORT glDrawBuffersATIPROC glDrawBuffersATI; #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A -typedef void (APIENTRY * glElementPointerATIPROC) (GLenum type, const GLvoid *pointer); -typedef void (APIENTRY * glDrawElementArrayATIPROC) (GLenum mode, GLsizei count); -typedef void (APIENTRY * glDrawRangeElementArrayATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count); +typedef void (APIENTRY * PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count); +typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count); -extern GLEW_EXPORT glElementPointerATIPROC glElementPointerATI; -extern GLEW_EXPORT glDrawElementArrayATIPROC glDrawElementArrayATI; -extern GLEW_EXPORT glDrawRangeElementArrayATIPROC glDrawRangeElementArrayATI; +extern GLEW_EXPORT PFNGLELEMENTPOINTERATIPROC glElementPointerATI; +extern GLEW_EXPORT PFNGLDRAWELEMENTARRAYATIPROC glDrawElementArrayATI; +extern GLEW_EXPORT PFNGLDRAWRANGEELEMENTARRAYATIPROC glDrawRangeElementArrayATI; #endif /* GL_ATI_element_array */ @@ -3137,15 +3160,15 @@ extern GLEW_EXPORT glDrawRangeElementArrayATIPROC glDrawRangeElementArrayATI; #define GL_BUMP_ENVMAP_ATI 0x877B #define GL_BUMP_TARGET_ATI 0x877C -typedef void (APIENTRY * glTexBumpParameterivATIPROC) (GLenum pname, GLint *param); -typedef void (APIENTRY * glTexBumpParameterfvATIPROC) (GLenum pname, GLfloat *param); -typedef void (APIENTRY * glGetTexBumpParameterivATIPROC) (GLenum pname, GLint *param); -typedef void (APIENTRY * glGetTexBumpParameterfvATIPROC) (GLenum pname, GLfloat *param); +typedef void (APIENTRY * PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); +typedef void (APIENTRY * PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); +typedef void (APIENTRY * PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); +typedef void (APIENTRY * PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); -extern GLEW_EXPORT glTexBumpParameterivATIPROC glTexBumpParameterivATI; -extern GLEW_EXPORT glTexBumpParameterfvATIPROC glTexBumpParameterfvATI; -extern GLEW_EXPORT glGetTexBumpParameterivATIPROC glGetTexBumpParameterivATI; -extern GLEW_EXPORT glGetTexBumpParameterfvATIPROC glGetTexBumpParameterfvATI; +extern GLEW_EXPORT PFNGLTEXBUMPPARAMETERIVATIPROC glTexBumpParameterivATI; +extern GLEW_EXPORT PFNGLTEXBUMPPARAMETERFVATIPROC glTexBumpParameterfvATI; +extern GLEW_EXPORT PFNGLGETTEXBUMPPARAMETERIVATIPROC glGetTexBumpParameterivATI; +extern GLEW_EXPORT PFNGLGETTEXBUMPPARAMETERFVATIPROC glGetTexBumpParameterfvATI; #endif /* GL_ATI_envmap_bumpmap */ @@ -3258,35 +3281,35 @@ extern GLEW_EXPORT glGetTexBumpParameterfvATIPROC glGetTexBumpParameterfvATI; #define GL_NEGATE_BIT_ATI 0x00000004 #define GL_BIAS_BIT_ATI 0x00000008 -typedef GLuint (APIENTRY * glGenFragmentShadersATIPROC) (GLuint range); -typedef void (APIENTRY * glBindFragmentShaderATIPROC) (GLuint id); -typedef void (APIENTRY * glDeleteFragmentShaderATIPROC) (GLuint id); -typedef void (APIENTRY * glBeginFragmentShaderATIPROC) (GLvoid); -typedef void (APIENTRY * glEndFragmentShaderATIPROC) (GLvoid); -typedef void (APIENTRY * glPassTexCoordATIPROC) (GLuint dst, GLuint coord, GLenum swizzle); -typedef void (APIENTRY * glSampleMapATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); -typedef void (APIENTRY * glColorFragmentOp1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -typedef void (APIENTRY * glColorFragmentOp2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -typedef void (APIENTRY * glColorFragmentOp3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -typedef void (APIENTRY * glAlphaFragmentOp1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -typedef void (APIENTRY * glAlphaFragmentOp2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -typedef void (APIENTRY * glAlphaFragmentOp3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -typedef void (APIENTRY * glSetFragmentShaderConstantATIPROC) (GLuint dst, const GLfloat *value); +typedef GLuint (APIENTRY * PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range); +typedef void (APIENTRY * PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id); +typedef void (APIENTRY * PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id); +typedef void (APIENTRY * PFNGLBEGINFRAGMENTSHADERATIPROC) (GLvoid); +typedef void (APIENTRY * PFNGLENDFRAGMENTSHADERATIPROC) (GLvoid); +typedef void (APIENTRY * PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle); +typedef void (APIENTRY * PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); +typedef void (APIENTRY * PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); +typedef void (APIENTRY * PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); +typedef void (APIENTRY * PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); +typedef void (APIENTRY * PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); +typedef void (APIENTRY * PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); +typedef void (APIENTRY * PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); +typedef void (APIENTRY * PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value); -extern GLEW_EXPORT glGenFragmentShadersATIPROC glGenFragmentShadersATI; -extern GLEW_EXPORT glBindFragmentShaderATIPROC glBindFragmentShaderATI; -extern GLEW_EXPORT glDeleteFragmentShaderATIPROC glDeleteFragmentShaderATI; -extern GLEW_EXPORT glBeginFragmentShaderATIPROC glBeginFragmentShaderATI; -extern GLEW_EXPORT glEndFragmentShaderATIPROC glEndFragmentShaderATI; -extern GLEW_EXPORT glPassTexCoordATIPROC glPassTexCoordATI; -extern GLEW_EXPORT glSampleMapATIPROC glSampleMapATI; -extern GLEW_EXPORT glColorFragmentOp1ATIPROC glColorFragmentOp1ATI; -extern GLEW_EXPORT glColorFragmentOp2ATIPROC glColorFragmentOp2ATI; -extern GLEW_EXPORT glColorFragmentOp3ATIPROC glColorFragmentOp3ATI; -extern GLEW_EXPORT glAlphaFragmentOp1ATIPROC glAlphaFragmentOp1ATI; -extern GLEW_EXPORT glAlphaFragmentOp2ATIPROC glAlphaFragmentOp2ATI; -extern GLEW_EXPORT glAlphaFragmentOp3ATIPROC glAlphaFragmentOp3ATI; -extern GLEW_EXPORT glSetFragmentShaderConstantATIPROC glSetFragmentShaderConstantATI; +extern GLEW_EXPORT PFNGLGENFRAGMENTSHADERSATIPROC glGenFragmentShadersATI; +extern GLEW_EXPORT PFNGLBINDFRAGMENTSHADERATIPROC glBindFragmentShaderATI; +extern GLEW_EXPORT PFNGLDELETEFRAGMENTSHADERATIPROC glDeleteFragmentShaderATI; +extern GLEW_EXPORT PFNGLBEGINFRAGMENTSHADERATIPROC glBeginFragmentShaderATI; +extern GLEW_EXPORT PFNGLENDFRAGMENTSHADERATIPROC glEndFragmentShaderATI; +extern GLEW_EXPORT PFNGLPASSTEXCOORDATIPROC glPassTexCoordATI; +extern GLEW_EXPORT PFNGLSAMPLEMAPATIPROC glSampleMapATI; +extern GLEW_EXPORT PFNGLCOLORFRAGMENTOP1ATIPROC glColorFragmentOp1ATI; +extern GLEW_EXPORT PFNGLCOLORFRAGMENTOP2ATIPROC glColorFragmentOp2ATI; +extern GLEW_EXPORT PFNGLCOLORFRAGMENTOP3ATIPROC glColorFragmentOp3ATI; +extern GLEW_EXPORT PFNGLALPHAFRAGMENTOP1ATIPROC glAlphaFragmentOp1ATI; +extern GLEW_EXPORT PFNGLALPHAFRAGMENTOP2ATIPROC glAlphaFragmentOp2ATI; +extern GLEW_EXPORT PFNGLALPHAFRAGMENTOP3ATIPROC glAlphaFragmentOp3ATI; +extern GLEW_EXPORT PFNGLSETFRAGMENTSHADERCONSTANTATIPROC glSetFragmentShaderConstantATI; #endif /* GL_ATI_fragment_shader */ @@ -3294,11 +3317,11 @@ extern GLEW_EXPORT glSetFragmentShaderConstantATIPROC glSetFragmentShaderConstan #ifdef GL_ATI_map_object_buffer -typedef void *(APIENTRY * glMapObjectBufferATIPROC)(GLuint buffer); -typedef void (APIENTRY * glUnmapObjectBufferATIPROC)(GLuint buffer); +typedef void *(APIENTRY * PFNGLMAPOBJECTBUFFERATIPROC)(GLuint buffer); +typedef void (APIENTRY * PFNGLUNMAPOBJECTBUFFERATIPROC)(GLuint buffer); -extern GLEW_EXPORT glMapObjectBufferATIPROC glMapObjectBufferATI; -extern GLEW_EXPORT glUnmapObjectBufferATIPROC glUnmapObjectBufferATI; +extern GLEW_EXPORT PFNGLMAPOBJECTBUFFERATIPROC glMapObjectBufferATI; +extern GLEW_EXPORT PFNGLUNMAPOBJECTBUFFERATIPROC glUnmapObjectBufferATI; #endif /* GL_ATI_map_object_buffer */ @@ -3310,11 +3333,11 @@ extern GLEW_EXPORT glUnmapObjectBufferATIPROC glUnmapObjectBufferATI; #define GL_MAPPED_TEXTURE_ROW_STRIDE_ATI 0x8821 #define GL_MAPPED_TEXTURE_LAYER_STRIDE_ATI 0x8822 -typedef void (APIENTRY * glMapTexture3DPROC) (GLenum level, GLvoid **buffer); -typedef void (APIENTRY * glUnmapTexture3DPROC) (void); +typedef void (APIENTRY * PFNGLMAPTEXTURE3DPROC) (GLenum level, GLvoid **buffer); +typedef void (APIENTRY * PFNGLUNMAPTEXTURE3DPROC) (void); -extern GLEW_EXPORT glMapTexture3DPROC glMapTexture3D; -extern GLEW_EXPORT glUnmapTexture3DPROC glUnmapTexture3D; +extern GLEW_EXPORT PFNGLMAPTEXTURE3DPROC glMapTexture3D; +extern GLEW_EXPORT PFNGLUNMAPTEXTURE3DPROC glUnmapTexture3D; #endif /* GL_ATI_mapped_texture */ @@ -3332,11 +3355,11 @@ extern GLEW_EXPORT glUnmapTexture3DPROC glUnmapTexture3D; #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 -typedef void (APIENTRY * glPNTrianglesiATIPROC) (GLenum pname, GLint param); -typedef void (APIENTRY * glPNTrianglesfATIPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param); +typedef void (APIENTRY * PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param); -extern GLEW_EXPORT glPNTrianglesiATIPROC glPNTrianglesiATI; -extern GLEW_EXPORT glPNTrianglesfATIPROC glPNTrianglesfATI; +extern GLEW_EXPORT PFNGLPNTRIANGLESIATIPROC glPNTrianglesiATI; +extern GLEW_EXPORT PFNGLPNTRIANGLESFATIPROC glPNTrianglesfATI; #endif /* GL_ATI_pn_triangles */ @@ -3359,11 +3382,11 @@ extern GLEW_EXPORT glPNTrianglesfATIPROC glPNTrianglesfATI; #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 -typedef void (APIENTRY * glStencilOpSeparateATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (APIENTRY * glStencilFuncSeparateATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); +typedef void (APIENTRY * PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +typedef void (APIENTRY * PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); -extern GLEW_EXPORT glStencilOpSeparateATIPROC glStencilOpSeparateATI; -extern GLEW_EXPORT glStencilFuncSeparateATIPROC glStencilFuncSeparateATI; +extern GLEW_EXPORT PFNGLSTENCILOPSEPARATEATIPROC glStencilOpSeparateATI; +extern GLEW_EXPORT PFNGLSTENCILFUNCSEPARATEATIPROC glStencilFuncSeparateATI; #endif /* GL_ATI_separate_stencil */ @@ -3407,15 +3430,15 @@ extern GLEW_EXPORT glStencilFuncSeparateATIPROC glStencilFuncSeparateATI; #ifdef GL_ATI_timestamp -typedef void (APIENTRY * glNewTimeStampPROC) (GLvoid **); -typedef void (APIENTRY * glDeleteTimeStampPROC) (GLvoid *); -typedef void (APIENTRY * glSendTimeStampPROC) (GLvoid *); -typedef void (APIENTRY * glWaitTimeStampPROC) (GLvoid *); +typedef void (APIENTRY * PFNGLNEWTIMESTAMPPROC) (GLvoid **); +typedef void (APIENTRY * PFNGLDELETETIMESTAMPPROC) (GLvoid *); +typedef void (APIENTRY * PFNGLSENDTIMESTAMPPROC) (GLvoid *); +typedef void (APIENTRY * PFNGLWAITTIMESTAMPPROC) (GLvoid *); -extern GLEW_EXPORT glNewTimeStampPROC glNewTimeStamp; -extern GLEW_EXPORT glDeleteTimeStampPROC glDeleteTimeStamp; -extern GLEW_EXPORT glSendTimeStampPROC glSendTimeStamp; -extern GLEW_EXPORT glWaitTimeStampPROC glWaitTimeStamp; +extern GLEW_EXPORT PFNGLNEWTIMESTAMPPROC glNewTimeStamp; +extern GLEW_EXPORT PFNGLDELETETIMESTAMPPROC glDeleteTimeStamp; +extern GLEW_EXPORT PFNGLSENDTIMESTAMPPROC glSendTimeStamp; +extern GLEW_EXPORT PFNGLWAITTIMESTAMPPROC glWaitTimeStamp; #endif /* GL_ATI_timestamp */ @@ -3432,31 +3455,31 @@ extern GLEW_EXPORT glWaitTimeStampPROC glWaitTimeStamp; #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 -typedef GLuint (APIENTRY * glNewObjectBufferATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage); -typedef GLboolean (APIENTRY * glIsObjectBufferATIPROC) (GLuint buffer); -typedef void (APIENTRY * glUpdateObjectBufferATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve); -typedef void (APIENTRY * glGetObjectBufferfvATIPROC) (GLuint buffer, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetObjectBufferivATIPROC) (GLuint buffer, GLenum pname, GLint *params); -typedef void (APIENTRY * glFreeObjectBufferATIPROC) (GLuint buffer); -typedef void (APIENTRY * glArrayObjectATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRY * glGetArrayObjectfvATIPROC) (GLenum array, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetArrayObjectivATIPROC) (GLenum array, GLenum pname, GLint *params); -typedef void (APIENTRY * glVariantArrayObjectATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRY * glGetVariantArrayObjectfvATIPROC) (GLuint id, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetVariantArrayObjectivATIPROC) (GLuint id, GLenum pname, GLint *params); +typedef GLuint (APIENTRY * PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage); +typedef GLboolean (APIENTRY * PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer); +typedef void (APIENTRY * PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve); +typedef void (APIENTRY * PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer); +typedef void (APIENTRY * PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); +typedef void (APIENTRY * PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); +typedef void (APIENTRY * PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params); -extern GLEW_EXPORT glNewObjectBufferATIPROC glNewObjectBufferATI; -extern GLEW_EXPORT glIsObjectBufferATIPROC glIsObjectBufferATI; -extern GLEW_EXPORT glUpdateObjectBufferATIPROC glUpdateObjectBufferATI; -extern GLEW_EXPORT glGetObjectBufferfvATIPROC glGetObjectBufferfvATI; -extern GLEW_EXPORT glGetObjectBufferivATIPROC glGetObjectBufferivATI; -extern GLEW_EXPORT glFreeObjectBufferATIPROC glFreeObjectBufferATI; -extern GLEW_EXPORT glArrayObjectATIPROC glArrayObjectATI; -extern GLEW_EXPORT glGetArrayObjectfvATIPROC glGetArrayObjectfvATI; -extern GLEW_EXPORT glGetArrayObjectivATIPROC glGetArrayObjectivATI; -extern GLEW_EXPORT glVariantArrayObjectATIPROC glVariantArrayObjectATI; -extern GLEW_EXPORT glGetVariantArrayObjectfvATIPROC glGetVariantArrayObjectfvATI; -extern GLEW_EXPORT glGetVariantArrayObjectivATIPROC glGetVariantArrayObjectivATI; +extern GLEW_EXPORT PFNGLNEWOBJECTBUFFERATIPROC glNewObjectBufferATI; +extern GLEW_EXPORT PFNGLISOBJECTBUFFERATIPROC glIsObjectBufferATI; +extern GLEW_EXPORT PFNGLUPDATEOBJECTBUFFERATIPROC glUpdateObjectBufferATI; +extern GLEW_EXPORT PFNGLGETOBJECTBUFFERFVATIPROC glGetObjectBufferfvATI; +extern GLEW_EXPORT PFNGLGETOBJECTBUFFERIVATIPROC glGetObjectBufferivATI; +extern GLEW_EXPORT PFNGLFREEOBJECTBUFFERATIPROC glFreeObjectBufferATI; +extern GLEW_EXPORT PFNGLARRAYOBJECTATIPROC glArrayObjectATI; +extern GLEW_EXPORT PFNGLGETARRAYOBJECTFVATIPROC glGetArrayObjectfvATI; +extern GLEW_EXPORT PFNGLGETARRAYOBJECTIVATIPROC glGetArrayObjectivATI; +extern GLEW_EXPORT PFNGLVARIANTARRAYOBJECTATIPROC glVariantArrayObjectATI; +extern GLEW_EXPORT PFNGLGETVARIANTARRAYOBJECTFVATIPROC glGetVariantArrayObjectfvATI; +extern GLEW_EXPORT PFNGLGETVARIANTARRAYOBJECTIVATIPROC glGetVariantArrayObjectivATI; #endif /* GL_ATI_vertex_array_object */ @@ -3464,13 +3487,13 @@ extern GLEW_EXPORT glGetVariantArrayObjectivATIPROC glGetVariantArrayObjectivATI #ifdef GL_ATI_vertex_attrib_array_object -typedef void (APIENTRY * glVertexAttribArrayObjectATIPROC)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRY * glGetVertexAttribArrayObjectfvATIPROC)(GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetVertexAttribArrayObjectivATIPROC)(GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLVERTEXATTRIBARRAYOBJECTATIPROC)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); +typedef void (APIENTRY * PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC)(GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC)(GLuint index, GLenum pname, GLint *params); -extern GLEW_EXPORT glVertexAttribArrayObjectATIPROC glVertexAttribArrayObjectATI; -extern GLEW_EXPORT glGetVertexAttribArrayObjectfvATIPROC glGetVertexAttribArrayObjectfvATI; -extern GLEW_EXPORT glGetVertexAttribArrayObjectivATIPROC glGetVertexAttribArrayObjectivATI; +extern GLEW_EXPORT PFNGLVERTEXATTRIBARRAYOBJECTATIPROC glVertexAttribArrayObjectATI; +extern GLEW_EXPORT PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC glGetVertexAttribArrayObjectfvATI; +extern GLEW_EXPORT PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC glGetVertexAttribArrayObjectivATI; #endif /* GL_ATI_vertex_attrib_array_object */ @@ -3489,81 +3512,81 @@ extern GLEW_EXPORT glGetVertexAttribArrayObjectivATIPROC glGetVertexAttribArrayO #define GL_VERTEX_STREAM6_ATI 0x8773 #define GL_VERTEX_STREAM7_ATI 0x8774 -typedef void (APIENTRY * glClientActiveVertexStreamATIPROC) (GLenum stream); -typedef void (APIENTRY * glVertexBlendEnviATIPROC) (GLenum pname, GLint param); -typedef void (APIENTRY * glVertexBlendEnvfATIPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRY * glVertexStream2sATIPROC) (GLenum stream, GLshort x, GLshort y); -typedef void (APIENTRY * glVertexStream2svATIPROC) (GLenum stream, const GLshort *v); -typedef void (APIENTRY * glVertexStream2iATIPROC) (GLenum stream, GLint x, GLint y); -typedef void (APIENTRY * glVertexStream2ivATIPROC) (GLenum stream, const GLint *v); -typedef void (APIENTRY * glVertexStream2fATIPROC) (GLenum stream, GLfloat x, GLfloat y); -typedef void (APIENTRY * glVertexStream2fvATIPROC) (GLenum stream, const GLfloat *v); -typedef void (APIENTRY * glVertexStream2dATIPROC) (GLenum stream, GLdouble x, GLdouble y); -typedef void (APIENTRY * glVertexStream2dvATIPROC) (GLenum stream, const GLdouble *v); -typedef void (APIENTRY * glVertexStream3sATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRY * glVertexStream3svATIPROC) (GLenum stream, const GLshort *v); -typedef void (APIENTRY * glVertexStream3iATIPROC) (GLenum stream, GLint x, GLint y, GLint z); -typedef void (APIENTRY * glVertexStream3ivATIPROC) (GLenum stream, const GLint *v); -typedef void (APIENTRY * glVertexStream3fATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRY * glVertexStream3fvATIPROC) (GLenum stream, const GLfloat *v); -typedef void (APIENTRY * glVertexStream3dATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRY * glVertexStream3dvATIPROC) (GLenum stream, const GLdouble *v); -typedef void (APIENTRY * glVertexStream4sATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRY * glVertexStream4svATIPROC) (GLenum stream, const GLshort *v); -typedef void (APIENTRY * glVertexStream4iATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRY * glVertexStream4ivATIPROC) (GLenum stream, const GLint *v); -typedef void (APIENTRY * glVertexStream4fATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRY * glVertexStream4fvATIPROC) (GLenum stream, const GLfloat *v); -typedef void (APIENTRY * glVertexStream4dATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRY * glVertexStream4dvATIPROC) (GLenum stream, const GLdouble *v); -typedef void (APIENTRY * glNormalStream3bATIPROC) (GLenum stream, GLbyte x, GLbyte y, GLbyte z); -typedef void (APIENTRY * glNormalStream3bvATIPROC) (GLenum stream, const GLbyte *v); -typedef void (APIENTRY * glNormalStream3sATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRY * glNormalStream3svATIPROC) (GLenum stream, const GLshort *v); -typedef void (APIENTRY * glNormalStream3iATIPROC) (GLenum stream, GLint x, GLint y, GLint z); -typedef void (APIENTRY * glNormalStream3ivATIPROC) (GLenum stream, const GLint *v); -typedef void (APIENTRY * glNormalStream3fATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRY * glNormalStream3fvATIPROC) (GLenum stream, const GLfloat *v); -typedef void (APIENTRY * glNormalStream3dATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRY * glNormalStream3dvATIPROC) (GLenum stream, const GLdouble *v); +typedef void (APIENTRY * PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream); +typedef void (APIENTRY * PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param); +typedef void (APIENTRY * PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); +typedef void (APIENTRY * PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y); +typedef void (APIENTRY * PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *v); +typedef void (APIENTRY * PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y); +typedef void (APIENTRY * PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y); +typedef void (APIENTRY * PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRY * PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); +typedef void (APIENTRY * PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *v); +typedef void (APIENTRY * PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRY * PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRY * PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); +typedef void (APIENTRY * PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *v); +typedef void (APIENTRY * PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRY * PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *v); +typedef void (APIENTRY * PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte x, GLbyte y, GLbyte z); +typedef void (APIENTRY * PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *v); +typedef void (APIENTRY * PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRY * PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *v); +typedef void (APIENTRY * PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); +typedef void (APIENTRY * PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *v); +typedef void (APIENTRY * PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *v); +typedef void (APIENTRY * PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRY * PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *v); -extern GLEW_EXPORT glClientActiveVertexStreamATIPROC glClientActiveVertexStreamATI; -extern GLEW_EXPORT glVertexBlendEnviATIPROC glVertexBlendEnviATI; -extern GLEW_EXPORT glVertexBlendEnvfATIPROC glVertexBlendEnvfATI; -extern GLEW_EXPORT glVertexStream2sATIPROC glVertexStream2sATI; -extern GLEW_EXPORT glVertexStream2svATIPROC glVertexStream2svATI; -extern GLEW_EXPORT glVertexStream2iATIPROC glVertexStream2iATI; -extern GLEW_EXPORT glVertexStream2ivATIPROC glVertexStream2ivATI; -extern GLEW_EXPORT glVertexStream2fATIPROC glVertexStream2fATI; -extern GLEW_EXPORT glVertexStream2fvATIPROC glVertexStream2fvATI; -extern GLEW_EXPORT glVertexStream2dATIPROC glVertexStream2dATI; -extern GLEW_EXPORT glVertexStream2dvATIPROC glVertexStream2dvATI; -extern GLEW_EXPORT glVertexStream3sATIPROC glVertexStream3sATI; -extern GLEW_EXPORT glVertexStream3svATIPROC glVertexStream3svATI; -extern GLEW_EXPORT glVertexStream3iATIPROC glVertexStream3iATI; -extern GLEW_EXPORT glVertexStream3ivATIPROC glVertexStream3ivATI; -extern GLEW_EXPORT glVertexStream3fATIPROC glVertexStream3fATI; -extern GLEW_EXPORT glVertexStream3fvATIPROC glVertexStream3fvATI; -extern GLEW_EXPORT glVertexStream3dATIPROC glVertexStream3dATI; -extern GLEW_EXPORT glVertexStream3dvATIPROC glVertexStream3dvATI; -extern GLEW_EXPORT glVertexStream4sATIPROC glVertexStream4sATI; -extern GLEW_EXPORT glVertexStream4svATIPROC glVertexStream4svATI; -extern GLEW_EXPORT glVertexStream4iATIPROC glVertexStream4iATI; -extern GLEW_EXPORT glVertexStream4ivATIPROC glVertexStream4ivATI; -extern GLEW_EXPORT glVertexStream4fATIPROC glVertexStream4fATI; -extern GLEW_EXPORT glVertexStream4fvATIPROC glVertexStream4fvATI; -extern GLEW_EXPORT glVertexStream4dATIPROC glVertexStream4dATI; -extern GLEW_EXPORT glVertexStream4dvATIPROC glVertexStream4dvATI; -extern GLEW_EXPORT glNormalStream3bATIPROC glNormalStream3bATI; -extern GLEW_EXPORT glNormalStream3bvATIPROC glNormalStream3bvATI; -extern GLEW_EXPORT glNormalStream3sATIPROC glNormalStream3sATI; -extern GLEW_EXPORT glNormalStream3svATIPROC glNormalStream3svATI; -extern GLEW_EXPORT glNormalStream3iATIPROC glNormalStream3iATI; -extern GLEW_EXPORT glNormalStream3ivATIPROC glNormalStream3ivATI; -extern GLEW_EXPORT glNormalStream3fATIPROC glNormalStream3fATI; -extern GLEW_EXPORT glNormalStream3fvATIPROC glNormalStream3fvATI; -extern GLEW_EXPORT glNormalStream3dATIPROC glNormalStream3dATI; -extern GLEW_EXPORT glNormalStream3dvATIPROC glNormalStream3dvATI; +extern GLEW_EXPORT PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC glClientActiveVertexStreamATI; +extern GLEW_EXPORT PFNGLVERTEXBLENDENVIATIPROC glVertexBlendEnviATI; +extern GLEW_EXPORT PFNGLVERTEXBLENDENVFATIPROC glVertexBlendEnvfATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM2SATIPROC glVertexStream2sATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM2SVATIPROC glVertexStream2svATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM2IATIPROC glVertexStream2iATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM2IVATIPROC glVertexStream2ivATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM2FATIPROC glVertexStream2fATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM2FVATIPROC glVertexStream2fvATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM2DATIPROC glVertexStream2dATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM2DVATIPROC glVertexStream2dvATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM3SATIPROC glVertexStream3sATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM3SVATIPROC glVertexStream3svATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM3IATIPROC glVertexStream3iATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM3IVATIPROC glVertexStream3ivATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM3FATIPROC glVertexStream3fATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM3FVATIPROC glVertexStream3fvATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM3DATIPROC glVertexStream3dATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM3DVATIPROC glVertexStream3dvATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM4SATIPROC glVertexStream4sATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM4SVATIPROC glVertexStream4svATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM4IATIPROC glVertexStream4iATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM4IVATIPROC glVertexStream4ivATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM4FATIPROC glVertexStream4fATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM4FVATIPROC glVertexStream4fvATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM4DATIPROC glVertexStream4dATI; +extern GLEW_EXPORT PFNGLVERTEXSTREAM4DVATIPROC glVertexStream4dvATI; +extern GLEW_EXPORT PFNGLNORMALSTREAM3BATIPROC glNormalStream3bATI; +extern GLEW_EXPORT PFNGLNORMALSTREAM3BVATIPROC glNormalStream3bvATI; +extern GLEW_EXPORT PFNGLNORMALSTREAM3SATIPROC glNormalStream3sATI; +extern GLEW_EXPORT PFNGLNORMALSTREAM3SVATIPROC glNormalStream3svATI; +extern GLEW_EXPORT PFNGLNORMALSTREAM3IATIPROC glNormalStream3iATI; +extern GLEW_EXPORT PFNGLNORMALSTREAM3IVATIPROC glNormalStream3ivATI; +extern GLEW_EXPORT PFNGLNORMALSTREAM3FATIPROC glNormalStream3fATI; +extern GLEW_EXPORT PFNGLNORMALSTREAM3FVATIPROC glNormalStream3fvATI; +extern GLEW_EXPORT PFNGLNORMALSTREAM3DATIPROC glNormalStream3dATI; +extern GLEW_EXPORT PFNGLNORMALSTREAM3DVATIPROC glNormalStream3dvATI; #endif /* GL_ATI_vertex_streams */ @@ -3634,17 +3657,17 @@ extern GLEW_EXPORT glNormalStream3dvATIPROC glNormalStream3dvATI; #define GL_ELEMENT_ARRAY_TYPE_NV 0x8769 #define GL_ELEMENT_ARRAY_POINTER_NV 0x876A -typedef void (APIENTRY * glElementPointerNVPROC) (GLenum type, const GLvoid *pointer); -typedef void (APIENTRY * glDrawElementArrayNVPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (APIENTRY * glDrawRangeElementArrayNVPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); -typedef void (APIENTRY * glMultiDrawElementArrayNVPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -typedef void (APIENTRY * glMultiDrawRangeElementArrayNVPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); +typedef void (APIENTRY * PFNGLELEMENTPOINTERNVPROC) (GLenum type, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLDRAWELEMENTARRAYNVPROC) (GLenum mode, GLint first, GLsizei count); +typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTARRAYNVPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); +typedef void (APIENTRY * PFNGLMULTIDRAWELEMENTARRAYNVPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +typedef void (APIENTRY * PFNGLMULTIDRAWRANGEELEMENTARRAYNVPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); -extern GLEW_EXPORT glElementPointerNVPROC glElementPointerNV; -extern GLEW_EXPORT glDrawElementArrayNVPROC glDrawElementArrayNV; -extern GLEW_EXPORT glDrawRangeElementArrayNVPROC glDrawRangeElementArrayNV; -extern GLEW_EXPORT glMultiDrawElementArrayNVPROC glMultiDrawElementArrayNV; -extern GLEW_EXPORT glMultiDrawRangeElementArrayNVPROC glMultiDrawRangeElementArrayNV; +extern GLEW_EXPORT PFNGLELEMENTPOINTERNVPROC glElementPointerNV; +extern GLEW_EXPORT PFNGLDRAWELEMENTARRAYNVPROC glDrawElementArrayNV; +extern GLEW_EXPORT PFNGLDRAWRANGEELEMENTARRAYNVPROC glDrawRangeElementArrayNV; +extern GLEW_EXPORT PFNGLMULTIDRAWELEMENTARRAYNVPROC glMultiDrawElementArrayNV; +extern GLEW_EXPORT PFNGLMULTIDRAWRANGEELEMENTARRAYNVPROC glMultiDrawRangeElementArrayNV; #endif /* GL_NV_element_array */ @@ -3677,25 +3700,25 @@ extern GLEW_EXPORT glMultiDrawRangeElementArrayNVPROC glMultiDrawRangeElementArr #define GL_MAX_MAP_TESSELLATION_NV 0x86D6 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 -typedef void (APIENTRY * glMapControlPointsNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points); -typedef void (APIENTRY * glMapParameterivNVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRY * glMapParameterfvNVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRY * glGetMapControlPointsNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points); -typedef void (APIENTRY * glGetMapParameterivNVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRY * glGetMapParameterfvNVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetMapAttribParameterivNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRY * glGetMapAttribParameterfvNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glEvalMapsNVPROC) (GLenum target, GLenum mode); +typedef void (APIENTRY * PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points); +typedef void (APIENTRY * PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRY * PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRY * PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points); +typedef void (APIENTRY * PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); -extern GLEW_EXPORT glMapControlPointsNVPROC glMapControlPointsNV; -extern GLEW_EXPORT glMapParameterivNVPROC glMapParameterivNV; -extern GLEW_EXPORT glMapParameterfvNVPROC glMapParameterfvNV; -extern GLEW_EXPORT glGetMapControlPointsNVPROC glGetMapControlPointsNV; -extern GLEW_EXPORT glGetMapParameterivNVPROC glGetMapParameterivNV; -extern GLEW_EXPORT glGetMapParameterfvNVPROC glGetMapParameterfvNV; -extern GLEW_EXPORT glGetMapAttribParameterivNVPROC glGetMapAttribParameterivNV; -extern GLEW_EXPORT glGetMapAttribParameterfvNVPROC glGetMapAttribParameterfvNV; -extern GLEW_EXPORT glEvalMapsNVPROC glEvalMapsNV; +extern GLEW_EXPORT PFNGLMAPCONTROLPOINTSNVPROC glMapControlPointsNV; +extern GLEW_EXPORT PFNGLMAPPARAMETERIVNVPROC glMapParameterivNV; +extern GLEW_EXPORT PFNGLMAPPARAMETERFVNVPROC glMapParameterfvNV; +extern GLEW_EXPORT PFNGLGETMAPCONTROLPOINTSNVPROC glGetMapControlPointsNV; +extern GLEW_EXPORT PFNGLGETMAPPARAMETERIVNVPROC glGetMapParameterivNV; +extern GLEW_EXPORT PFNGLGETMAPPARAMETERFVNVPROC glGetMapParameterfvNV; +extern GLEW_EXPORT PFNGLGETMAPATTRIBPARAMETERIVNVPROC glGetMapAttribParameterivNV; +extern GLEW_EXPORT PFNGLGETMAPATTRIBPARAMETERFVNVPROC glGetMapAttribParameterfvNV; +extern GLEW_EXPORT PFNGLEVALMAPSNVPROC glEvalMapsNV; #endif /* GL_NV_evaluators */ @@ -3707,21 +3730,21 @@ extern GLEW_EXPORT glEvalMapsNVPROC glEvalMapsNV; #define GL_FENCE_STATUS_NV 0x84F3 #define GL_FENCE_CONDITION_NV 0x84F4 -typedef void (APIENTRY * glGenFencesNVPROC) (GLsizei n, GLuint *fences); -typedef void (APIENTRY * glDeleteFencesNVPROC) (GLsizei n, const GLuint *fences); -typedef void (APIENTRY * glSetFenceNVPROC) (GLuint fence, GLenum condition); -typedef GLboolean (APIENTRY * glTestFenceNVPROC) (GLuint fence); -typedef void (APIENTRY * glFinishFenceNVPROC) (GLuint fence); -typedef GLboolean (APIENTRY * glIsFenceNVPROC) (GLuint fence); -typedef void (APIENTRY * glGetFenceivNVPROC) (GLuint fence, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); +typedef void (APIENTRY * PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); +typedef void (APIENTRY * PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); +typedef GLboolean (APIENTRY * PFNGLTESTFENCENVPROC) (GLuint fence); +typedef void (APIENTRY * PFNGLFINISHFENCENVPROC) (GLuint fence); +typedef GLboolean (APIENTRY * PFNGLISFENCENVPROC) (GLuint fence); +typedef void (APIENTRY * PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); -extern GLEW_EXPORT glGenFencesNVPROC glGenFencesNV; -extern GLEW_EXPORT glDeleteFencesNVPROC glDeleteFencesNV; -extern GLEW_EXPORT glSetFenceNVPROC glSetFenceNV; -extern GLEW_EXPORT glTestFenceNVPROC glTestFenceNV; -extern GLEW_EXPORT glFinishFenceNVPROC glFinishFenceNV; -extern GLEW_EXPORT glIsFenceNVPROC glIsFenceNV; -extern GLEW_EXPORT glGetFenceivNVPROC glGetFenceivNV; +extern GLEW_EXPORT PFNGLGENFENCESNVPROC glGenFencesNV; +extern GLEW_EXPORT PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +extern GLEW_EXPORT PFNGLSETFENCENVPROC glSetFenceNV; +extern GLEW_EXPORT PFNGLTESTFENCENVPROC glTestFenceNV; +extern GLEW_EXPORT PFNGLFINISHFENCENVPROC glFinishFenceNV; +extern GLEW_EXPORT PFNGLISFENCENVPROC glIsFenceNV; +extern GLEW_EXPORT PFNGLGETFENCEIVNVPROC glGetFenceivNV; #endif /* GL_NV_fence */ @@ -3769,36 +3792,36 @@ extern GLEW_EXPORT glGetFenceivNVPROC glGetFenceivNV; #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 #define GL_PROGRAM_ERROR_STRING_NV 0x8874 -typedef void (APIENTRY * glProgramNamedParameter4fNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRY * glProgramNamedParameter4dNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRY * glProgramNamedParameter4fvNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat v[]); -typedef void (APIENTRY * glProgramNamedParameter4dvNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble v[]); -typedef void (APIENTRY * glGetProgramNamedParameterfvNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); -typedef void (APIENTRY * glGetProgramNamedParameterdvNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); +typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat v[]); +typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble v[]); +typedef void (APIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); +typedef void (APIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); #ifndef GL_ARB_vertex_program -typedef void (APIENTRY * glProgramLocalParameter4dARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRY * glProgramLocalParameter4dvARBPROC) (GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRY * glProgramLocalParameter4fARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRY * glProgramLocalParameter4fvARBPROC) (GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRY * glGetProgramLocalParameterdvARBPROC) (GLenum target, GLuint index, GLdouble *params); -typedef void (APIENTRY * glGetProgramLocalParameterfvARBPROC) (GLenum target, GLuint index, GLfloat *params); +typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); +typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); +typedef void (APIENTRY * PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); +typedef void (APIENTRY * PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); #endif /* GL_ARB_vertex_program */ -extern GLEW_EXPORT glProgramNamedParameter4fNVPROC glProgramNamedParameter4fNV; -extern GLEW_EXPORT glProgramNamedParameter4dNVPROC glProgramNamedParameter4dNV; -extern GLEW_EXPORT glProgramNamedParameter4fvNVPROC glProgramNamedParameter4fvNV; -extern GLEW_EXPORT glProgramNamedParameter4dvNVPROC glProgramNamedParameter4dvNV; -extern GLEW_EXPORT glGetProgramNamedParameterfvNVPROC glGetProgramNamedParameterfvNV; -extern GLEW_EXPORT glGetProgramNamedParameterdvNVPROC glGetProgramNamedParameterdvNV; +extern GLEW_EXPORT PFNGLPROGRAMNAMEDPARAMETER4FNVPROC glProgramNamedParameter4fNV; +extern GLEW_EXPORT PFNGLPROGRAMNAMEDPARAMETER4DNVPROC glProgramNamedParameter4dNV; +extern GLEW_EXPORT PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC glProgramNamedParameter4fvNV; +extern GLEW_EXPORT PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC glProgramNamedParameter4dvNV; +extern GLEW_EXPORT PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC glGetProgramNamedParameterfvNV; +extern GLEW_EXPORT PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC glGetProgramNamedParameterdvNV; #ifndef GL_ARB_vertex_program -extern GLEW_EXPORT glProgramLocalParameter4dARBPROC glProgramLocalParameter4dARB; -extern GLEW_EXPORT glProgramLocalParameter4dvARBPROC glProgramLocalParameter4dvARB; -extern GLEW_EXPORT glProgramLocalParameter4fARBPROC glProgramLocalParameter4fARB; -extern GLEW_EXPORT glProgramLocalParameter4fvARBPROC glProgramLocalParameter4fvARB; -extern GLEW_EXPORT glGetProgramLocalParameterdvARBPROC glGetProgramLocalParameterdvARB; -extern GLEW_EXPORT glGetProgramLocalParameterfvARBPROC glGetProgramLocalParameterfvARB; +extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4DARBPROC glProgramLocalParameter4dARB; +extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4DVARBPROC glProgramLocalParameter4dvARB; +extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4FARBPROC glProgramLocalParameter4fARB; +extern GLEW_EXPORT PFNGLPROGRAMLOCALPARAMETER4FVARBPROC glProgramLocalParameter4fvARB; +extern GLEW_EXPORT PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC glGetProgramLocalParameterdvARB; +extern GLEW_EXPORT PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC glGetProgramLocalParameterfvARB; #endif /* GL_ARB_vertex_program */ #endif /* GL_NV_fragment_program */ @@ -3841,21 +3864,21 @@ extern GLEW_EXPORT glGetProgramLocalParameterfvARBPROC glGetProgramLocalParamete #define GL_PIXEL_COUNT_NV 0x8866 #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 -typedef void (APIENTRY * glGenOcclusionQueriesNVPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRY * glDeleteOcclusionQueriesNVPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (APIENTRY * glIsOcclusionQueryNVPROC) (GLuint id); -typedef void (APIENTRY * glBeginOcclusionQueryNVPROC) (GLuint id); -typedef void (APIENTRY * glEndOcclusionQueryNVPROC) (void); -typedef void (APIENTRY * glGetOcclusionQueryivNVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRY * glGetOcclusionQueryuivNVPROC) (GLuint id, GLenum pname, GLuint *params); +typedef void (APIENTRY * PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids); +typedef void (APIENTRY * PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (APIENTRY * PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id); +typedef void (APIENTRY * PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id); +typedef void (APIENTRY * PFNGLENDOCCLUSIONQUERYNVPROC) (void); +typedef void (APIENTRY * PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params); -extern GLEW_EXPORT glGenOcclusionQueriesNVPROC glGenOcclusionQueriesNV; -extern GLEW_EXPORT glDeleteOcclusionQueriesNVPROC glDeleteOcclusionQueriesNV; -extern GLEW_EXPORT glIsOcclusionQueryNVPROC glIsOcclusionQueryNV; -extern GLEW_EXPORT glBeginOcclusionQueryNVPROC glBeginOcclusionQueryNV; -extern GLEW_EXPORT glEndOcclusionQueryNVPROC glEndOcclusionQueryNV; -extern GLEW_EXPORT glGetOcclusionQueryivNVPROC glGetOcclusionQueryivNV; -extern GLEW_EXPORT glGetOcclusionQueryuivNVPROC glGetOcclusionQueryuivNV; +extern GLEW_EXPORT PFNGLGENOCCLUSIONQUERIESNVPROC glGenOcclusionQueriesNV; +extern GLEW_EXPORT PFNGLDELETEOCCLUSIONQUERIESNVPROC glDeleteOcclusionQueriesNV; +extern GLEW_EXPORT PFNGLISOCCLUSIONQUERYNVPROC glIsOcclusionQueryNV; +extern GLEW_EXPORT PFNGLBEGINOCCLUSIONQUERYNVPROC glBeginOcclusionQueryNV; +extern GLEW_EXPORT PFNGLENDOCCLUSIONQUERYNVPROC glEndOcclusionQueryNV; +extern GLEW_EXPORT PFNGLGETOCCLUSIONQUERYIVNVPROC glGetOcclusionQueryivNV; +extern GLEW_EXPORT PFNGLGETOCCLUSIONQUERYUIVNVPROC glGetOcclusionQueryuivNV; #endif /* GL_NV_occlusion_query */ @@ -3879,11 +3902,11 @@ extern GLEW_EXPORT glGetOcclusionQueryuivNVPROC glGetOcclusionQueryuivNV; #define WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C #define READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D -typedef void (APIENTRY * glPixelDataRangeNVPROC) (GLenum target, GLsizei length, GLvoid *pointer); -typedef void (APIENTRY * glFlushPixelDataRangeNVPROC) (GLenum target); +typedef void (APIENTRY * PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer); +typedef void (APIENTRY * PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target); -extern GLEW_EXPORT glPixelDataRangeNVPROC glPixelDataRangeNV; -extern GLEW_EXPORT glFlushPixelDataRangeNVPROC glFlushPixelDataRangeNV; +extern GLEW_EXPORT PFNGLPIXELDATARANGENVPROC glPixelDataRangeNV; +extern GLEW_EXPORT PFNGLFLUSHPIXELDATARANGENVPROC glFlushPixelDataRangeNV; #endif /* GL_NV_pixel_data_range */ @@ -3895,11 +3918,11 @@ extern GLEW_EXPORT glFlushPixelDataRangeNVPROC glFlushPixelDataRangeNV; #define GL_COORD_REPLACE_NV 0x8862 #define GL_POINT_SPRITE_R_MODE_NV 0x8863 -typedef void (APIENTRY * glPointParameteriNVPROC) (GLenum pname, GLint param); -typedef void (APIENTRY * glPointParameterivNVPROC) (GLenum pname, const GLint *params); +typedef void (APIENTRY * PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param); +typedef void (APIENTRY * PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params); -extern GLEW_EXPORT glPointParameteriNVPROC glPointParameteriNV; -extern GLEW_EXPORT glPointParameterivNVPROC glPointParameterivNV; +extern GLEW_EXPORT PFNGLPOINTPARAMETERINVPROC glPointParameteriNV; +extern GLEW_EXPORT PFNGLPOINTPARAMETERIVNVPROC glPointParameterivNV; #endif /* GL_NV_point_sprite */ @@ -3910,11 +3933,11 @@ extern GLEW_EXPORT glPointParameterivNVPROC glPointParameterivNV; #define GL_PRIMITIVE_RESTART_NV 0x8558 #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 -typedef void (APIENTRY * glPrimitiveRestartNVPROC) (); -typedef void (APIENTRY * glPrimitiveRestartIndexNVPROC) (GLuint index); +typedef void (APIENTRY * PFNGLPRIMITIVERESTARTNVPROC) (); +typedef void (APIENTRY * PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index); -extern GLEW_EXPORT glPrimitiveRestartNVPROC glPrimitiveRestartNV; -extern GLEW_EXPORT glPrimitiveRestartIndexNVPROC glPrimitiveRestartIndexNV; +extern GLEW_EXPORT PFNGLPRIMITIVERESTARTNVPROC glPrimitiveRestartNV; +extern GLEW_EXPORT PFNGLPRIMITIVERESTARTINDEXNVPROC glPrimitiveRestartIndexNV; #endif /* GL_NV_primitive_restart */ @@ -3974,33 +3997,33 @@ extern GLEW_EXPORT glPrimitiveRestartIndexNVPROC glPrimitiveRestartIndexNV; #define GL_COLOR_SUM_CLAMP_NV 0x854F #define GL_MAX_GENERAL_COMBINERS_NV 0x854D -typedef void (APIENTRY * glCombinerParameterfvNVPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRY * glCombinerParameterfNVPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRY * glCombinerParameterivNVPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRY * glCombinerParameteriNVPROC) (GLenum pname, GLint param); -typedef void (APIENTRY * glCombinerInputNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -typedef void (APIENTRY * glCombinerOutputNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); -typedef void (APIENTRY * glFinalCombinerInputNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -typedef void (APIENTRY * glGetCombinerInputParameterfvNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetCombinerInputParameterivNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); -typedef void (APIENTRY * glGetCombinerOutputParameterfvNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetCombinerOutputParameterivNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params); -typedef void (APIENTRY * glGetFinalCombinerInputParameterfvNVPROC) (GLenum variable, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetFinalCombinerInputParameterivNVPROC) (GLenum variable, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params); +typedef void (APIENTRY * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); +typedef void (APIENTRY * PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +typedef void (APIENTRY * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); +typedef void (APIENTRY * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params); -extern GLEW_EXPORT glCombinerParameterfvNVPROC glCombinerParameterfvNV; -extern GLEW_EXPORT glCombinerParameterfNVPROC glCombinerParameterfNV; -extern GLEW_EXPORT glCombinerParameterivNVPROC glCombinerParameterivNV; -extern GLEW_EXPORT glCombinerParameteriNVPROC glCombinerParameteriNV; -extern GLEW_EXPORT glCombinerInputNVPROC glCombinerInputNV; -extern GLEW_EXPORT glCombinerOutputNVPROC glCombinerOutputNV; -extern GLEW_EXPORT glFinalCombinerInputNVPROC glFinalCombinerInputNV; -extern GLEW_EXPORT glGetCombinerInputParameterfvNVPROC glGetCombinerInputParameterfvNV; -extern GLEW_EXPORT glGetCombinerInputParameterivNVPROC glGetCombinerInputParameterivNV; -extern GLEW_EXPORT glGetCombinerOutputParameterfvNVPROC glGetCombinerOutputParameterfvNV; -extern GLEW_EXPORT glGetCombinerOutputParameterivNVPROC glGetCombinerOutputParameterivNV; -extern GLEW_EXPORT glGetFinalCombinerInputParameterfvNVPROC glGetFinalCombinerInputParameterfvNV; -extern GLEW_EXPORT glGetFinalCombinerInputParameterivNVPROC glGetFinalCombinerInputParameterivNV; +extern GLEW_EXPORT PFNGLCOMBINERPARAMETERFVNVPROC glCombinerParameterfvNV; +extern GLEW_EXPORT PFNGLCOMBINERPARAMETERFNVPROC glCombinerParameterfNV; +extern GLEW_EXPORT PFNGLCOMBINERPARAMETERIVNVPROC glCombinerParameterivNV; +extern GLEW_EXPORT PFNGLCOMBINERPARAMETERINVPROC glCombinerParameteriNV; +extern GLEW_EXPORT PFNGLCOMBINERINPUTNVPROC glCombinerInputNV; +extern GLEW_EXPORT PFNGLCOMBINEROUTPUTNVPROC glCombinerOutputNV; +extern GLEW_EXPORT PFNGLFINALCOMBINERINPUTNVPROC glFinalCombinerInputNV; +extern GLEW_EXPORT PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC glGetCombinerInputParameterfvNV; +extern GLEW_EXPORT PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC glGetCombinerInputParameterivNV; +extern GLEW_EXPORT PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC glGetCombinerOutputParameterfvNV; +extern GLEW_EXPORT PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC glGetCombinerOutputParameterivNV; +extern GLEW_EXPORT PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC glGetFinalCombinerInputParameterfvNV; +extern GLEW_EXPORT PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC glGetFinalCombinerInputParameterivNV; #endif /* GL_NV_register_combiners */ @@ -4010,11 +4033,11 @@ extern GLEW_EXPORT glGetFinalCombinerInputParameterivNVPROC glGetFinalCombinerIn #define GL_PER_STAGE_CONSTANTS_NV 0x8535 -typedef void (APIENTRY * glCombinerStageParameterfvNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); -typedef void (APIENTRY * glGetCombinerStageParameterfvNVPROC) (GLenum stage, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); +typedef void (APIENTRY * PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params); -extern GLEW_EXPORT glCombinerStageParameterfvNVPROC glCombinerStageParameterfvNV; -extern GLEW_EXPORT glGetCombinerStageParameterfvNVPROC glGetCombinerStageParameterfvNV; +extern GLEW_EXPORT PFNGLCOMBINERSTAGEPARAMETERFVNVPROC glCombinerStageParameterfvNV; +extern GLEW_EXPORT PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC glGetCombinerStageParameterfvNV; #endif /* GL_NV_register_combiners2 */ @@ -4208,11 +4231,11 @@ extern GLEW_EXPORT glGetCombinerStageParameterfvNVPROC glGetCombinerStageParamet #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 -typedef void (APIENTRY * glFlushVertexArrayRangeNVPROC) (void); -typedef void (APIENTRY * glVertexArrayRangeNVPROC) (GLsizei size, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); +typedef void (APIENTRY * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei size, const GLvoid *pointer); -extern GLEW_EXPORT glFlushVertexArrayRangeNVPROC glFlushVertexArrayRangeNV; -extern GLEW_EXPORT glVertexArrayRangeNVPROC glVertexArrayRangeNV; +extern GLEW_EXPORT PFNGLFLUSHVERTEXARRAYRANGENVPROC glFlushVertexArrayRangeNV; +extern GLEW_EXPORT PFNGLVERTEXARRAYRANGENVPROC glVertexArrayRangeNV; #endif /* GL_NV_vertex_array_range */ @@ -4312,135 +4335,135 @@ extern GLEW_EXPORT glVertexArrayRangeNVPROC glVertexArrayRangeNV; #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F -typedef void (APIENTRY * glBindProgramNVPROC) (GLenum target, GLuint id); -typedef void (APIENTRY * glDeleteProgramsNVPROC) (GLsizei n, const GLuint *ids); -typedef void (APIENTRY * glExecuteProgramNVPROC) (GLenum target, GLuint id, const GLfloat *params); -typedef void (APIENTRY * glGenProgramsNVPROC) (GLsizei n, GLuint *ids); -typedef GLboolean (APIENTRY * glAreProgramsResidentNVPROC) (GLsizei n, const GLuint *ids, GLboolean *residences); -typedef void (APIENTRY * glRequestResidentProgramsNVPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRY * glGetProgramParameterfvNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetProgramParameterdvNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRY * glGetProgramivNVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRY * glGetProgramStringNVPROC) (GLuint id, GLenum pname, GLubyte *program); -typedef void (APIENTRY * glGetTrackMatrixivNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params); -typedef void (APIENTRY * glGetVertexAttribdvNVPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRY * glGetVertexAttribfvNVPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRY * glGetVertexAttribivNVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRY * glGetVertexAttribPointervNVPROC) (GLuint index, GLenum pname, GLvoid **pointer); -typedef GLboolean (APIENTRY * glIsProgramNVPROC) (GLuint id); -typedef void (APIENTRY * glLoadProgramNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); -typedef void (APIENTRY * glProgramParameter4fNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRY * glProgramParameter4dNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRY * glProgramParameter4dvNVPROC) (GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRY * glProgramParameter4fvNVPROC) (GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRY * glProgramParameters4dvNVPROC) (GLenum target, GLuint index, GLuint num, const GLdouble *params); -typedef void (APIENTRY * glProgramParameters4fvNVPROC) (GLenum target, GLuint index, GLuint num, const GLfloat *params); -typedef void (APIENTRY * glTrackMatrixNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); -typedef void (APIENTRY * glVertexAttribPointerNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRY * glVertexAttrib1sNVPROC) (GLuint index, GLshort x); -typedef void (APIENTRY * glVertexAttrib1fNVPROC) (GLuint index, GLfloat x); -typedef void (APIENTRY * glVertexAttrib1dNVPROC) (GLuint index, GLdouble x); -typedef void (APIENTRY * glVertexAttrib2sNVPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRY * glVertexAttrib2fNVPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRY * glVertexAttrib2dNVPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRY * glVertexAttrib3sNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRY * glVertexAttrib3fNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRY * glVertexAttrib3dNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRY * glVertexAttrib4sNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRY * glVertexAttrib4fNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRY * glVertexAttrib4dNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRY * glVertexAttrib4ubNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRY * glVertexAttrib1svNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRY * glVertexAttrib1fvNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRY * glVertexAttrib1dvNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRY * glVertexAttrib2svNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRY * glVertexAttrib2fvNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRY * glVertexAttrib2dvNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRY * glVertexAttrib3svNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRY * glVertexAttrib3fvNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRY * glVertexAttrib3dvNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRY * glVertexAttrib4svNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRY * glVertexAttrib4fvNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRY * glVertexAttrib4dvNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRY * glVertexAttrib4ubvNVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRY * glVertexAttribs1svNVPROC) (GLuint index, GLsizei n, const GLshort *v); -typedef void (APIENTRY * glVertexAttribs1fvNVPROC) (GLuint index, GLsizei n, const GLfloat *v); -typedef void (APIENTRY * glVertexAttribs1dvNVPROC) (GLuint index, GLsizei n, const GLdouble *v); -typedef void (APIENTRY * glVertexAttribs2svNVPROC) (GLuint index, GLsizei n, const GLshort *v); -typedef void (APIENTRY * glVertexAttribs2fvNVPROC) (GLuint index, GLsizei n, const GLfloat *v); -typedef void (APIENTRY * glVertexAttribs2dvNVPROC) (GLuint index, GLsizei n, const GLdouble *v); -typedef void (APIENTRY * glVertexAttribs3svNVPROC) (GLuint index, GLsizei n, const GLshort *v); -typedef void (APIENTRY * glVertexAttribs3fvNVPROC) (GLuint index, GLsizei n, const GLfloat *v); -typedef void (APIENTRY * glVertexAttribs3dvNVPROC) (GLuint index, GLsizei n, const GLdouble *v); -typedef void (APIENTRY * glVertexAttribs4svNVPROC) (GLuint index, GLsizei n, const GLshort *v); -typedef void (APIENTRY * glVertexAttribs4fvNVPROC) (GLuint index, GLsizei n, const GLfloat *v); -typedef void (APIENTRY * glVertexAttribs4dvNVPROC) (GLuint index, GLsizei n, const GLdouble *v); -typedef void (APIENTRY * glVertexAttribs4ubvNVPROC) (GLuint index, GLsizei n, const GLubyte *v); +typedef void (APIENTRY * PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); +typedef void (APIENTRY * PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *ids); +typedef void (APIENTRY * PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params); +typedef void (APIENTRY * PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *ids); +typedef GLboolean (APIENTRY * PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *ids, GLboolean *residences); +typedef void (APIENTRY * PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, GLuint *ids); +typedef void (APIENTRY * PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRY * PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program); +typedef void (APIENTRY * PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRY * PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid **pointer); +typedef GLboolean (APIENTRY * PFNGLISPROGRAMNVPROC) (GLuint id); +typedef void (APIENTRY * PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); +typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *params); +typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *params); +typedef void (APIENTRY * PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint num, const GLdouble *params); +typedef void (APIENTRY * PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint num, const GLfloat *params); +typedef void (APIENTRY * PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); +typedef void (APIENTRY * PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei n, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei n, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei n, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei n, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei n, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei n, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei n, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei n, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei n, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei n, const GLshort *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei n, const GLfloat *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei n, const GLdouble *v); +typedef void (APIENTRY * PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei n, const GLubyte *v); -extern GLEW_EXPORT glBindProgramNVPROC glBindProgramNV; -extern GLEW_EXPORT glDeleteProgramsNVPROC glDeleteProgramsNV; -extern GLEW_EXPORT glExecuteProgramNVPROC glExecuteProgramNV; -extern GLEW_EXPORT glGenProgramsNVPROC glGenProgramsNV; -extern GLEW_EXPORT glAreProgramsResidentNVPROC glAreProgramsResidentNV; -extern GLEW_EXPORT glRequestResidentProgramsNVPROC glRequestResidentProgramsNV; -extern GLEW_EXPORT glGetProgramParameterfvNVPROC glGetProgramParameterfvNV; -extern GLEW_EXPORT glGetProgramParameterdvNVPROC glGetProgramParameterdvNV; -extern GLEW_EXPORT glGetProgramivNVPROC glGetProgramivNV; -extern GLEW_EXPORT glGetProgramStringNVPROC glGetProgramStringNV; -extern GLEW_EXPORT glGetTrackMatrixivNVPROC glGetTrackMatrixivNV; -extern GLEW_EXPORT glGetVertexAttribdvNVPROC glGetVertexAttribdvNV; -extern GLEW_EXPORT glGetVertexAttribfvNVPROC glGetVertexAttribfvNV; -extern GLEW_EXPORT glGetVertexAttribivNVPROC glGetVertexAttribivNV; -extern GLEW_EXPORT glGetVertexAttribPointervNVPROC glGetVertexAttribPointervNV; -extern GLEW_EXPORT glIsProgramNVPROC glIsProgramNV; -extern GLEW_EXPORT glLoadProgramNVPROC glLoadProgramNV; -extern GLEW_EXPORT glProgramParameter4fNVPROC glProgramParameter4fNV; -extern GLEW_EXPORT glProgramParameter4dNVPROC glProgramParameter4dNV; -extern GLEW_EXPORT glProgramParameter4dvNVPROC glProgramParameter4dvNV; -extern GLEW_EXPORT glProgramParameter4fvNVPROC glProgramParameter4fvNV; -extern GLEW_EXPORT glProgramParameters4dvNVPROC glProgramParameters4dvNV; -extern GLEW_EXPORT glProgramParameters4fvNVPROC glProgramParameters4fvNV; -extern GLEW_EXPORT glTrackMatrixNVPROC glTrackMatrixNV; -extern GLEW_EXPORT glVertexAttribPointerNVPROC glVertexAttribPointerNV; -extern GLEW_EXPORT glVertexAttrib1sNVPROC glVertexAttrib1sNV; -extern GLEW_EXPORT glVertexAttrib1fNVPROC glVertexAttrib1fNV; -extern GLEW_EXPORT glVertexAttrib1dNVPROC glVertexAttrib1dNV; -extern GLEW_EXPORT glVertexAttrib2sNVPROC glVertexAttrib2sNV; -extern GLEW_EXPORT glVertexAttrib2fNVPROC glVertexAttrib2fNV; -extern GLEW_EXPORT glVertexAttrib2dNVPROC glVertexAttrib2dNV; -extern GLEW_EXPORT glVertexAttrib3sNVPROC glVertexAttrib3sNV; -extern GLEW_EXPORT glVertexAttrib3fNVPROC glVertexAttrib3fNV; -extern GLEW_EXPORT glVertexAttrib3dNVPROC glVertexAttrib3dNV; -extern GLEW_EXPORT glVertexAttrib4sNVPROC glVertexAttrib4sNV; -extern GLEW_EXPORT glVertexAttrib4fNVPROC glVertexAttrib4fNV; -extern GLEW_EXPORT glVertexAttrib4dNVPROC glVertexAttrib4dNV; -extern GLEW_EXPORT glVertexAttrib4ubNVPROC glVertexAttrib4ubNV; -extern GLEW_EXPORT glVertexAttrib1svNVPROC glVertexAttrib1svNV; -extern GLEW_EXPORT glVertexAttrib1fvNVPROC glVertexAttrib1fvNV; -extern GLEW_EXPORT glVertexAttrib1dvNVPROC glVertexAttrib1dvNV; -extern GLEW_EXPORT glVertexAttrib2svNVPROC glVertexAttrib2svNV; -extern GLEW_EXPORT glVertexAttrib2fvNVPROC glVertexAttrib2fvNV; -extern GLEW_EXPORT glVertexAttrib2dvNVPROC glVertexAttrib2dvNV; -extern GLEW_EXPORT glVertexAttrib3svNVPROC glVertexAttrib3svNV; -extern GLEW_EXPORT glVertexAttrib3fvNVPROC glVertexAttrib3fvNV; -extern GLEW_EXPORT glVertexAttrib3dvNVPROC glVertexAttrib3dvNV; -extern GLEW_EXPORT glVertexAttrib4svNVPROC glVertexAttrib4svNV; -extern GLEW_EXPORT glVertexAttrib4fvNVPROC glVertexAttrib4fvNV; -extern GLEW_EXPORT glVertexAttrib4dvNVPROC glVertexAttrib4dvNV; -extern GLEW_EXPORT glVertexAttrib4ubvNVPROC glVertexAttrib4ubvNV; -extern GLEW_EXPORT glVertexAttribs1svNVPROC glVertexAttribs1svNV; -extern GLEW_EXPORT glVertexAttribs1fvNVPROC glVertexAttribs1fvNV; -extern GLEW_EXPORT glVertexAttribs1dvNVPROC glVertexAttribs1dvNV; -extern GLEW_EXPORT glVertexAttribs2svNVPROC glVertexAttribs2svNV; -extern GLEW_EXPORT glVertexAttribs2fvNVPROC glVertexAttribs2fvNV; -extern GLEW_EXPORT glVertexAttribs2dvNVPROC glVertexAttribs2dvNV; -extern GLEW_EXPORT glVertexAttribs3svNVPROC glVertexAttribs3svNV; -extern GLEW_EXPORT glVertexAttribs3fvNVPROC glVertexAttribs3fvNV; -extern GLEW_EXPORT glVertexAttribs3dvNVPROC glVertexAttribs3dvNV; -extern GLEW_EXPORT glVertexAttribs4svNVPROC glVertexAttribs4svNV; -extern GLEW_EXPORT glVertexAttribs4fvNVPROC glVertexAttribs4fvNV; -extern GLEW_EXPORT glVertexAttribs4dvNVPROC glVertexAttribs4dvNV; -extern GLEW_EXPORT glVertexAttribs4ubvNVPROC glVertexAttribs4ubvNV; +extern GLEW_EXPORT PFNGLBINDPROGRAMNVPROC glBindProgramNV; +extern GLEW_EXPORT PFNGLDELETEPROGRAMSNVPROC glDeleteProgramsNV; +extern GLEW_EXPORT PFNGLEXECUTEPROGRAMNVPROC glExecuteProgramNV; +extern GLEW_EXPORT PFNGLGENPROGRAMSNVPROC glGenProgramsNV; +extern GLEW_EXPORT PFNGLAREPROGRAMSRESIDENTNVPROC glAreProgramsResidentNV; +extern GLEW_EXPORT PFNGLREQUESTRESIDENTPROGRAMSNVPROC glRequestResidentProgramsNV; +extern GLEW_EXPORT PFNGLGETPROGRAMPARAMETERFVNVPROC glGetProgramParameterfvNV; +extern GLEW_EXPORT PFNGLGETPROGRAMPARAMETERDVNVPROC glGetProgramParameterdvNV; +extern GLEW_EXPORT PFNGLGETPROGRAMIVNVPROC glGetProgramivNV; +extern GLEW_EXPORT PFNGLGETPROGRAMSTRINGNVPROC glGetProgramStringNV; +extern GLEW_EXPORT PFNGLGETTRACKMATRIXIVNVPROC glGetTrackMatrixivNV; +extern GLEW_EXPORT PFNGLGETVERTEXATTRIBDVNVPROC glGetVertexAttribdvNV; +extern GLEW_EXPORT PFNGLGETVERTEXATTRIBFVNVPROC glGetVertexAttribfvNV; +extern GLEW_EXPORT PFNGLGETVERTEXATTRIBIVNVPROC glGetVertexAttribivNV; +extern GLEW_EXPORT PFNGLGETVERTEXATTRIBPOINTERVNVPROC glGetVertexAttribPointervNV; +extern GLEW_EXPORT PFNGLISPROGRAMNVPROC glIsProgramNV; +extern GLEW_EXPORT PFNGLLOADPROGRAMNVPROC glLoadProgramNV; +extern GLEW_EXPORT PFNGLPROGRAMPARAMETER4FNVPROC glProgramParameter4fNV; +extern GLEW_EXPORT PFNGLPROGRAMPARAMETER4DNVPROC glProgramParameter4dNV; +extern GLEW_EXPORT PFNGLPROGRAMPARAMETER4DVNVPROC glProgramParameter4dvNV; +extern GLEW_EXPORT PFNGLPROGRAMPARAMETER4FVNVPROC glProgramParameter4fvNV; +extern GLEW_EXPORT PFNGLPROGRAMPARAMETERS4DVNVPROC glProgramParameters4dvNV; +extern GLEW_EXPORT PFNGLPROGRAMPARAMETERS4FVNVPROC glProgramParameters4fvNV; +extern GLEW_EXPORT PFNGLTRACKMATRIXNVPROC glTrackMatrixNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBPOINTERNVPROC glVertexAttribPointerNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1SNVPROC glVertexAttrib1sNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1FNVPROC glVertexAttrib1fNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1DNVPROC glVertexAttrib1dNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2SNVPROC glVertexAttrib2sNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2FNVPROC glVertexAttrib2fNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2DNVPROC glVertexAttrib2dNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3SNVPROC glVertexAttrib3sNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3FNVPROC glVertexAttrib3fNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3DNVPROC glVertexAttrib3dNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4SNVPROC glVertexAttrib4sNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4FNVPROC glVertexAttrib4fNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4DNVPROC glVertexAttrib4dNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4UBNVPROC glVertexAttrib4ubNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1SVNVPROC glVertexAttrib1svNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1FVNVPROC glVertexAttrib1fvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB1DVNVPROC glVertexAttrib1dvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2SVNVPROC glVertexAttrib2svNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2FVNVPROC glVertexAttrib2fvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB2DVNVPROC glVertexAttrib2dvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3SVNVPROC glVertexAttrib3svNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3FVNVPROC glVertexAttrib3fvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB3DVNVPROC glVertexAttrib3dvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4SVNVPROC glVertexAttrib4svNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4FVNVPROC glVertexAttrib4fvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4DVNVPROC glVertexAttrib4dvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIB4UBVNVPROC glVertexAttrib4ubvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS1SVNVPROC glVertexAttribs1svNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS1FVNVPROC glVertexAttribs1fvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS1DVNVPROC glVertexAttribs1dvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS2SVNVPROC glVertexAttribs2svNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS2FVNVPROC glVertexAttribs2fvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS2DVNVPROC glVertexAttribs2dvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS3SVNVPROC glVertexAttribs3svNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS3FVNVPROC glVertexAttribs3fvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS3DVNVPROC glVertexAttribs3dvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS4SVNVPROC glVertexAttribs4svNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS4FVNVPROC glVertexAttribs4fvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS4DVNVPROC glVertexAttribs4dvNV; +extern GLEW_EXPORT PFNGLVERTEXATTRIBS4UBVNVPROC glVertexAttribs4ubvNV; #endif /* GL_NV_vertex_program */ @@ -4503,6 +4526,7 @@ struct GLEW unsigned int EXT_texture_filter_anisotropic : 1; unsigned int EXT_texture_lod_bias : 1; unsigned int EXT_texture_rectangle : 1; + unsigned int EXT_texture3D : 1; unsigned int EXT_vertex_shader : 1; unsigned int EXT_vertex_weighting : 1; diff --git a/include/GL/glxew.h b/include/GL/glxew.h index 4468d5b..55bb052 100644 --- a/include/GL/glxew.h +++ b/include/GL/glxew.h @@ -132,41 +132,41 @@ typedef XID GLXPixmap; typedef struct __GLXcontextRec *GLXContext; #ifdef GLEW_PROTOTYPES -typedef Bool ( * glXQueryExtensionPROC) (Display *dpy, int *errorBase, int *eventBase); -typedef Bool ( * glXQueryVersionPROC) (Display *dpy, int *major, int *minor); -typedef int ( * glXGetConfigPROC) (Display *dpy, XVisualInfo *vis, int attrib, int *value); -typedef XVisualInfo* ( * glXChooseVisualPROC) (Display *dpy, int screen, int *attribList); -typedef GLXPixmap ( * glXCreateGLXPixmapPROC) (Display *dpy, XVisualInfo *vis, Pixmap pixmap); -typedef void ( * glXDestroyGLXPixmapPROC) (Display *dpy, GLXPixmap pix); -typedef GLXContext ( * glXCreateContextPROC) (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct); -typedef void ( * glXDestroyContextPROC) (Display *dpy, GLXContext ctx); -typedef Bool ( * glXIsDirectPROC) (Display *dpy, GLXContext ctx); -typedef void ( * glXCopyContextPROC) (Display *dpy, GLXContext src, GLXContext dst, GLuint mask); -typedef Bool ( * glXMakeCurrentPROC) (Display *dpy, GLXDrawable drawable, GLXContext ctx); -typedef GLXContext ( * glXGetCurrentContextPROC) (void); -typedef GLXDrawable ( * glXGetCurrentDrawablePROC) (void); -typedef void ( * glXWaitGLPROC) (void); -typedef void ( * glXWaitXPROC) (void); -typedef void ( * glXSwapBuffersPROC) (Display *dpy, GLXDrawable drawable); -typedef void ( * glXUseXFontPROC) (Font font, int first, int count, int listBase); +typedef Bool ( * PFNGLXQUERYEXTENSIONPROC) (Display *dpy, int *errorBase, int *eventBase); +typedef Bool ( * PFNGLXQUERYVERSIONPROC) (Display *dpy, int *major, int *minor); +typedef int ( * PFNGLXGETCONFIGPROC) (Display *dpy, XVisualInfo *vis, int attrib, int *value); +typedef XVisualInfo* ( * PFNGLXCHOOSEVISUALPROC) (Display *dpy, int screen, int *attribList); +typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPPROC) (Display *dpy, XVisualInfo *vis, Pixmap pixmap); +typedef void ( * PFNGLXDESTROYGLXPIXMAPPROC) (Display *dpy, GLXPixmap pix); +typedef GLXContext ( * PFNGLXCREATECONTEXTPROC) (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct); +typedef void ( * PFNGLXDESTROYCONTEXTPROC) (Display *dpy, GLXContext ctx); +typedef Bool ( * PFNGLXISDIRECTPROC) (Display *dpy, GLXContext ctx); +typedef void ( * PFNGLXCOPYCONTEXTPROC) (Display *dpy, GLXContext src, GLXContext dst, GLuint mask); +typedef Bool ( * PFNGLXMAKECURRENTPROC) (Display *dpy, GLXDrawable drawable, GLXContext ctx); +typedef GLXContext ( * PFNGLXGETCURRENTCONTEXTPROC) (void); +typedef GLXDrawable ( * PFNGLXGETCURRENTDRAWABLEPROC) (void); +typedef void ( * PFNGLXWAITGLPROC) (void); +typedef void ( * PFNGLXWAITXPROC) (void); +typedef void ( * PFNGLXSWAPBUFFERSPROC) (Display *dpy, GLXDrawable drawable); +typedef void ( * PFNGLXUSEXFONTPROC) (Font font, int first, int count, int listBase); -extern glXQueryExtensionPROC glXQueryExtension; -extern glXQueryVersionPROC glXQueryVersion; -extern glXGetConfigPROC glXGetConfig; -extern glXChooseVisualPROC glXChooseVisual; -extern glXCreateGLXPixmapPROC glXCreateGLXPixmap; -extern glXDestroyGLXPixmapPROC glXDestroyGLXPixmap; -extern glXCreateContextPROC glXCreateContext; -extern glXDestroyContextPROC glXDestroyContext; -extern glXIsDirectPROC glXIsDirect; -extern glXCopyContextPROC glXCopyContext; -extern glXMakeCurrentPROC glXMakeCurrent; -extern glXGetCurrentContextPROC glXGetCurrentContext; -extern glXGetCurrentDrawablePROC glXGetCurrentDrawable; -extern glXWaitGLPROC glXWaitGL; -extern glXWaitXPROC glXWaitX; -extern glXSwapBuffersPROC glXSwapBuffers; -extern glXUseXFontPROC glXUseXFont; +extern PFNGLXQUERYEXTENSIONPROC glXQueryExtension; +extern PFNGLXQUERYVERSIONPROC glXQueryVersion; +extern PFNGLXGETCONFIGPROC glXGetConfig; +extern PFNGLXCHOOSEVISUALPROC glXChooseVisual; +extern PFNGLXCREATEGLXPIXMAPPROC glXCreateGLXPixmap; +extern PFNGLXDESTROYGLXPIXMAPPROC glXDestroyGLXPixmap; +extern PFNGLXCREATECONTEXTPROC glXCreateContext; +extern PFNGLXDESTROYCONTEXTPROC glXDestroyContext; +extern PFNGLXISDIRECTPROC glXIsDirect; +extern PFNGLXCOPYCONTEXTPROC glXCopyContext; +extern PFNGLXMAKECURRENTPROC glXMakeCurrent; +extern PFNGLXGETCURRENTCONTEXTPROC glXGetCurrentContext; +extern PFNGLXGETCURRENTDRAWABLEPROC glXGetCurrentDrawable; +extern PFNGLXWAITGLPROC glXWaitGL; +extern PFNGLXWAITXPROC glXWaitX; +extern PFNGLXSWAPBUFFERSPROC glXSwapBuffers; +extern PFNGLXUSEXFONTPROC glXUseXFont; #else extern Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase); extern Bool glXQueryVersion (Display *dpy, int *major, int *minor); @@ -198,13 +198,13 @@ extern void glXUseXFont (Font font, int first, int count, int listBase); #define GLX_EXTENSIONS 0x3 #ifdef GLEW_PROTOTYPES -typedef const char* ( * glXQueryExtensionsStringPROC) (Display *dpy, int screen); -typedef const char* ( * glXGetClientStringPROC) (Display *dpy, int name); -typedef const char* ( * glXQueryServerStringPROC) (Display *dpy, int screen, int name); +typedef const char* ( * PFNGLXQUERYEXTENSIONSSTRINGPROC) (Display *dpy, int screen); +typedef const char* ( * PFNGLXGETCLIENTSTRINGPROC) (Display *dpy, int name); +typedef const char* ( * PFNGLXQUERYSERVERSTRINGPROC) (Display *dpy, int screen, int name); -extern glXQueryExtensionsStringPROC glXQueryExtensionsString; -extern glXGetClientStringPROC glXGetClientString; -extern glXQueryServerStringPROC glXQueryServerString; +extern PFNGLXQUERYEXTENSIONSSTRINGPROC glXQueryExtensionsString; +extern PFNGLXGETCLIENTSTRINGPROC glXGetClientString; +extern PFNGLXQUERYSERVERSTRINGPROC glXQueryServerString; #else extern const char* glXQueryExtensionsString (Display *dpy, int screen); extern const char* glXGetClientString (Display *dpy, int name); @@ -217,9 +217,9 @@ extern const char* glXQueryServerString (Display *dpy, int screen, int name); #ifdef GLX_VERSION_1_2 -typedef Display* ( * glXGetCurrentDisplayPROC) (void); +typedef Display* ( * PFNGLXGETCURRENTDISPLAYPROC) (void); -extern glXGetCurrentDisplayPROC glXGetCurrentDisplay; +extern PFNGLXGETCURRENTDISPLAYPROC glXGetCurrentDisplay; #endif /* GLX_VERSION_1_2 */ @@ -306,41 +306,41 @@ typedef union __GLXEvent { long pad[24]; } GLXEvent; -typedef GLXFBConfig* ( * glXChooseFBConfigPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); -typedef GLXFBConfig* ( * glXGetFBConfigsPROC) (Display *dpy, int screen, int *nelements); -typedef XVisualInfo* ( * glXGetVisualFromFBConfigPROC) (Display *dpy, GLXFBConfig config); -typedef int ( * glXGetFBConfigAttribPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); -typedef GLXWindow ( * glXCreateWindowPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); -typedef void ( * glXDestroyWindowPROC) (Display *dpy, GLXWindow win); -typedef GLXPixmap ( * glXCreatePixmapPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); -typedef void ( * glXDestroyPixmapPROC) (Display *dpy, GLXPixmap pixmap); -typedef GLXPbuffer ( * glXCreatePbufferPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list); -typedef void ( * glXDestroyPbufferPROC) (Display *dpy, GLXPbuffer pbuf); -typedef void ( * glXQueryDrawablePROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); -typedef GLXContext ( * glXCreateNewContextPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); -typedef Bool ( * glXMakeContextCurrentPROC) (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -typedef GLXDrawable ( * glXGetCurrentReadDrawablePROC) (void); -typedef int ( * glXQueryContextPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); -typedef void ( * glXSelectEventPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask); -typedef void ( * glXGetSelectedEventPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask); +typedef GLXFBConfig* ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); +typedef GLXFBConfig* ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements); +typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config); +typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); +typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); +typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win); +typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); +typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); +typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list); +typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf); +typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); +typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); +typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx); +typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void); +typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); +typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask); +typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask); -extern glXChooseFBConfigPROC glXChooseFBConfig; -extern glXGetFBConfigsPROC glXGetFBConfigs; -extern glXGetVisualFromFBConfigPROC glXGetVisualFromFBConfig; -extern glXGetFBConfigAttribPROC glXGetFBConfigAttrib; -extern glXCreateWindowPROC glXCreateWindow; -extern glXDestroyWindowPROC glXDestroyWindow; -extern glXCreatePixmapPROC glXCreatePixmap; -extern glXDestroyPixmapPROC glXDestroyPixmap; -extern glXCreatePbufferPROC glXCreatePbuffer; -extern glXDestroyPbufferPROC glXDestroyPbuffer; -extern glXQueryDrawablePROC glXQueryDrawable; -extern glXCreateNewContextPROC glXCreateNewContext; -extern glXMakeContextCurrentPROC glXMakeContextCurrent; -extern glXGetCurrentReadDrawablePROC glXGetCurrentReadDrawable; -extern glXQueryContextPROC glXQueryContext; -extern glXSelectEventPROC glXSelectEvent; -extern glXGetSelectedEventPROC glXGetSelectedEvent; +extern PFNGLXCHOOSEFBCONFIGPROC glXChooseFBConfig; +extern PFNGLXGETFBCONFIGSPROC glXGetFBConfigs; +extern PFNGLXGETVISUALFROMFBCONFIGPROC glXGetVisualFromFBConfig; +extern PFNGLXGETFBCONFIGATTRIBPROC glXGetFBConfigAttrib; +extern PFNGLXCREATEWINDOWPROC glXCreateWindow; +extern PFNGLXDESTROYWINDOWPROC glXDestroyWindow; +extern PFNGLXCREATEPIXMAPPROC glXCreatePixmap; +extern PFNGLXDESTROYPIXMAPPROC glXDestroyPixmap; +extern PFNGLXCREATEPBUFFERPROC glXCreatePbuffer; +extern PFNGLXDESTROYPBUFFERPROC glXDestroyPbuffer; +extern PFNGLXQUERYDRAWABLEPROC glXQueryDrawable; +extern PFNGLXCREATENEWCONTEXTPROC glXCreateNewContext; +extern PFNGLXMAKECONTEXTCURRENTPROC glXMakeContextCurrent; +extern PFNGLXGETCURRENTREADDRAWABLEPROC glXGetCurrentReadDrawable; +extern PFNGLXQUERYCONTEXTPROC glXQueryContext; +extern PFNGLXSELECTEVENTPROC glXSelectEvent; +extern PFNGLXGETSELECTEDEVENTPROC glXGetSelectedEvent; #if 0 extern GLXFBConfig* glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements); @@ -435,17 +435,17 @@ extern void ( * glXGetProcAddressARB(const GLubyte *procName))(void); typedef XID GLXContextID; -typedef Display * ( * glXGetCurrentDisplayEXTPROC) (void); -typedef int ( * glXQueryContextInfoEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value); -typedef GLXContextID ( * glXGetContextIDEXTPROC) (const GLXContext context); -typedef GLXContext ( * glXImportContextEXTPROC) (Display *dpy, GLXContextID contextID); -typedef void ( * glXFreeContextEXTPROC) (Display *dpy, GLXContext context); +typedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void); +typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value); +typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context); +typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID); +typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context); -extern glXGetCurrentDisplayEXTPROC glXGetCurrentDisplayEXT; -extern glXQueryContextInfoEXTPROC glXQueryContextInfoEXT; -extern glXGetContextIDEXTPROC glXGetContextIDEXT; -extern glXImportContextEXTPROC glXImportContextEXT; -extern glXFreeContextEXTPROC glXFreeContextEXT; +extern PFNGLXGETCURRENTDISPLAYEXTPROC glXGetCurrentDisplayEXT; +extern PFNGLXQUERYCONTEXTINFOEXTPROC glXQueryContextInfoEXT; +extern PFNGLXGETCONTEXTIDEXTPROC glXGetContextIDEXT; +extern PFNGLXIMPORTCONTEXTEXTPROC glXImportContextEXT; +extern PFNGLXFREECONTEXTEXTPROC glXFreeContextEXT; #endif /* GLX_EXT_import_context */ @@ -453,9 +453,9 @@ extern glXFreeContextEXTPROC glXFreeContextEXT; #ifdef GLX_MESA_copy_sub_buffer -typedef void ( * glXCopySubBufferMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height); +typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height); -extern glXCopySubBufferMESAPROC glXCopySubBufferMESA; +extern PFNGLXCOPYSUBBUFFERMESAPROC glXCopySubBufferMESA; #endif /* GLX_MESA_copy_sub_buffer */ @@ -463,9 +463,9 @@ extern glXCopySubBufferMESAPROC glXCopySubBufferMESA; #ifdef GLX_MESA_pixmap_colormap -typedef GLXPixmap ( * glXCreateGLXPixmapMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap); +typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap); -extern glXCreateGLXPixmapMESAPROC glXCreateGLXPixmapMESA; +extern PFNGLXCREATEGLXPIXMAPMESAPROC glXCreateGLXPixmapMESA; #endif /* GLX_MESA_pixmap_colormap */ @@ -473,9 +473,9 @@ extern glXCreateGLXPixmapMESAPROC glXCreateGLXPixmapMESA; #ifdef GLX_MESA_release_buffers -typedef Bool ( * glXReleaseBuffersMESAPROC) (Display *dpy, GLXDrawable drawable); +typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawable); -extern glXReleaseBuffersMESAPROC glXReleaseBuffersMESA; +extern PFNGLXRELEASEBUFFERSMESAPROC glXReleaseBuffersMESA; #endif /* GLX_MESA_release_buffers */ @@ -483,9 +483,9 @@ extern glXReleaseBuffersMESAPROC glXReleaseBuffersMESA; #ifdef GLX_MESA_set_3dfx_mode -typedef Bool ( * glXSet3DfxModeMESAPROC) (int mode); +typedef Bool ( * PFNGLXSET3DFXMODEMESAPROC) (int mode); -extern glXSet3DfxModeMESAPROC glXSet3DfxModeMESA; +extern PFNGLXSET3DFXMODEMESAPROC glXSet3DfxModeMESA; #endif /* GLX_MESA_set_3dfx_mode */ @@ -506,17 +506,17 @@ extern glXSet3DfxModeMESAPROC glXSet3DfxModeMESA; #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) #include -typedef Bool ( * glXGetSyncValuesOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc); -typedef Bool ( * glXGetMscRateOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator); -typedef int64_t ( * glXSwapBuffersMscOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder); -typedef Bool ( * glXWaitForMscOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc); -typedef Bool ( * glXWaitForSbcOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc); +typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc); +typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator); +typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder); +typedef Bool ( * PFNGLXWAITFORMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc); +typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc); -extern glXGetSyncValuesOMLPROC glXGetSyncValuesOML; -extern glXGetMscRateOMLPROC glXGetMscRateOML; -extern glXSwapBuffersMscOMLPROC glXSwapBuffersMscOML; -extern glXWaitForMscOMLPROC glXWaitForMscOML; -extern glXWaitForSbcOMLPROC glXWaitForSbcOML; +extern PFNGLXGETSYNCVALUESOMLPROC glXGetSyncValuesOML; +extern PFNGLXGETMSCRATEOMLPROC glXGetMscRateOML; +extern PFNGLXSWAPBUFFERSMSCOMLPROC glXSwapBuffersMscOML; +extern PFNGLXWAITFORMSCOMLPROC glXWaitForMscOML; +extern PFNGLXWAITFORSBCOMLPROC glXWaitForSbcOML; #endif /* __STDC_VERSION__ */ #endif /* GLX_OML_sync_control */ @@ -525,11 +525,11 @@ extern glXWaitForSbcOMLPROC glXWaitForSbcOML; #ifdef GLX_NV_vertex_array_range -typedef void * ( * glXAllocateMemoryNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority); -typedef void ( * glXFreeMemoryNVPROC) (void *pointer); +typedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority); +typedef void ( * PFNGLXFREEMEMORYNVPROC) (void *pointer); -extern glXAllocateMemoryNVPROC glXAllocateMemoryNV; -extern glXFreeMemoryNVPROC glXFreeMemoryNV; +extern PFNGLXALLOCATEMEMORYNVPROC glXAllocateMemoryNV; +extern PFNGLXFREEMEMORYNVPROC glXFreeMemoryNV; #endif /* GLX_NV_vertex_array_range */ @@ -537,9 +537,9 @@ extern glXFreeMemoryNVPROC glXFreeMemoryNV; #ifdef GLX_SGI_cushion -typedef void ( * glXCushionSGIPROC) (Display *dpy, Window window, float cushion); +typedef void ( * PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushion); -extern glXCushionSGIPROC glXCushionSGI; +extern PFNGLXCUSHIONSGIPROC glXCushionSGI; #endif /* GLX_SGI_cushion */ @@ -547,11 +547,11 @@ extern glXCushionSGIPROC glXCushionSGI; #ifdef GLX_SGI_make_current_read -typedef Bool ( * glXMakeCurrentReadSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -typedef GLXDrawable ( * glXGetCurrentReadDrawableSGIPROC) (void); +typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); +typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void); -extern glXMakeCurrentReadSGIPROC glXMakeCurrentReadSGI; -extern glXGetCurrentReadDrawableSGIPROC glXGetCurrentReadDrawableSGI; +extern PFNGLXMAKECURRENTREADSGIPROC glXMakeCurrentReadSGI; +extern PFNGLXGETCURRENTREADDRAWABLESGIPROC glXGetCurrentReadDrawableSGI; #endif /* GLX_SGI_make_current_read */ @@ -559,9 +559,9 @@ extern glXGetCurrentReadDrawableSGIPROC glXGetCurrentReadDrawableSGI; #ifdef GLX_SGI_swap_control -typedef int ( * glXSwapIntervalSGIPROC) (int interval); +typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval); -extern glXSwapIntervalSGIPROC glXSwapIntervalSGI; +extern PFNGLXSWAPINTERVALSGIPROC glXSwapIntervalSGI; #endif /* GLX_SGI_swap_control */ @@ -569,13 +569,13 @@ extern glXSwapIntervalSGIPROC glXSwapIntervalSGI; #ifdef GLX_SGI_video_sync -typedef int ( * glXGetVideoSyncSGIPROC) (unsigned int *count); -typedef int ( * glXWaitVideoSyncSGIPROC) (int divisor, int remainder, unsigned int *count); -typedef int ( * glXGetRefreshRateSGIPROC) (unsigned int *rate); +typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count); +typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count); +typedef int ( * PFNGLXGETREFRESHRATESGIPROC) (unsigned int *rate); -extern glXGetVideoSyncSGIPROC glXGetVideoSyncSGI; -extern glXWaitVideoSyncSGIPROC glXWaitVideoSyncSGI; -extern glXGetRefreshRateSGIPROC glXGetRefreshRateSGI; +extern PFNGLXGETVIDEOSYNCSGIPROC glXGetVideoSyncSGI; +extern PFNGLXWAITVIDEOSYNCSGIPROC glXWaitVideoSyncSGI; +extern PFNGLXGETREFRESHRATESGIPROC glXGetRefreshRateSGI; #endif /* GLX_SGI_video_sync */ @@ -623,19 +623,19 @@ extern glXGetRefreshRateSGIPROC glXGetRefreshRateSGI; typedef XID GLXFBConfigIDSGIX; typedef struct __GLXFBConfigRec *GLXFBConfigSGIX; -typedef int ( * glXGetFBConfigAttribSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value); -typedef GLXFBConfigSGIX * ( * glXChooseFBConfigSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements); -typedef GLXPixmap ( * glXCreateGLXPixmapWithConfigSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap); -typedef GLXContext ( * glXCreateContextWithConfigSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); -typedef XVisualInfo * ( * glXGetVisualFromFBConfigSGIXPROC) (Display *dpy, GLXFBConfigSGIX config); -typedef GLXFBConfigSGIX ( * glXGetFBConfigFromVisualSGIXPROC) (Display *dpy, XVisualInfo *vis); +typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value); +typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements); +typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap); +typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); +typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config); +typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display *dpy, XVisualInfo *vis); -extern glXGetFBConfigAttribSGIXPROC glXGetFBConfigAttribSGIX; -extern glXChooseFBConfigSGIXPROC glXChooseFBConfigSGIX; -extern glXCreateGLXPixmapWithConfigSGIXPROC glXCreateGLXPixmapWithConfigSGIX; -extern glXCreateContextWithConfigSGIXPROC glXCreateContextWithConfigSGIX; -extern glXGetVisualFromFBConfigSGIXPROC glXGetVisualFromFBConfigSGIX; -extern glXGetFBConfigFromVisualSGIXPROC glXGetFBConfigFromVisualSGIX; +extern PFNGLXGETFBCONFIGATTRIBSGIXPROC glXGetFBConfigAttribSGIX; +extern PFNGLXCHOOSEFBCONFIGSGIXPROC glXChooseFBConfigSGIX; +extern PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC glXCreateGLXPixmapWithConfigSGIX; +extern PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC glXCreateContextWithConfigSGIX; +extern PFNGLXGETVISUALFROMFBCONFIGSGIXPROC glXGetVisualFromFBConfigSGIX; +extern PFNGLXGETFBCONFIGFROMVISUALSGIXPROC glXGetFBConfigFromVisualSGIX; #endif /* GLX_SGIX_fbconfig */ @@ -684,17 +684,17 @@ typedef struct { int count; } GLXBufferClobberEventSGIX; -typedef GLXPbufferSGIX ( * glXCreateGLXPbufferSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); -typedef void ( * glXDestroyGLXPbufferSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf); -typedef int ( * glXQueryGLXPbufferSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); -typedef void ( * glXSelectEventSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long mask); -typedef void ( * glXGetSelectedEventSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long *mask); +typedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); +typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf); +typedef int ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); +typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long mask); +typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long *mask); -extern glXCreateGLXPbufferSGIXPROC glXCreateGLXPbufferSGIX; -extern glXDestroyGLXPbufferSGIXPROC glXDestroyGLXPbufferSGIX; -extern glXQueryGLXPbufferSGIXPROC glXQueryGLXPbufferSGIX; -extern glXSelectEventSGIXPROC glXSelectEventSGIX; -extern glXGetSelectedEventSGIXPROC glXGetSelectedEventSGIX; +extern PFNGLXCREATEGLXPBUFFERSGIXPROC glXCreateGLXPbufferSGIX; +extern PFNGLXDESTROYGLXPBUFFERSGIXPROC glXDestroyGLXPbufferSGIX; +extern PFNGLXQUERYGLXPBUFFERSGIXPROC glXQueryGLXPbufferSGIX; +extern PFNGLXSELECTEVENTSGIXPROC glXSelectEventSGIX; +extern PFNGLXGETSELECTEDEVENTSGIXPROC glXGetSelectedEventSGIX; #endif /* GLX_SGIX_pbuffer */ @@ -702,11 +702,11 @@ extern glXGetSelectedEventSGIXPROC glXGetSelectedEventSGIX; #ifdef GLX_SGIX_swap_barrier -typedef void ( * glXBindSwapBarrierSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier); -typedef Bool ( * glXQueryMaxSwapBarriersSGIXPROC) (Display *dpy, int screen, int *max); +typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier); +typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max); -extern glXBindSwapBarrierSGIXPROC glXBindSwapBarrierSGIX; -extern glXQueryMaxSwapBarriersSGIXPROC glXQueryMaxSwapBarriersSGIX; +extern PFNGLXBINDSWAPBARRIERSGIXPROC glXBindSwapBarrierSGIX; +extern PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC glXQueryMaxSwapBarriersSGIX; #endif /* GLX_SGIX_swap_barrier */ @@ -714,9 +714,9 @@ extern glXQueryMaxSwapBarriersSGIXPROC glXQueryMaxSwapBarriersSGIX; #ifdef GLX_SGIX_swap_group -typedef void ( * glXJoinSwapGroupSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member); +typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member); -extern glXJoinSwapGroupSGIXPROC glXJoinSwapGroupSGIX; +extern PFNGLXJOINSWAPGROUPSGIXPROC glXJoinSwapGroupSGIX; #endif /* GLX_SGIX_swap_group */ @@ -732,9 +732,9 @@ extern glXJoinSwapGroupSGIXPROC glXJoinSwapGroupSGIX; #ifdef GLX_SUN_get_transparent_index -typedef Status ( * glXGetTransparentIndexSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex); +typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex); -extern glXGetTransparentIndexSUNPROC glXGetTransparentIndexSUN; +extern PFNGLXGETTRANSPARENTINDEXSUNPROC glXGetTransparentIndexSUN; #endif /* GLX_SUN_get_transparent_index */ diff --git a/include/GL/wglew.h b/include/GL/wglew.h index 4747c6f..49d8efd 100644 --- a/include/GL/wglew.h +++ b/include/GL/wglew.h @@ -151,15 +151,15 @@ extern "C" { #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 -typedef HANDLE (APIENTRY * wglCreateBufferRegionARBPROC) (HDC hDC, int iLayerPlane, UINT uType); -typedef VOID (APIENTRY * wglDeleteBufferRegionARBPROC) (HANDLE hRegion); -typedef BOOL (APIENTRY * wglSaveBufferRegionARBPROC) (HANDLE hRegion, int x, int y, int width, int height); -typedef BOOL (APIENTRY * wglRestoreBufferRegionARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc); +typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType); +typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion); +typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height); +typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc); -extern GLEW_EXPORT wglCreateBufferRegionARBPROC wglCreateBufferRegionARB; -extern GLEW_EXPORT wglDeleteBufferRegionARBPROC wglDeleteBufferRegionARB; -extern GLEW_EXPORT wglSaveBufferRegionARBPROC wglSaveBufferRegionARB; -extern GLEW_EXPORT wglRestoreBufferRegionARBPROC wglRestoreBufferRegionARB; +extern GLEW_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC wglCreateBufferRegionARB; +extern GLEW_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC wglDeleteBufferRegionARB; +extern GLEW_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC wglSaveBufferRegionARB; +extern GLEW_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC wglRestoreBufferRegionARB; #endif /* WGL_ARB_buffer_region */ @@ -167,9 +167,9 @@ extern GLEW_EXPORT wglRestoreBufferRegionARBPROC wglRestoreBufferRegionARB; #ifdef WGL_ARB_extensions_string -typedef const char* (APIENTRY * wglGetExtensionsStringARBPROC) (HDC hdc); +typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); -extern GLEW_EXPORT wglGetExtensionsStringARBPROC wglGetExtensionsStringARB; +extern GLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGARBPROC wglGetExtensionsStringARB; #endif /* WGL_ARB_extensions_string */ @@ -180,11 +180,11 @@ extern GLEW_EXPORT wglGetExtensionsStringARBPROC wglGetExtensionsStringARB; #define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 -typedef BOOL (APIENTRY * wglMakeContextCurrentARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -typedef HDC (APIENTRY * wglGetCurrentReadDCARBPROC) (void); +typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); +typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (void); -extern GLEW_EXPORT wglMakeContextCurrentARBPROC wglMakeContextCurrentARB; -extern GLEW_EXPORT wglGetCurrentReadDCARBPROC wglGetCurrentReadDCARB; +extern GLEW_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC wglMakeContextCurrentARB; +extern GLEW_EXPORT PFNWGLGETCURRENTREADDCARBPROC wglGetCurrentReadDCARB; #endif /* WGL_ARB_make_current_read */ @@ -212,17 +212,17 @@ extern GLEW_EXPORT wglGetCurrentReadDCARBPROC wglGetCurrentReadDCARB; DECLARE_HANDLE(HPBUFFERARB); -typedef HPBUFFERARB (APIENTRY * wglCreatePbufferARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -typedef HDC (APIENTRY * wglGetPbufferDCARBPROC) (HPBUFFERARB hPbuffer); -typedef int (APIENTRY * wglReleasePbufferDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC); -typedef BOOL (APIENTRY * wglDestroyPbufferARBPROC) (HPBUFFERARB hPbuffer); -typedef BOOL (APIENTRY * wglQueryPbufferARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue); +typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); +typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer); +typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC); +typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer); +typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue); -extern GLEW_EXPORT wglCreatePbufferARBPROC wglCreatePbufferARB; -extern GLEW_EXPORT wglGetPbufferDCARBPROC wglGetPbufferDCARB; -extern GLEW_EXPORT wglReleasePbufferDCARBPROC wglReleasePbufferDCARB; -extern GLEW_EXPORT wglDestroyPbufferARBPROC wglDestroyPbufferARB; -extern GLEW_EXPORT wglQueryPbufferARBPROC wglQueryPbufferARB; +extern GLEW_EXPORT PFNWGLCREATEPBUFFERARBPROC wglCreatePbufferARB; +extern GLEW_EXPORT PFNWGLGETPBUFFERDCARBPROC wglGetPbufferDCARB; +extern GLEW_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC wglReleasePbufferDCARB; +extern GLEW_EXPORT PFNWGLDESTROYPBUFFERARBPROC wglDestroyPbufferARB; +extern GLEW_EXPORT PFNWGLQUERYPBUFFERARBPROC wglQueryPbufferARB; #endif /* WGL_ARB_pbuffer */ @@ -280,13 +280,13 @@ extern GLEW_EXPORT wglQueryPbufferARBPROC wglQueryPbufferARB; #define WGL_TYPE_RGBA_ARB 0x202B #define WGL_TYPE_COLORINDEX_ARB 0x202C -typedef BOOL (APIENTRY * wglGetPixelFormatAttribivARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues); -typedef BOOL (APIENTRY * wglGetPixelFormatAttribfvARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues); -typedef BOOL (APIENTRY * wglChoosePixelFormatARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); +typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues); +typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues); +typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -extern GLEW_EXPORT wglGetPixelFormatAttribivARBPROC wglGetPixelFormatAttribivARB; -extern GLEW_EXPORT wglGetPixelFormatAttribfvARBPROC wglGetPixelFormatAttribfvARB; -extern GLEW_EXPORT wglChoosePixelFormatARBPROC wglChoosePixelFormatARB; +extern GLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC wglGetPixelFormatAttribivARB; +extern GLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC wglGetPixelFormatAttribfvARB; +extern GLEW_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB; #endif /* WGL_ARB_pixel_format */ @@ -329,13 +329,13 @@ extern GLEW_EXPORT wglChoosePixelFormatARBPROC wglChoosePixelFormatARB; #define WGL_AUX8_ARB 0x208F #define WGL_AUX9_ARB 0x2090 -typedef BOOL (APIENTRY * wglBindTexImageARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); -typedef BOOL (APIENTRY * wglReleaseTexImageARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); -typedef BOOL (APIENTRY * wglSetPbufferAttribARBPROC) (HPBUFFERARB hPbuffer, const int *piAttribList); +typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); +typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); +typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int *piAttribList); -extern GLEW_EXPORT wglBindTexImageARBPROC wglBindTexImageARB; -extern GLEW_EXPORT wglReleaseTexImageARBPROC wglReleaseTexImageARB; -extern GLEW_EXPORT wglSetPbufferAttribARBPROC wglSetPbufferAttribARB; +extern GLEW_EXPORT PFNWGLBINDTEXIMAGEARBPROC wglBindTexImageARB; +extern GLEW_EXPORT PFNWGLRELEASETEXIMAGEARBPROC wglReleaseTexImageARB; +extern GLEW_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC wglSetPbufferAttribARB; #endif /* WGL_ARB_render_texture */ @@ -351,15 +351,15 @@ extern GLEW_EXPORT wglSetPbufferAttribARBPROC wglSetPbufferAttribARB; #ifdef WGL_EXT_display_color_table -typedef GLboolean (APIENTRY * wglCreateDisplayColorTableEXTPROC) (GLushort id); -typedef GLboolean (APIENTRY * wglLoadDisplayColorTableEXTPROC) (const GLushort *table, GLuint length); -typedef GLboolean (APIENTRY * wglBindDisplayColorTableEXTPROC) (GLushort id); -typedef void (APIENTRY * wglDestroyDisplayColorTableEXTPROC) (GLushort id); +typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id); +typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort *table, GLuint length); +typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id); +typedef void (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id); -extern GLEW_EXPORT wglCreateDisplayColorTableEXTPROC wglCreateDisplayColorTableEXT; -extern GLEW_EXPORT wglLoadDisplayColorTableEXTPROC wglLoadDisplayColorTableEXT; -extern GLEW_EXPORT wglBindDisplayColorTableEXTPROC wglBindDisplayColorTableEXT; -extern GLEW_EXPORT wglDestroyDisplayColorTableEXTPROC wglDestroyDisplayColorTableEXT; +extern GLEW_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC wglCreateDisplayColorTableEXT; +extern GLEW_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC wglLoadDisplayColorTableEXT; +extern GLEW_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC wglBindDisplayColorTableEXT; +extern GLEW_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC wglDestroyDisplayColorTableEXT; #endif /* WGL_EXT_display_color_table */ @@ -367,9 +367,9 @@ extern GLEW_EXPORT wglDestroyDisplayColorTableEXTPROC wglDestroyDisplayColorTabl #ifdef WGL_EXT_extensions_string -typedef const char* (APIENTRY * wglGetExtensionsStringEXTPROC) (); +typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (); -extern GLEW_EXPORT wglGetExtensionsStringEXTPROC wglGetExtensionsStringEXT; +extern GLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGEXTPROC wglGetExtensionsStringEXT; #endif /* WGL_EXT_extensions_string */ @@ -379,11 +379,11 @@ extern GLEW_EXPORT wglGetExtensionsStringEXTPROC wglGetExtensionsStringEXT; #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 -typedef BOOL (APIENTRY * wglMakeContextCurrentEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -typedef HDC (APIENTRY * wglGetCurrentReadDCEXTPROC) (void); +typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); +typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (void); -extern GLEW_EXPORT wglMakeContextCurrentEXTPROC wglMakeContextCurrentEXT; -extern GLEW_EXPORT wglGetCurrentReadDCEXTPROC wglGetCurrentReadDCEXT; +extern GLEW_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC wglMakeContextCurrentEXT; +extern GLEW_EXPORT PFNWGLGETCURRENTREADDCEXTPROC wglGetCurrentReadDCEXT; #endif /* WGL_EXT_make_current_read */ @@ -446,13 +446,13 @@ extern GLEW_EXPORT wglGetCurrentReadDCEXTPROC wglGetCurrentReadDCEXT; #define WGL_TYPE_RGBA_EXT 0x202B #define WGL_TYPE_COLORINDEX_EXT 0x202C -typedef BOOL (APIENTRY * wglGetPixelFormatAttribivEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); -typedef BOOL (APIENTRY * wglGetPixelFormatAttribfvEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); -typedef BOOL (APIENTRY * wglChoosePixelFormatEXTPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); +typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); +typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); +typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -extern GLEW_EXPORT wglGetPixelFormatAttribivEXTPROC wglGetPixelFormatAttribivEXT; -extern GLEW_EXPORT wglGetPixelFormatAttribfvEXTPROC wglGetPixelFormatAttribfvEXT; -extern GLEW_EXPORT wglChoosePixelFormatEXTPROC wglChoosePixelFormatEXT; +extern GLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC wglGetPixelFormatAttribivEXT; +extern GLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC wglGetPixelFormatAttribfvEXT; +extern GLEW_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC wglChoosePixelFormatEXT; #endif /* WGL_EXT_pixel_format */ @@ -472,17 +472,17 @@ extern GLEW_EXPORT wglChoosePixelFormatEXTPROC wglChoosePixelFormatEXT; DECLARE_HANDLE(HPBUFFEREXT); -typedef HPBUFFEREXT (APIENTRY * wglCreatePbufferEXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -typedef HDC (APIENTRY * wglGetPbufferDCEXTPROC) (HPBUFFEREXT hPbuffer); -typedef int (APIENTRY * wglReleasePbufferDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC); -typedef BOOL (APIENTRY * wglDestroyPbufferEXTPROC) (HPBUFFEREXT hPbuffer); -typedef BOOL (APIENTRY * wglQueryPbufferEXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue); +typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); +typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer); +typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC); +typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer); +typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue); -extern GLEW_EXPORT wglCreatePbufferEXTPROC wglCreatePbufferEXT; -extern GLEW_EXPORT wglGetPbufferDCEXTPROC wglGetPbufferDCEXT; -extern GLEW_EXPORT wglReleasePbufferDCEXTPROC wglReleasePbufferDCEXT; -extern GLEW_EXPORT wglDestroyPbufferEXTPROC wglDestroyPbufferEXT; -extern GLEW_EXPORT wglQueryPbufferEXTPROC wglQueryPbufferEXT; +extern GLEW_EXPORT PFNWGLCREATEPBUFFEREXTPROC wglCreatePbufferEXT; +extern GLEW_EXPORT PFNWGLGETPBUFFERDCEXTPROC wglGetPbufferDCEXT; +extern GLEW_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC wglReleasePbufferDCEXT; +extern GLEW_EXPORT PFNWGLDESTROYPBUFFEREXTPROC wglDestroyPbufferEXT; +extern GLEW_EXPORT PFNWGLQUERYPBUFFEREXTPROC wglQueryPbufferEXT; #endif /* WGL_EXT_pbuffer */ @@ -490,11 +490,11 @@ extern GLEW_EXPORT wglQueryPbufferEXTPROC wglQueryPbufferEXT; #ifdef WGL_EXT_swap_control -typedef BOOL (APIENTRY * wglSwapIntervalEXTPROC) (int interval); -typedef int (APIENTRY * wglGetSwapIntervalEXTPROC) (void); +typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval); +typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void); -extern GLEW_EXPORT wglSwapIntervalEXTPROC wglSwapIntervalEXT; -extern GLEW_EXPORT wglGetSwapIntervalEXTPROC wglGetSwapIntervalEXT; +extern GLEW_EXPORT PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT; +extern GLEW_EXPORT PFNWGLGETSWAPINTERVALEXTPROC wglGetSwapIntervalEXT; #endif /* WGL_EXT_swap_control */ @@ -507,11 +507,11 @@ extern GLEW_EXPORT wglGetSwapIntervalEXTPROC wglGetSwapIntervalEXT; #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 -typedef BOOL (APIENTRY * wglGetDigitalVideoParametersI3DPROC) (HDC hDC, int iAttribute, int *piValue); -typedef BOOL (APIENTRY * wglSetDigitalVideoParametersI3DPROC) (HDC hDC, int iAttribute, const int *piValue); +typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue); +typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue); -extern GLEW_EXPORT wglGetDigitalVideoParametersI3DPROC wglGetDigitalVideoParametersI3D; -extern GLEW_EXPORT wglSetDigitalVideoParametersI3DPROC wglSetDigitalVideoParametersI3D; +extern GLEW_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC wglGetDigitalVideoParametersI3D; +extern GLEW_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC wglSetDigitalVideoParametersI3D; #endif /* WGL_I3D_digital_video_control */ @@ -522,15 +522,15 @@ extern GLEW_EXPORT wglSetDigitalVideoParametersI3DPROC wglSetDigitalVideoParamet #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F -typedef BOOL (APIENTRY * wglGetGammaTableParametersI3DPROC) (HDC hDC, int iAttribute, int *piValue); -typedef BOOL (APIENTRY * wglSetGammaTableParametersI3DPROC) (HDC hDC, int iAttribute, const int *piValue); -typedef BOOL (APIENTRY * wglGetGammaTableI3DPROC) (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue); -typedef BOOL (APIENTRY * wglSetGammaTableI3DPROC) (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue); +typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue); +typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue); +typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue); +typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue); -extern GLEW_EXPORT wglGetGammaTableParametersI3DPROC wglGetGammaTableParametersI3D; -extern GLEW_EXPORT wglSetGammaTableParametersI3DPROC wglSetGammaTableParametersI3D; -extern GLEW_EXPORT wglGetGammaTableI3DPROC wglGetGammaTableI3D; -extern GLEW_EXPORT wglSetGammaTableI3DPROC wglSetGammaTableI3D; +extern GLEW_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC wglGetGammaTableParametersI3D; +extern GLEW_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC wglSetGammaTableParametersI3D; +extern GLEW_EXPORT PFNWGLGETGAMMATABLEI3DPROC wglGetGammaTableI3D; +extern GLEW_EXPORT PFNWGLSETGAMMATABLEI3DPROC wglSetGammaTableI3D; #endif /* WGL_I3D_gamma */ @@ -548,31 +548,31 @@ extern GLEW_EXPORT wglSetGammaTableI3DPROC wglSetGammaTableI3D; #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C -typedef BOOL (APIENTRY * wglEnableGenlockI3DPROC) (HDC hDC); -typedef BOOL (APIENTRY * wglDisableGenlockI3DPROC) (HDC hDC); -typedef BOOL (APIENTRY * wglIsEnabledGenlockI3DPROC) (HDC hDC, BOOL *pFlag); -typedef BOOL (APIENTRY * wglGenlockSourceI3DPROC) (HDC hDC, UINT uSource); -typedef BOOL (APIENTRY * wglGetGenlockSourceI3DPROC) (HDC hDC, UINT *uSource); -typedef BOOL (APIENTRY * wglGenlockSourceEdgeI3DPROC) (HDC hDC, UINT uEdge); -typedef BOOL (APIENTRY * wglGetGenlockSourceEdgeI3DPROC) (HDC hDC, UINT *uEdge); -typedef BOOL (APIENTRY * wglGenlockSampleRateI3DPROC) (HDC hDC, UINT uRate); -typedef BOOL (APIENTRY * wglGetGenlockSampleRateI3DPROC) (HDC hDC, UINT *uRate); -typedef BOOL (APIENTRY * wglGenlockSourceDelayI3DPROC) (HDC hDC, UINT uDelay); -typedef BOOL (APIENTRY * wglGetGenlockSourceDelayI3DPROC) (HDC hDC, UINT *uDelay); -typedef BOOL (APIENTRY * wglQueryGenlockMaxSourceDelayI3DPROC) (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay); +typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC); +typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC); +typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL *pFlag); +typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource); +typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT *uSource); +typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge); +typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT *uEdge); +typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate); +typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT *uRate); +typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay); +typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT *uDelay); +typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay); -extern GLEW_EXPORT wglEnableGenlockI3DPROC wglEnableGenlockI3D; -extern GLEW_EXPORT wglDisableGenlockI3DPROC wglDisableGenlockI3D; -extern GLEW_EXPORT wglIsEnabledGenlockI3DPROC wglIsEnabledGenlockI3D; -extern GLEW_EXPORT wglGenlockSourceI3DPROC wglGenlockSourceI3D; -extern GLEW_EXPORT wglGetGenlockSourceI3DPROC wglGetGenlockSourceI3D; -extern GLEW_EXPORT wglGenlockSourceEdgeI3DPROC wglGenlockSourceEdgeI3D; -extern GLEW_EXPORT wglGetGenlockSourceEdgeI3DPROC wglGetGenlockSourceEdgeI3D; -extern GLEW_EXPORT wglGenlockSampleRateI3DPROC wglGenlockSampleRateI3D; -extern GLEW_EXPORT wglGetGenlockSampleRateI3DPROC wglGetGenlockSampleRateI3D; -extern GLEW_EXPORT wglGenlockSourceDelayI3DPROC wglGenlockSourceDelayI3D; -extern GLEW_EXPORT wglGetGenlockSourceDelayI3DPROC wglGetGenlockSourceDelayI3D; -extern GLEW_EXPORT wglQueryGenlockMaxSourceDelayI3DPROC wglQueryGenlockMaxSourceDelayI3D; +extern GLEW_EXPORT PFNWGLENABLEGENLOCKI3DPROC wglEnableGenlockI3D; +extern GLEW_EXPORT PFNWGLDISABLEGENLOCKI3DPROC wglDisableGenlockI3D; +extern GLEW_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC wglIsEnabledGenlockI3D; +extern GLEW_EXPORT PFNWGLGENLOCKSOURCEI3DPROC wglGenlockSourceI3D; +extern GLEW_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC wglGetGenlockSourceI3D; +extern GLEW_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC wglGenlockSourceEdgeI3D; +extern GLEW_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC wglGetGenlockSourceEdgeI3D; +extern GLEW_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC wglGenlockSampleRateI3D; +extern GLEW_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC wglGetGenlockSampleRateI3D; +extern GLEW_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC wglGenlockSourceDelayI3D; +extern GLEW_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC wglGetGenlockSourceDelayI3D; +extern GLEW_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC wglQueryGenlockMaxSourceDelayI3D; #endif /* WGL_I3D_genlock */ @@ -583,15 +583,15 @@ extern GLEW_EXPORT wglQueryGenlockMaxSourceDelayI3DPROC wglQueryGenlockMaxSource #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 -typedef LPVOID (APIENTRY * wglCreateImageBufferI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags); -typedef BOOL (APIENTRY * wglDestroyImageBufferI3DPROC) (HDC hDC, LPVOID pAddress); -typedef BOOL (APIENTRY * wglAssociateImageBufferEventsI3DPROC) (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count); -typedef BOOL (APIENTRY * wglReleaseImageBufferEventsI3DPROC) (HDC hDC, const LPVOID *pAddress, UINT count); +typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags); +typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress); +typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count); +typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const LPVOID *pAddress, UINT count); -extern GLEW_EXPORT wglCreateImageBufferI3DPROC wglCreateImageBufferI3D; -extern GLEW_EXPORT wglDestroyImageBufferI3DPROC wglDestroyImageBufferI3D; -extern GLEW_EXPORT wglAssociateImageBufferEventsI3DPROC wglAssociateImageBufferEventsI3D; -extern GLEW_EXPORT wglReleaseImageBufferEventsI3DPROC wglReleaseImageBufferEventsI3D; +extern GLEW_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC wglCreateImageBufferI3D; +extern GLEW_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC wglDestroyImageBufferI3D; +extern GLEW_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC wglAssociateImageBufferEventsI3D; +extern GLEW_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC wglReleaseImageBufferEventsI3D; #endif /* WGL_I3D_image_buffer */ @@ -599,15 +599,15 @@ extern GLEW_EXPORT wglReleaseImageBufferEventsI3DPROC wglReleaseImageBufferEvent #ifdef WGL_I3D_swap_frame_lock -typedef BOOL (APIENTRY * wglEnableFrameLockI3DPROC) (void); -typedef BOOL (APIENTRY * wglDisableFrameLockI3DPROC) (void); -typedef BOOL (APIENTRY * wglIsEnabledFrameLockI3DPROC) (BOOL *pFlag); -typedef BOOL (APIENTRY * wglQueryFrameLockMasterI3DPROC) (BOOL *pFlag); +typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (void); +typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (void); +typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL *pFlag); +typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL *pFlag); -extern GLEW_EXPORT wglEnableFrameLockI3DPROC wglEnableFrameLockI3D; -extern GLEW_EXPORT wglDisableFrameLockI3DPROC wglDisableFrameLockI3D; -extern GLEW_EXPORT wglIsEnabledFrameLockI3DPROC wglIsEnabledFrameLockI3D; -extern GLEW_EXPORT wglQueryFrameLockMasterI3DPROC wglQueryFrameLockMasterI3D; +extern GLEW_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC wglEnableFrameLockI3D; +extern GLEW_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC wglDisableFrameLockI3D; +extern GLEW_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC wglIsEnabledFrameLockI3D; +extern GLEW_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC wglQueryFrameLockMasterI3D; #endif /* WGL_I3D_swap_frame_lock */ @@ -615,15 +615,15 @@ extern GLEW_EXPORT wglQueryFrameLockMasterI3DPROC wglQueryFrameLockMasterI3D; #ifdef WGL_I3D_swap_frame_usage -typedef BOOL (APIENTRY * wglGetFrameUsageI3DPROC) (float *pUsage); -typedef BOOL (APIENTRY * wglBeginFrameTrackingI3DPROC) (void); -typedef BOOL (APIENTRY * wglEndFrameTrackingI3DPROC) (void); -typedef BOOL (APIENTRY * wglQueryFrameTrackingI3DPROC) (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage); +typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage); +typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void); +typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void); +typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage); -extern GLEW_EXPORT wglGetFrameUsageI3DPROC wglGetFrameUsageI3D; -extern GLEW_EXPORT wglBeginFrameTrackingI3DPROC wglBeginFrameTrackingI3D; -extern GLEW_EXPORT wglEndFrameTrackingI3DPROC wglEndFrameTrackingI3D; -extern GLEW_EXPORT wglQueryFrameTrackingI3DPROC wglQueryFrameTrackingI3D; +extern GLEW_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC wglGetFrameUsageI3D; +extern GLEW_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC wglBeginFrameTrackingI3D; +extern GLEW_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC wglEndFrameTrackingI3D; +extern GLEW_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC wglQueryFrameTrackingI3D; #endif /* WGL_I3D_swap_frame_usage */ @@ -631,19 +631,19 @@ extern GLEW_EXPORT wglQueryFrameTrackingI3DPROC wglQueryFrameTrackingI3D; #ifdef WGL_OML_sync_control -typedef BOOL (APIENTRY * wglGetSyncValuesOMLPROC) (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); -typedef BOOL (APIENTRY * wglGetMscRateOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator); -typedef INT64 (APIENTRY * wglSwapBuffersMscOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef INT64 (APIENTRY * wglSwapLayerBuffersMscOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef BOOL (APIENTRY * wglWaitForMscOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); -typedef BOOL (APIENTRY * wglWaitForSbcOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); +typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); +typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator); +typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); +typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); +typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); +typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); -extern GLEW_EXPORT wglGetSyncValuesOMLPROC wglGetSyncValuesOML; -extern GLEW_EXPORT wglGetMscRateOMLPROC wglGetMscRateOML; -extern GLEW_EXPORT wglSwapBuffersMscOMLPROC wglSwapBuffersMscOML; -extern GLEW_EXPORT wglSwapLayerBuffersMscOMLPROC wglSwapLayerBuffersMscOML; -extern GLEW_EXPORT wglWaitForMscOMLPROC wglWaitForMscOML; -extern GLEW_EXPORT wglWaitForSbcOMLPROC wglWaitForSbcOML; +extern GLEW_EXPORT PFNWGLGETSYNCVALUESOMLPROC wglGetSyncValuesOML; +extern GLEW_EXPORT PFNWGLGETMSCRATEOMLPROC wglGetMscRateOML; +extern GLEW_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC wglSwapBuffersMscOML; +extern GLEW_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC wglSwapLayerBuffersMscOML; +extern GLEW_EXPORT PFNWGLWAITFORMSCOMLPROC wglWaitForMscOML; +extern GLEW_EXPORT PFNWGLWAITFORSBCOMLPROC wglWaitForSbcOML; #endif /* WGL_OML_sync_control */ @@ -700,11 +700,11 @@ extern GLEW_EXPORT wglWaitForSbcOMLPROC wglWaitForSbcOML; #ifdef WGL_NV_vertex_array_range -typedef void * (APIENTRY * wglAllocateMemoryNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority); -typedef void (APIENTRY * wglFreeMemoryNVPROC) (void *pointer); +typedef void * (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority); +typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer); -extern GLEW_EXPORT wglAllocateMemoryNVPROC wglAllocateMemoryNV; -extern GLEW_EXPORT wglFreeMemoryNVPROC wglFreeMemoryNV; +extern GLEW_EXPORT PFNWGLALLOCATEMEMORYNVPROC wglAllocateMemoryNV; +extern GLEW_EXPORT PFNWGLFREEMEMORYNVPROC wglFreeMemoryNV; #endif /* WGL_NV_vertex_array_range */ diff --git a/src/glew.c b/src/glew.c index b4448d9..1c86ea7 100644 --- a/src/glew.c +++ b/src/glew.c @@ -106,18 +106,18 @@ /* ------------------------------ OpenGL 1.2 ------------------------------ */ #ifdef GL_VERSION_1_2 -glCopyTexSubImage3DPROC glCopyTexSubImage3D = NULL; -glDrawRangeElementsPROC glDrawRangeElements = NULL; -glTexImage3DPROC glTexImage3D = NULL; -glTexSubImage3DPROC glTexSubImage3D = NULL; +PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D = NULL; +PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements = NULL; +PFNGLTEXIMAGE3DPROC glTexImage3D = NULL; +PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D = NULL; static GLboolean _glewInit_12 () { GLboolean r = GL_FALSE; - r = r || (glCopyTexSubImage3D = (glCopyTexSubImage3DPROC)glewGetProcAddress("glCopyTexSubImage3D")) == NULL; - r = r || (glDrawRangeElements = (glDrawRangeElementsPROC)glewGetProcAddress("glDrawRangeElements")) == NULL; - r = r || (glTexImage3D = (glTexImage3DPROC)glewGetProcAddress("glTexImage3D")) == NULL; - r = r || (glTexSubImage3D = (glTexSubImage3DPROC)glewGetProcAddress("glTexSubImage3D")) == NULL; + r = r || (glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)glewGetProcAddress("glCopyTexSubImage3D")) == NULL; + r = r || (glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)glewGetProcAddress("glDrawRangeElements")) == NULL; + r = r || (glTexImage3D = (PFNGLTEXIMAGE3DPROC)glewGetProcAddress("glTexImage3D")) == NULL; + r = r || (glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)glewGetProcAddress("glTexSubImage3D")) == NULL; return r; } #endif /* GL_VERSION_1_2 */ @@ -125,102 +125,102 @@ static GLboolean _glewInit_12 () /* ------------------------------ OpenGL 1.3 ------------------------------ */ #ifdef GL_VERSION_1_3 -glActiveTexturePROC glActiveTexture = NULL; -glClientActiveTexturePROC glClientActiveTexture = NULL; -glMultiTexCoord1dPROC glMultiTexCoord1d = NULL; -glMultiTexCoord1dvPROC glMultiTexCoord1dv = NULL; -glMultiTexCoord1fPROC glMultiTexCoord1f = NULL; -glMultiTexCoord1fvPROC glMultiTexCoord1fv = NULL; -glMultiTexCoord1iPROC glMultiTexCoord1i = NULL; -glMultiTexCoord1ivPROC glMultiTexCoord1iv = NULL; -glMultiTexCoord1sPROC glMultiTexCoord1s = NULL; -glMultiTexCoord1svPROC glMultiTexCoord1sv = NULL; -glMultiTexCoord2dPROC glMultiTexCoord2d = NULL; -glMultiTexCoord2dvPROC glMultiTexCoord2dv = NULL; -glMultiTexCoord2fPROC glMultiTexCoord2f = NULL; -glMultiTexCoord2fvPROC glMultiTexCoord2fv = NULL; -glMultiTexCoord2iPROC glMultiTexCoord2i = NULL; -glMultiTexCoord2ivPROC glMultiTexCoord2iv = NULL; -glMultiTexCoord2sPROC glMultiTexCoord2s = NULL; -glMultiTexCoord2svPROC glMultiTexCoord2sv = NULL; -glMultiTexCoord3dPROC glMultiTexCoord3d = NULL; -glMultiTexCoord3dvPROC glMultiTexCoord3dv = NULL; -glMultiTexCoord3fPROC glMultiTexCoord3f = NULL; -glMultiTexCoord3fvPROC glMultiTexCoord3fv = NULL; -glMultiTexCoord3iPROC glMultiTexCoord3i = NULL; -glMultiTexCoord3ivPROC glMultiTexCoord3iv = NULL; -glMultiTexCoord3sPROC glMultiTexCoord3s = NULL; -glMultiTexCoord3svPROC glMultiTexCoord3sv = NULL; -glMultiTexCoord4dPROC glMultiTexCoord4d = NULL; -glMultiTexCoord4dvPROC glMultiTexCoord4dv = NULL; -glMultiTexCoord4fPROC glMultiTexCoord4f = NULL; -glMultiTexCoord4fvPROC glMultiTexCoord4fv = NULL; -glMultiTexCoord4iPROC glMultiTexCoord4i = NULL; -glMultiTexCoord4ivPROC glMultiTexCoord4iv = NULL; -glMultiTexCoord4sPROC glMultiTexCoord4s = NULL; -glMultiTexCoord4svPROC glMultiTexCoord4sv = NULL; -glLoadTransposeMatrixfPROC glLoadTransposeMatrixf = NULL; -glLoadTransposeMatrixdPROC glLoadTransposeMatrixd = NULL; -glMultTransposeMatrixfPROC glMultTransposeMatrixf = NULL; -glMultTransposeMatrixdPROC glMultTransposeMatrixd = NULL; -glCompressedTexImage3DPROC glCompressedTexImage3D = NULL; -glCompressedTexImage2DPROC glCompressedTexImage2D = NULL; -glCompressedTexImage1DPROC glCompressedTexImage1D = NULL; -glCompressedTexSubImage3DPROC glCompressedTexSubImage3D = NULL; -glCompressedTexSubImage2DPROC glCompressedTexSubImage2D = NULL; -glCompressedTexSubImage1DPROC glCompressedTexSubImage1D = NULL; -glGetCompressedTexImagePROC glGetCompressedTexImage = NULL; -glSampleCoveragePROC glSampleCoverage = NULL; +PFNGLACTIVETEXTUREPROC glActiveTexture = NULL; +PFNGLCLIENTACTIVETEXTUREPROC glClientActiveTexture = NULL; +PFNGLMULTITEXCOORD1DPROC glMultiTexCoord1d = NULL; +PFNGLMULTITEXCOORD1DVPROC glMultiTexCoord1dv = NULL; +PFNGLMULTITEXCOORD1FPROC glMultiTexCoord1f = NULL; +PFNGLMULTITEXCOORD1FVPROC glMultiTexCoord1fv = NULL; +PFNGLMULTITEXCOORD1IPROC glMultiTexCoord1i = NULL; +PFNGLMULTITEXCOORD1IVPROC glMultiTexCoord1iv = NULL; +PFNGLMULTITEXCOORD1SPROC glMultiTexCoord1s = NULL; +PFNGLMULTITEXCOORD1SVPROC glMultiTexCoord1sv = NULL; +PFNGLMULTITEXCOORD2DPROC glMultiTexCoord2d = NULL; +PFNGLMULTITEXCOORD2DVPROC glMultiTexCoord2dv = NULL; +PFNGLMULTITEXCOORD2FPROC glMultiTexCoord2f = NULL; +PFNGLMULTITEXCOORD2FVPROC glMultiTexCoord2fv = NULL; +PFNGLMULTITEXCOORD2IPROC glMultiTexCoord2i = NULL; +PFNGLMULTITEXCOORD2IVPROC glMultiTexCoord2iv = NULL; +PFNGLMULTITEXCOORD2SPROC glMultiTexCoord2s = NULL; +PFNGLMULTITEXCOORD2SVPROC glMultiTexCoord2sv = NULL; +PFNGLMULTITEXCOORD3DPROC glMultiTexCoord3d = NULL; +PFNGLMULTITEXCOORD3DVPROC glMultiTexCoord3dv = NULL; +PFNGLMULTITEXCOORD3FPROC glMultiTexCoord3f = NULL; +PFNGLMULTITEXCOORD3FVPROC glMultiTexCoord3fv = NULL; +PFNGLMULTITEXCOORD3IPROC glMultiTexCoord3i = NULL; +PFNGLMULTITEXCOORD3IVPROC glMultiTexCoord3iv = NULL; +PFNGLMULTITEXCOORD3SPROC glMultiTexCoord3s = NULL; +PFNGLMULTITEXCOORD3SVPROC glMultiTexCoord3sv = NULL; +PFNGLMULTITEXCOORD4DPROC glMultiTexCoord4d = NULL; +PFNGLMULTITEXCOORD4DVPROC glMultiTexCoord4dv = NULL; +PFNGLMULTITEXCOORD4FPROC glMultiTexCoord4f = NULL; +PFNGLMULTITEXCOORD4FVPROC glMultiTexCoord4fv = NULL; +PFNGLMULTITEXCOORD4IPROC glMultiTexCoord4i = NULL; +PFNGLMULTITEXCOORD4IVPROC glMultiTexCoord4iv = NULL; +PFNGLMULTITEXCOORD4SPROC glMultiTexCoord4s = NULL; +PFNGLMULTITEXCOORD4SVPROC glMultiTexCoord4sv = NULL; +PFNGLLOADTRANSPOSEMATRIXFPROC glLoadTransposeMatrixf = NULL; +PFNGLLOADTRANSPOSEMATRIXDPROC glLoadTransposeMatrixd = NULL; +PFNGLMULTTRANSPOSEMATRIXFPROC glMultTransposeMatrixf = NULL; +PFNGLMULTTRANSPOSEMATRIXDPROC glMultTransposeMatrixd = NULL; +PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D = NULL; +PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D = NULL; +PFNGLCOMPRESSEDTEXIMAGE1DPROC glCompressedTexImage1D = NULL; +PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D = NULL; +PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D = NULL; +PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glCompressedTexSubImage1D = NULL; +PFNGLGETCOMPRESSEDTEXIMAGEPROC glGetCompressedTexImage = NULL; +PFNGLSAMPLECOVERAGEPROC glSampleCoverage = NULL; static GLboolean _glewInit_13 () { GLboolean r = GL_FALSE; - r = r || (glActiveTexture = (glActiveTexturePROC)glewGetProcAddress("glActiveTexture")) == NULL; - r = r || (glClientActiveTexture = (glClientActiveTexturePROC)glewGetProcAddress("glClientActiveTexture")) == NULL; - r = r || (glMultiTexCoord1d = (glMultiTexCoord1dPROC)glewGetProcAddress("glMultiTexCoord1d")) == NULL; - r = r || (glMultiTexCoord1dv = (glMultiTexCoord1dvPROC)glewGetProcAddress("glMultiTexCoord1dv")) == NULL; - r = r || (glMultiTexCoord1f = (glMultiTexCoord1fPROC)glewGetProcAddress("glMultiTexCoord1f")) == NULL; - r = r || (glMultiTexCoord1fv = (glMultiTexCoord1fvPROC)glewGetProcAddress("glMultiTexCoord1fv")) == NULL; - r = r || (glMultiTexCoord1i = (glMultiTexCoord1iPROC)glewGetProcAddress("glMultiTexCoord1i")) == NULL; - r = r || (glMultiTexCoord1iv = (glMultiTexCoord1ivPROC)glewGetProcAddress("glMultiTexCoord1iv")) == NULL; - r = r || (glMultiTexCoord1s = (glMultiTexCoord1sPROC)glewGetProcAddress("glMultiTexCoord1s")) == NULL; - r = r || (glMultiTexCoord1sv = (glMultiTexCoord1svPROC)glewGetProcAddress("glMultiTexCoord1sv")) == NULL; - r = r || (glMultiTexCoord2d = (glMultiTexCoord2dPROC)glewGetProcAddress("glMultiTexCoord2d")) == NULL; - r = r || (glMultiTexCoord2dv = (glMultiTexCoord2dvPROC)glewGetProcAddress("glMultiTexCoord2dv")) == NULL; - r = r || (glMultiTexCoord2f = (glMultiTexCoord2fPROC)glewGetProcAddress("glMultiTexCoord2f")) == NULL; - r = r || (glMultiTexCoord2fv = (glMultiTexCoord2fvPROC)glewGetProcAddress("glMultiTexCoord2fv")) == NULL; - r = r || (glMultiTexCoord2i = (glMultiTexCoord2iPROC)glewGetProcAddress("glMultiTexCoord2i")) == NULL; - r = r || (glMultiTexCoord2iv = (glMultiTexCoord2ivPROC)glewGetProcAddress("glMultiTexCoord2iv")) == NULL; - r = r || (glMultiTexCoord2s = (glMultiTexCoord2sPROC)glewGetProcAddress("glMultiTexCoord2s")) == NULL; - r = r || (glMultiTexCoord2sv = (glMultiTexCoord2svPROC)glewGetProcAddress("glMultiTexCoord2sv")) == NULL; - r = r || (glMultiTexCoord3d = (glMultiTexCoord3dPROC)glewGetProcAddress("glMultiTexCoord3d")) == NULL; - r = r || (glMultiTexCoord3dv = (glMultiTexCoord3dvPROC)glewGetProcAddress("glMultiTexCoord3dv")) == NULL; - r = r || (glMultiTexCoord3f = (glMultiTexCoord3fPROC)glewGetProcAddress("glMultiTexCoord3f")) == NULL; - r = r || (glMultiTexCoord3fv = (glMultiTexCoord3fvPROC)glewGetProcAddress("glMultiTexCoord3fv")) == NULL; - r = r || (glMultiTexCoord3i = (glMultiTexCoord3iPROC)glewGetProcAddress("glMultiTexCoord3i")) == NULL; - r = r || (glMultiTexCoord3iv = (glMultiTexCoord3ivPROC)glewGetProcAddress("glMultiTexCoord3iv")) == NULL; - r = r || (glMultiTexCoord3s = (glMultiTexCoord3sPROC)glewGetProcAddress("glMultiTexCoord3s")) == NULL; - r = r || (glMultiTexCoord3sv = (glMultiTexCoord3svPROC)glewGetProcAddress("glMultiTexCoord3sv")) == NULL; - r = r || (glMultiTexCoord4d = (glMultiTexCoord4dPROC)glewGetProcAddress("glMultiTexCoord4d")) == NULL; - r = r || (glMultiTexCoord4dv = (glMultiTexCoord4dvPROC)glewGetProcAddress("glMultiTexCoord4dv")) == NULL; - r = r || (glMultiTexCoord4f = (glMultiTexCoord4fPROC)glewGetProcAddress("glMultiTexCoord4f")) == NULL; - r = r || (glMultiTexCoord4fv = (glMultiTexCoord4fvPROC)glewGetProcAddress("glMultiTexCoord4fv")) == NULL; - r = r || (glMultiTexCoord4i = (glMultiTexCoord4iPROC)glewGetProcAddress("glMultiTexCoord4i")) == NULL; - r = r || (glMultiTexCoord4iv = (glMultiTexCoord4ivPROC)glewGetProcAddress("glMultiTexCoord4iv")) == NULL; - r = r || (glMultiTexCoord4s = (glMultiTexCoord4sPROC)glewGetProcAddress("glMultiTexCoord4s")) == NULL; - r = r || (glMultiTexCoord4sv = (glMultiTexCoord4svPROC)glewGetProcAddress("glMultiTexCoord4sv")) == NULL; - r = r || (glLoadTransposeMatrixf = (glLoadTransposeMatrixfPROC)glewGetProcAddress("glLoadTransposeMatrixf")) == NULL; - r = r || (glLoadTransposeMatrixd = (glLoadTransposeMatrixdPROC)glewGetProcAddress("glLoadTransposeMatrixd")) == NULL; - r = r || (glMultTransposeMatrixf = (glMultTransposeMatrixfPROC)glewGetProcAddress("glMultTransposeMatrixf")) == NULL; - r = r || (glMultTransposeMatrixd = (glMultTransposeMatrixdPROC)glewGetProcAddress("glMultTransposeMatrixd")) == NULL; - r = r || (glCompressedTexImage3D = (glCompressedTexImage3DPROC)glewGetProcAddress("glCompressedTexImage3D")) == NULL; - r = r || (glCompressedTexImage2D = (glCompressedTexImage2DPROC)glewGetProcAddress("glCompressedTexImage2D")) == NULL; - r = r || (glCompressedTexImage1D = (glCompressedTexImage1DPROC)glewGetProcAddress("glCompressedTexImage1D")) == NULL; - r = r || (glCompressedTexSubImage3D = (glCompressedTexSubImage3DPROC)glewGetProcAddress("glCompressedTexSubImage3D")) == NULL; - r = r || (glCompressedTexSubImage2D = (glCompressedTexSubImage2DPROC)glewGetProcAddress("glCompressedTexSubImage2D")) == NULL; - r = r || (glCompressedTexSubImage1D = (glCompressedTexSubImage1DPROC)glewGetProcAddress("glCompressedTexSubImage1D")) == NULL; - r = r || (glGetCompressedTexImage = (glGetCompressedTexImagePROC)glewGetProcAddress("glGetCompressedTexImage")) == NULL; - r = r || (glSampleCoverage = (glSampleCoveragePROC)glewGetProcAddress("glSampleCoverage")) == NULL; + r = r || (glActiveTexture = (PFNGLACTIVETEXTUREPROC)glewGetProcAddress("glActiveTexture")) == NULL; + r = r || (glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREPROC)glewGetProcAddress("glClientActiveTexture")) == NULL; + r = r || (glMultiTexCoord1d = (PFNGLMULTITEXCOORD1DPROC)glewGetProcAddress("glMultiTexCoord1d")) == NULL; + r = r || (glMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DVPROC)glewGetProcAddress("glMultiTexCoord1dv")) == NULL; + r = r || (glMultiTexCoord1f = (PFNGLMULTITEXCOORD1FPROC)glewGetProcAddress("glMultiTexCoord1f")) == NULL; + r = r || (glMultiTexCoord1fv = (PFNGLMULTITEXCOORD1FVPROC)glewGetProcAddress("glMultiTexCoord1fv")) == NULL; + r = r || (glMultiTexCoord1i = (PFNGLMULTITEXCOORD1IPROC)glewGetProcAddress("glMultiTexCoord1i")) == NULL; + r = r || (glMultiTexCoord1iv = (PFNGLMULTITEXCOORD1IVPROC)glewGetProcAddress("glMultiTexCoord1iv")) == NULL; + r = r || (glMultiTexCoord1s = (PFNGLMULTITEXCOORD1SPROC)glewGetProcAddress("glMultiTexCoord1s")) == NULL; + r = r || (glMultiTexCoord1sv = (PFNGLMULTITEXCOORD1SVPROC)glewGetProcAddress("glMultiTexCoord1sv")) == NULL; + r = r || (glMultiTexCoord2d = (PFNGLMULTITEXCOORD2DPROC)glewGetProcAddress("glMultiTexCoord2d")) == NULL; + r = r || (glMultiTexCoord2dv = (PFNGLMULTITEXCOORD2DVPROC)glewGetProcAddress("glMultiTexCoord2dv")) == NULL; + r = r || (glMultiTexCoord2f = (PFNGLMULTITEXCOORD2FPROC)glewGetProcAddress("glMultiTexCoord2f")) == NULL; + r = r || (glMultiTexCoord2fv = (PFNGLMULTITEXCOORD2FVPROC)glewGetProcAddress("glMultiTexCoord2fv")) == NULL; + r = r || (glMultiTexCoord2i = (PFNGLMULTITEXCOORD2IPROC)glewGetProcAddress("glMultiTexCoord2i")) == NULL; + r = r || (glMultiTexCoord2iv = (PFNGLMULTITEXCOORD2IVPROC)glewGetProcAddress("glMultiTexCoord2iv")) == NULL; + r = r || (glMultiTexCoord2s = (PFNGLMULTITEXCOORD2SPROC)glewGetProcAddress("glMultiTexCoord2s")) == NULL; + r = r || (glMultiTexCoord2sv = (PFNGLMULTITEXCOORD2SVPROC)glewGetProcAddress("glMultiTexCoord2sv")) == NULL; + r = r || (glMultiTexCoord3d = (PFNGLMULTITEXCOORD3DPROC)glewGetProcAddress("glMultiTexCoord3d")) == NULL; + r = r || (glMultiTexCoord3dv = (PFNGLMULTITEXCOORD3DVPROC)glewGetProcAddress("glMultiTexCoord3dv")) == NULL; + r = r || (glMultiTexCoord3f = (PFNGLMULTITEXCOORD3FPROC)glewGetProcAddress("glMultiTexCoord3f")) == NULL; + r = r || (glMultiTexCoord3fv = (PFNGLMULTITEXCOORD3FVPROC)glewGetProcAddress("glMultiTexCoord3fv")) == NULL; + r = r || (glMultiTexCoord3i = (PFNGLMULTITEXCOORD3IPROC)glewGetProcAddress("glMultiTexCoord3i")) == NULL; + r = r || (glMultiTexCoord3iv = (PFNGLMULTITEXCOORD3IVPROC)glewGetProcAddress("glMultiTexCoord3iv")) == NULL; + r = r || (glMultiTexCoord3s = (PFNGLMULTITEXCOORD3SPROC)glewGetProcAddress("glMultiTexCoord3s")) == NULL; + r = r || (glMultiTexCoord3sv = (PFNGLMULTITEXCOORD3SVPROC)glewGetProcAddress("glMultiTexCoord3sv")) == NULL; + r = r || (glMultiTexCoord4d = (PFNGLMULTITEXCOORD4DPROC)glewGetProcAddress("glMultiTexCoord4d")) == NULL; + r = r || (glMultiTexCoord4dv = (PFNGLMULTITEXCOORD4DVPROC)glewGetProcAddress("glMultiTexCoord4dv")) == NULL; + r = r || (glMultiTexCoord4f = (PFNGLMULTITEXCOORD4FPROC)glewGetProcAddress("glMultiTexCoord4f")) == NULL; + r = r || (glMultiTexCoord4fv = (PFNGLMULTITEXCOORD4FVPROC)glewGetProcAddress("glMultiTexCoord4fv")) == NULL; + r = r || (glMultiTexCoord4i = (PFNGLMULTITEXCOORD4IPROC)glewGetProcAddress("glMultiTexCoord4i")) == NULL; + r = r || (glMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IVPROC)glewGetProcAddress("glMultiTexCoord4iv")) == NULL; + r = r || (glMultiTexCoord4s = (PFNGLMULTITEXCOORD4SPROC)glewGetProcAddress("glMultiTexCoord4s")) == NULL; + r = r || (glMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SVPROC)glewGetProcAddress("glMultiTexCoord4sv")) == NULL; + r = r || (glLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXFPROC)glewGetProcAddress("glLoadTransposeMatrixf")) == NULL; + r = r || (glLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXDPROC)glewGetProcAddress("glLoadTransposeMatrixd")) == NULL; + r = r || (glMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXFPROC)glewGetProcAddress("glMultTransposeMatrixf")) == NULL; + r = r || (glMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXDPROC)glewGetProcAddress("glMultTransposeMatrixd")) == NULL; + r = r || (glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)glewGetProcAddress("glCompressedTexImage3D")) == NULL; + r = r || (glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)glewGetProcAddress("glCompressedTexImage2D")) == NULL; + r = r || (glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)glewGetProcAddress("glCompressedTexImage1D")) == NULL; + r = r || (glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)glewGetProcAddress("glCompressedTexSubImage3D")) == NULL; + r = r || (glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)glewGetProcAddress("glCompressedTexSubImage2D")) == NULL; + r = r || (glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)glewGetProcAddress("glCompressedTexSubImage1D")) == NULL; + r = r || (glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)glewGetProcAddress("glGetCompressedTexImage")) == NULL; + r = r || (glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)glewGetProcAddress("glSampleCoverage")) == NULL; return r; } #endif /* GL_VERSION_1_3 */ @@ -229,103 +229,103 @@ static GLboolean _glewInit_13 () #ifdef GL_VERSION_1_4 #ifndef GL_ARB_imaging -glBlendColorPROC glBlendColor = NULL; -glBlendEquationPROC glBlendEquation = NULL; +PFNGLBLENDCOLORPROC glBlendColor = NULL; +PFNGLBLENDEQUATIONPROC glBlendEquation = NULL; #endif /* GL_ARB_imaging */ -glFogCoordfPROC glFogCoordf = NULL; -glFogCoordfvPROC glFogCoordfv = NULL; -glFogCoorddPROC glFogCoordd = NULL; -glFogCoorddvPROC glFogCoorddv = NULL; -glFogCoordPointerPROC glFogCoordPointer = NULL; -glMultiDrawArraysPROC glMultiDrawArrays = NULL; -glMultiDrawElementsPROC glMultiDrawElements = NULL; -glPointParameterfPROC glPointParameterf = NULL; -glPointParameterfvPROC glPointParameterfv = NULL; -glSecondaryColor3bPROC glSecondaryColor3b = NULL; -glSecondaryColor3bvPROC glSecondaryColor3bv = NULL; -glSecondaryColor3dPROC glSecondaryColor3d = NULL; -glSecondaryColor3dvPROC glSecondaryColor3dv = NULL; -glSecondaryColor3fPROC glSecondaryColor3f = NULL; -glSecondaryColor3fvPROC glSecondaryColor3fv = NULL; -glSecondaryColor3iPROC glSecondaryColor3i = NULL; -glSecondaryColor3ivPROC glSecondaryColor3iv = NULL; -glSecondaryColor3sPROC glSecondaryColor3s = NULL; -glSecondaryColor3svPROC glSecondaryColor3sv = NULL; -glSecondaryColor3ubPROC glSecondaryColor3ub = NULL; -glSecondaryColor3ubvPROC glSecondaryColor3ubv = NULL; -glSecondaryColor3uiPROC glSecondaryColor3ui = NULL; -glSecondaryColor3uivPROC glSecondaryColor3uiv = NULL; -glSecondaryColor3usPROC glSecondaryColor3us = NULL; -glSecondaryColor3usvPROC glSecondaryColor3usv = NULL; -glSecondaryColorPointerPROC glSecondaryColorPointer = NULL; -glBlendFuncSeparatePROC glBlendFuncSeparate = NULL; -glWindowPos2dPROC glWindowPos2d = NULL; -glWindowPos2fPROC glWindowPos2f = NULL; -glWindowPos2iPROC glWindowPos2i = NULL; -glWindowPos2sPROC glWindowPos2s = NULL; -glWindowPos2dvPROC glWindowPos2dv = NULL; -glWindowPos2fvPROC glWindowPos2fv = NULL; -glWindowPos2ivPROC glWindowPos2iv = NULL; -glWindowPos2svPROC glWindowPos2sv = NULL; -glWindowPos3dPROC glWindowPos3d = NULL; -glWindowPos3fPROC glWindowPos3f = NULL; -glWindowPos3iPROC glWindowPos3i = NULL; -glWindowPos3sPROC glWindowPos3s = NULL; -glWindowPos3dvPROC glWindowPos3dv = NULL; -glWindowPos3fvPROC glWindowPos3fv = NULL; -glWindowPos3ivPROC glWindowPos3iv = NULL; -glWindowPos3svPROC glWindowPos3sv = NULL; +PFNGLFOGCOORDFPROC glFogCoordf = NULL; +PFNGLFOGCOORDFVPROC glFogCoordfv = NULL; +PFNGLFOGCOORDDPROC glFogCoordd = NULL; +PFNGLFOGCOORDDVPROC glFogCoorddv = NULL; +PFNGLFOGCOORDPOINTERPROC glFogCoordPointer = NULL; +PFNGLMULTIDRAWARRAYSPROC glMultiDrawArrays = NULL; +PFNGLMULTIDRAWELEMENTSPROC glMultiDrawElements = NULL; +PFNGLPOINTPARAMETERFPROC glPointParameterf = NULL; +PFNGLPOINTPARAMETERFVPROC glPointParameterfv = NULL; +PFNGLSECONDARYCOLOR3BPROC glSecondaryColor3b = NULL; +PFNGLSECONDARYCOLOR3BVPROC glSecondaryColor3bv = NULL; +PFNGLSECONDARYCOLOR3DPROC glSecondaryColor3d = NULL; +PFNGLSECONDARYCOLOR3DVPROC glSecondaryColor3dv = NULL; +PFNGLSECONDARYCOLOR3FPROC glSecondaryColor3f = NULL; +PFNGLSECONDARYCOLOR3FVPROC glSecondaryColor3fv = NULL; +PFNGLSECONDARYCOLOR3IPROC glSecondaryColor3i = NULL; +PFNGLSECONDARYCOLOR3IVPROC glSecondaryColor3iv = NULL; +PFNGLSECONDARYCOLOR3SPROC glSecondaryColor3s = NULL; +PFNGLSECONDARYCOLOR3SVPROC glSecondaryColor3sv = NULL; +PFNGLSECONDARYCOLOR3UBPROC glSecondaryColor3ub = NULL; +PFNGLSECONDARYCOLOR3UBVPROC glSecondaryColor3ubv = NULL; +PFNGLSECONDARYCOLOR3UIPROC glSecondaryColor3ui = NULL; +PFNGLSECONDARYCOLOR3UIVPROC glSecondaryColor3uiv = NULL; +PFNGLSECONDARYCOLOR3USPROC glSecondaryColor3us = NULL; +PFNGLSECONDARYCOLOR3USVPROC glSecondaryColor3usv = NULL; +PFNGLSECONDARYCOLORPOINTERPROC glSecondaryColorPointer = NULL; +PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate = NULL; +PFNGLWINDOWPOS2DPROC glWindowPos2d = NULL; +PFNGLWINDOWPOS2FPROC glWindowPos2f = NULL; +PFNGLWINDOWPOS2IPROC glWindowPos2i = NULL; +PFNGLWINDOWPOS2SPROC glWindowPos2s = NULL; +PFNGLWINDOWPOS2DVPROC glWindowPos2dv = NULL; +PFNGLWINDOWPOS2FVPROC glWindowPos2fv = NULL; +PFNGLWINDOWPOS2IVPROC glWindowPos2iv = NULL; +PFNGLWINDOWPOS2SVPROC glWindowPos2sv = NULL; +PFNGLWINDOWPOS3DPROC glWindowPos3d = NULL; +PFNGLWINDOWPOS3FPROC glWindowPos3f = NULL; +PFNGLWINDOWPOS3IPROC glWindowPos3i = NULL; +PFNGLWINDOWPOS3SPROC glWindowPos3s = NULL; +PFNGLWINDOWPOS3DVPROC glWindowPos3dv = NULL; +PFNGLWINDOWPOS3FVPROC glWindowPos3fv = NULL; +PFNGLWINDOWPOS3IVPROC glWindowPos3iv = NULL; +PFNGLWINDOWPOS3SVPROC glWindowPos3sv = NULL; static GLboolean _glewInit_14 () { GLboolean r = GL_FALSE; #ifndef GL_ARB_imaging - r = r || (glBlendColor = (glBlendColorPROC)glewGetProcAddress("glBlendColor")) == NULL; - r = r || (glBlendEquation = (glBlendEquationPROC)glewGetProcAddress("glBlendEquation")) == NULL; + r = r || (glBlendColor = (PFNGLBLENDCOLORPROC)glewGetProcAddress("glBlendColor")) == NULL; + r = r || (glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress("glBlendEquation")) == NULL; #endif /* GL_ARB_imaging */ - r = r || (glFogCoordf = (glFogCoordfPROC)glewGetProcAddress("glFogCoordf")) == NULL; - r = r || (glFogCoordfv = (glFogCoordfvPROC)glewGetProcAddress("glFogCoordfv")) == NULL; - r = r || (glFogCoordd = (glFogCoorddPROC)glewGetProcAddress("glFogCoordd")) == NULL; - r = r || (glFogCoorddv = (glFogCoorddvPROC)glewGetProcAddress("glFogCoorddv")) == NULL; - r = r || (glFogCoordPointer = (glFogCoordPointerPROC)glewGetProcAddress("glFogCoordPointer")) == NULL; - r = r || (glMultiDrawArrays = (glMultiDrawArraysPROC)glewGetProcAddress("glMultiDrawArrays")) == NULL; - r = r || (glMultiDrawElements = (glMultiDrawElementsPROC)glewGetProcAddress("glMultiDrawElements")) == NULL; - r = r || (glPointParameterf = (glPointParameterfPROC)glewGetProcAddress("glPointParameterf")) == NULL; - r = r || (glPointParameterfv = (glPointParameterfvPROC)glewGetProcAddress("glPointParameterfv")) == NULL; - r = r || (glSecondaryColor3b = (glSecondaryColor3bPROC)glewGetProcAddress("glSecondaryColor3b")) == NULL; - r = r || (glSecondaryColor3bv = (glSecondaryColor3bvPROC)glewGetProcAddress("glSecondaryColor3bv")) == NULL; - r = r || (glSecondaryColor3d = (glSecondaryColor3dPROC)glewGetProcAddress("glSecondaryColor3d")) == NULL; - r = r || (glSecondaryColor3dv = (glSecondaryColor3dvPROC)glewGetProcAddress("glSecondaryColor3dv")) == NULL; - r = r || (glSecondaryColor3f = (glSecondaryColor3fPROC)glewGetProcAddress("glSecondaryColor3f")) == NULL; - r = r || (glSecondaryColor3fv = (glSecondaryColor3fvPROC)glewGetProcAddress("glSecondaryColor3fv")) == NULL; - r = r || (glSecondaryColor3i = (glSecondaryColor3iPROC)glewGetProcAddress("glSecondaryColor3i")) == NULL; - r = r || (glSecondaryColor3iv = (glSecondaryColor3ivPROC)glewGetProcAddress("glSecondaryColor3iv")) == NULL; - r = r || (glSecondaryColor3s = (glSecondaryColor3sPROC)glewGetProcAddress("glSecondaryColor3s")) == NULL; - r = r || (glSecondaryColor3sv = (glSecondaryColor3svPROC)glewGetProcAddress("glSecondaryColor3sv")) == NULL; - r = r || (glSecondaryColor3ub = (glSecondaryColor3ubPROC)glewGetProcAddress("glSecondaryColor3ub")) == NULL; - r = r || (glSecondaryColor3ubv = (glSecondaryColor3ubvPROC)glewGetProcAddress("glSecondaryColor3ubv")) == NULL; - r = r || (glSecondaryColor3ui = (glSecondaryColor3uiPROC)glewGetProcAddress("glSecondaryColor3ui")) == NULL; - r = r || (glSecondaryColor3uiv = (glSecondaryColor3uivPROC)glewGetProcAddress("glSecondaryColor3uiv")) == NULL; - r = r || (glSecondaryColor3us = (glSecondaryColor3usPROC)glewGetProcAddress("glSecondaryColor3us")) == NULL; - r = r || (glSecondaryColor3usv = (glSecondaryColor3usvPROC)glewGetProcAddress("glSecondaryColor3usv")) == NULL; - r = r || (glSecondaryColorPointer = (glSecondaryColorPointerPROC)glewGetProcAddress("glSecondaryColorPointer")) == NULL; - r = r || (glBlendFuncSeparate = (glBlendFuncSeparatePROC)glewGetProcAddress("glBlendFuncSeparate")) == NULL; - r = r || (glWindowPos2d = (glWindowPos2dPROC)glewGetProcAddress("glWindowPos2d")) == NULL; - r = r || (glWindowPos2f = (glWindowPos2fPROC)glewGetProcAddress("glWindowPos2f")) == NULL; - r = r || (glWindowPos2i = (glWindowPos2iPROC)glewGetProcAddress("glWindowPos2i")) == NULL; - r = r || (glWindowPos2s = (glWindowPos2sPROC)glewGetProcAddress("glWindowPos2s")) == NULL; - r = r || (glWindowPos2dv = (glWindowPos2dvPROC)glewGetProcAddress("glWindowPos2dv")) == NULL; - r = r || (glWindowPos2fv = (glWindowPos2fvPROC)glewGetProcAddress("glWindowPos2fv")) == NULL; - r = r || (glWindowPos2iv = (glWindowPos2ivPROC)glewGetProcAddress("glWindowPos2iv")) == NULL; - r = r || (glWindowPos2sv = (glWindowPos2svPROC)glewGetProcAddress("glWindowPos2sv")) == NULL; - r = r || (glWindowPos3d = (glWindowPos3dPROC)glewGetProcAddress("glWindowPos3d")) == NULL; - r = r || (glWindowPos3f = (glWindowPos3fPROC)glewGetProcAddress("glWindowPos3f")) == NULL; - r = r || (glWindowPos3i = (glWindowPos3iPROC)glewGetProcAddress("glWindowPos3i")) == NULL; - r = r || (glWindowPos3s = (glWindowPos3sPROC)glewGetProcAddress("glWindowPos3s")) == NULL; - r = r || (glWindowPos3dv = (glWindowPos3dvPROC)glewGetProcAddress("glWindowPos3dv")) == NULL; - r = r || (glWindowPos3fv = (glWindowPos3fvPROC)glewGetProcAddress("glWindowPos3fv")) == NULL; - r = r || (glWindowPos3iv = (glWindowPos3ivPROC)glewGetProcAddress("glWindowPos3iv")) == NULL; - r = r || (glWindowPos3sv = (glWindowPos3svPROC)glewGetProcAddress("glWindowPos3sv")) == NULL; + r = r || (glFogCoordf = (PFNGLFOGCOORDFPROC)glewGetProcAddress("glFogCoordf")) == NULL; + r = r || (glFogCoordfv = (PFNGLFOGCOORDFVPROC)glewGetProcAddress("glFogCoordfv")) == NULL; + r = r || (glFogCoordd = (PFNGLFOGCOORDDPROC)glewGetProcAddress("glFogCoordd")) == NULL; + r = r || (glFogCoorddv = (PFNGLFOGCOORDDVPROC)glewGetProcAddress("glFogCoorddv")) == NULL; + r = r || (glFogCoordPointer = (PFNGLFOGCOORDPOINTERPROC)glewGetProcAddress("glFogCoordPointer")) == NULL; + r = r || (glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)glewGetProcAddress("glMultiDrawArrays")) == NULL; + r = r || (glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)glewGetProcAddress("glMultiDrawElements")) == NULL; + r = r || (glPointParameterf = (PFNGLPOINTPARAMETERFPROC)glewGetProcAddress("glPointParameterf")) == NULL; + r = r || (glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)glewGetProcAddress("glPointParameterfv")) == NULL; + r = r || (glSecondaryColor3b = (PFNGLSECONDARYCOLOR3BPROC)glewGetProcAddress("glSecondaryColor3b")) == NULL; + r = r || (glSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BVPROC)glewGetProcAddress("glSecondaryColor3bv")) == NULL; + r = r || (glSecondaryColor3d = (PFNGLSECONDARYCOLOR3DPROC)glewGetProcAddress("glSecondaryColor3d")) == NULL; + r = r || (glSecondaryColor3dv = (PFNGLSECONDARYCOLOR3DVPROC)glewGetProcAddress("glSecondaryColor3dv")) == NULL; + r = r || (glSecondaryColor3f = (PFNGLSECONDARYCOLOR3FPROC)glewGetProcAddress("glSecondaryColor3f")) == NULL; + r = r || (glSecondaryColor3fv = (PFNGLSECONDARYCOLOR3FVPROC)glewGetProcAddress("glSecondaryColor3fv")) == NULL; + r = r || (glSecondaryColor3i = (PFNGLSECONDARYCOLOR3IPROC)glewGetProcAddress("glSecondaryColor3i")) == NULL; + r = r || (glSecondaryColor3iv = (PFNGLSECONDARYCOLOR3IVPROC)glewGetProcAddress("glSecondaryColor3iv")) == NULL; + r = r || (glSecondaryColor3s = (PFNGLSECONDARYCOLOR3SPROC)glewGetProcAddress("glSecondaryColor3s")) == NULL; + r = r || (glSecondaryColor3sv = (PFNGLSECONDARYCOLOR3SVPROC)glewGetProcAddress("glSecondaryColor3sv")) == NULL; + r = r || (glSecondaryColor3ub = (PFNGLSECONDARYCOLOR3UBPROC)glewGetProcAddress("glSecondaryColor3ub")) == NULL; + r = r || (glSecondaryColor3ubv = (PFNGLSECONDARYCOLOR3UBVPROC)glewGetProcAddress("glSecondaryColor3ubv")) == NULL; + r = r || (glSecondaryColor3ui = (PFNGLSECONDARYCOLOR3UIPROC)glewGetProcAddress("glSecondaryColor3ui")) == NULL; + r = r || (glSecondaryColor3uiv = (PFNGLSECONDARYCOLOR3UIVPROC)glewGetProcAddress("glSecondaryColor3uiv")) == NULL; + r = r || (glSecondaryColor3us = (PFNGLSECONDARYCOLOR3USPROC)glewGetProcAddress("glSecondaryColor3us")) == NULL; + r = r || (glSecondaryColor3usv = (PFNGLSECONDARYCOLOR3USVPROC)glewGetProcAddress("glSecondaryColor3usv")) == NULL; + r = r || (glSecondaryColorPointer = (PFNGLSECONDARYCOLORPOINTERPROC)glewGetProcAddress("glSecondaryColorPointer")) == NULL; + r = r || (glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)glewGetProcAddress("glBlendFuncSeparate")) == NULL; + r = r || (glWindowPos2d = (PFNGLWINDOWPOS2DPROC)glewGetProcAddress("glWindowPos2d")) == NULL; + r = r || (glWindowPos2f = (PFNGLWINDOWPOS2FPROC)glewGetProcAddress("glWindowPos2f")) == NULL; + r = r || (glWindowPos2i = (PFNGLWINDOWPOS2IPROC)glewGetProcAddress("glWindowPos2i")) == NULL; + r = r || (glWindowPos2s = (PFNGLWINDOWPOS2SPROC)glewGetProcAddress("glWindowPos2s")) == NULL; + r = r || (glWindowPos2dv = (PFNGLWINDOWPOS2DVPROC)glewGetProcAddress("glWindowPos2dv")) == NULL; + r = r || (glWindowPos2fv = (PFNGLWINDOWPOS2FVPROC)glewGetProcAddress("glWindowPos2fv")) == NULL; + r = r || (glWindowPos2iv = (PFNGLWINDOWPOS2IVPROC)glewGetProcAddress("glWindowPos2iv")) == NULL; + r = r || (glWindowPos2sv = (PFNGLWINDOWPOS2SVPROC)glewGetProcAddress("glWindowPos2sv")) == NULL; + r = r || (glWindowPos3d = (PFNGLWINDOWPOS3DPROC)glewGetProcAddress("glWindowPos3d")) == NULL; + r = r || (glWindowPos3f = (PFNGLWINDOWPOS3FPROC)glewGetProcAddress("glWindowPos3f")) == NULL; + r = r || (glWindowPos3i = (PFNGLWINDOWPOS3IPROC)glewGetProcAddress("glWindowPos3i")) == NULL; + r = r || (glWindowPos3s = (PFNGLWINDOWPOS3SPROC)glewGetProcAddress("glWindowPos3s")) == NULL; + r = r || (glWindowPos3dv = (PFNGLWINDOWPOS3DVPROC)glewGetProcAddress("glWindowPos3dv")) == NULL; + r = r || (glWindowPos3fv = (PFNGLWINDOWPOS3FVPROC)glewGetProcAddress("glWindowPos3fv")) == NULL; + r = r || (glWindowPos3iv = (PFNGLWINDOWPOS3IVPROC)glewGetProcAddress("glWindowPos3iv")) == NULL; + r = r || (glWindowPos3sv = (PFNGLWINDOWPOS3SVPROC)glewGetProcAddress("glWindowPos3sv")) == NULL; return r; } #endif /* GL_VERSION_1_4 */ @@ -333,78 +333,78 @@ static GLboolean _glewInit_14 () /* ------------------------------ ARB_imaging ----------------------------- */ #ifdef GL_ARB_imaging -glBlendColorPROC glBlendColor = NULL; -glBlendEquationPROC glBlendEquation = NULL; -glColorTablePROC glColorTable = NULL; -glColorTableParameterfvPROC glColorTableParameterfv = NULL; -glColorTableParameterivPROC glColorTableParameteriv = NULL; -glCopyColorTablePROC glCopyColorTable = NULL; -glGetColorTablePROC glGetColorTable = NULL; -glGetColorTableParameterfvPROC glGetColorTableParameterfv = NULL; -glGetColorTableParameterivPROC glGetColorTableParameteriv = NULL; -glColorSubTablePROC glColorSubTable = NULL; -glCopyColorSubTablePROC glCopyColorSubTable = NULL; -glConvolutionFilter1DPROC glConvolutionFilter1D = NULL; -glConvolutionFilter2DPROC glConvolutionFilter2D = NULL; -glConvolutionParameterfPROC glConvolutionParameterf = NULL; -glConvolutionParameterfvPROC glConvolutionParameterfv = NULL; -glConvolutionParameteriPROC glConvolutionParameteri = NULL; -glConvolutionParameterivPROC glConvolutionParameteriv = NULL; -glCopyConvolutionFilter1DPROC glCopyConvolutionFilter1D = NULL; -glCopyConvolutionFilter2DPROC glCopyConvolutionFilter2D = NULL; -glGetConvolutionFilterPROC glGetConvolutionFilter = NULL; -glGetConvolutionParameterfvPROC glGetConvolutionParameterfv = NULL; -glGetConvolutionParameterivPROC glGetConvolutionParameteriv = NULL; -glGetSeparableFilterPROC glGetSeparableFilter = NULL; -glSeparableFilter2DPROC glSeparableFilter2D = NULL; -glGetHistogramPROC glGetHistogram = NULL; -glGetHistogramParameterfvPROC glGetHistogramParameterfv = NULL; -glGetHistogramParameterivPROC glGetHistogramParameteriv = NULL; -glGetMinmaxPROC glGetMinmax = NULL; -glGetMinmaxParameterfvPROC glGetMinmaxParameterfv = NULL; -glGetMinmaxParameterivPROC glGetMinmaxParameteriv = NULL; -glHistogramPROC glHistogram = NULL; -glMinmaxPROC glMinmax = NULL; -glResetHistogramPROC glResetHistogram = NULL; -glResetMinmaxPROC glResetMinmax = NULL; +PFNGLBLENDCOLORPROC glBlendColor = NULL; +PFNGLBLENDEQUATIONPROC glBlendEquation = NULL; +PFNGLCOLORTABLEPROC glColorTable = NULL; +PFNGLCOLORTABLEPARAMETERFVPROC glColorTableParameterfv = NULL; +PFNGLCOLORTABLEPARAMETERIVPROC glColorTableParameteriv = NULL; +PFNGLCOPYCOLORTABLEPROC glCopyColorTable = NULL; +PFNGLGETCOLORTABLEPROC glGetColorTable = NULL; +PFNGLGETCOLORTABLEPARAMETERFVPROC glGetColorTableParameterfv = NULL; +PFNGLGETCOLORTABLEPARAMETERIVPROC glGetColorTableParameteriv = NULL; +PFNGLCOLORSUBTABLEPROC glColorSubTable = NULL; +PFNGLCOPYCOLORSUBTABLEPROC glCopyColorSubTable = NULL; +PFNGLCONVOLUTIONFILTER1DPROC glConvolutionFilter1D = NULL; +PFNGLCONVOLUTIONFILTER2DPROC glConvolutionFilter2D = NULL; +PFNGLCONVOLUTIONPARAMETERFPROC glConvolutionParameterf = NULL; +PFNGLCONVOLUTIONPARAMETERFVPROC glConvolutionParameterfv = NULL; +PFNGLCONVOLUTIONPARAMETERIPROC glConvolutionParameteri = NULL; +PFNGLCONVOLUTIONPARAMETERIVPROC glConvolutionParameteriv = NULL; +PFNGLCOPYCONVOLUTIONFILTER1DPROC glCopyConvolutionFilter1D = NULL; +PFNGLCOPYCONVOLUTIONFILTER2DPROC glCopyConvolutionFilter2D = NULL; +PFNGLGETCONVOLUTIONFILTERPROC glGetConvolutionFilter = NULL; +PFNGLGETCONVOLUTIONPARAMETERFVPROC glGetConvolutionParameterfv = NULL; +PFNGLGETCONVOLUTIONPARAMETERIVPROC glGetConvolutionParameteriv = NULL; +PFNGLGETSEPARABLEFILTERPROC glGetSeparableFilter = NULL; +PFNGLSEPARABLEFILTER2DPROC glSeparableFilter2D = NULL; +PFNGLGETHISTOGRAMPROC glGetHistogram = NULL; +PFNGLGETHISTOGRAMPARAMETERFVPROC glGetHistogramParameterfv = NULL; +PFNGLGETHISTOGRAMPARAMETERIVPROC glGetHistogramParameteriv = NULL; +PFNGLGETMINMAXPROC glGetMinmax = NULL; +PFNGLGETMINMAXPARAMETERFVPROC glGetMinmaxParameterfv = NULL; +PFNGLGETMINMAXPARAMETERIVPROC glGetMinmaxParameteriv = NULL; +PFNGLHISTOGRAMPROC glHistogram = NULL; +PFNGLMINMAXPROC glMinmax = NULL; +PFNGLRESETHISTOGRAMPROC glResetHistogram = NULL; +PFNGLRESETMINMAXPROC glResetMinmax = NULL; static GLboolean _glewInit_ARB_imaging () { GLboolean r = GL_FALSE; - r = r || (glBlendColor = (glBlendColorPROC)glewGetProcAddress("glBlendColor")) == NULL; - r = r || (glBlendEquation = (glBlendEquationPROC)glewGetProcAddress("glBlendEquation")) == NULL; - r = r || (glColorTable = (glColorTablePROC)glewGetProcAddress("glColorTable")) == NULL; - r = r || (glColorTableParameterfv = (glColorTableParameterfvPROC)glewGetProcAddress("glColorTableParameterfv")) == NULL; - r = r || (glColorTableParameteriv = (glColorTableParameterivPROC)glewGetProcAddress("glColorTableParameteriv")) == NULL; - r = r || (glCopyColorTable = (glCopyColorTablePROC)glewGetProcAddress("glCopyColorTable")) == NULL; - r = r || (glGetColorTable = (glGetColorTablePROC)glewGetProcAddress("glGetColorTable")) == NULL; - r = r || (glGetColorTableParameterfv = (glGetColorTableParameterfvPROC)glewGetProcAddress("glGetColorTableParameterfv")) == NULL; - r = r || (glGetColorTableParameteriv = (glGetColorTableParameterivPROC)glewGetProcAddress("glGetColorTableParameteriv")) == NULL; - r = r || (glColorSubTable = (glColorSubTablePROC)glewGetProcAddress("glColorSubTable")) == NULL; - r = r || (glCopyColorSubTable = (glCopyColorSubTablePROC)glewGetProcAddress("glCopyColorSubTable")) == NULL; - r = r || (glConvolutionFilter1D = (glConvolutionFilter1DPROC)glewGetProcAddress("glConvolutionFilter1D")) == NULL; - r = r || (glConvolutionFilter2D = (glConvolutionFilter2DPROC)glewGetProcAddress("glConvolutionFilter2D")) == NULL; - r = r || (glConvolutionParameterf = (glConvolutionParameterfPROC)glewGetProcAddress("glConvolutionParameterf")) == NULL; - r = r || (glConvolutionParameterfv = (glConvolutionParameterfvPROC)glewGetProcAddress("glConvolutionParameterfv")) == NULL; - r = r || (glConvolutionParameteri = (glConvolutionParameteriPROC)glewGetProcAddress("glConvolutionParameteri")) == NULL; - r = r || (glConvolutionParameteriv = (glConvolutionParameterivPROC)glewGetProcAddress("glConvolutionParameteriv")) == NULL; - r = r || (glCopyConvolutionFilter1D = (glCopyConvolutionFilter1DPROC)glewGetProcAddress("glCopyConvolutionFilter1D")) == NULL; - r = r || (glCopyConvolutionFilter2D = (glCopyConvolutionFilter2DPROC)glewGetProcAddress("glCopyConvolutionFilter2D")) == NULL; - r = r || (glGetConvolutionFilter = (glGetConvolutionFilterPROC)glewGetProcAddress("glGetConvolutionFilter")) == NULL; - r = r || (glGetConvolutionParameterfv = (glGetConvolutionParameterfvPROC)glewGetProcAddress("glGetConvolutionParameterfv")) == NULL; - r = r || (glGetConvolutionParameteriv = (glGetConvolutionParameterivPROC)glewGetProcAddress("glGetConvolutionParameteriv")) == NULL; - r = r || (glGetSeparableFilter = (glGetSeparableFilterPROC)glewGetProcAddress("glGetSeparableFilter")) == NULL; - r = r || (glSeparableFilter2D = (glSeparableFilter2DPROC)glewGetProcAddress("glSeparableFilter2D")) == NULL; - r = r || (glGetHistogram = (glGetHistogramPROC)glewGetProcAddress("glGetHistogram")) == NULL; - r = r || (glGetHistogramParameterfv = (glGetHistogramParameterfvPROC)glewGetProcAddress("glGetHistogramParameterfv")) == NULL; - r = r || (glGetHistogramParameteriv = (glGetHistogramParameterivPROC)glewGetProcAddress("glGetHistogramParameteriv")) == NULL; - r = r || (glGetMinmax = (glGetMinmaxPROC)glewGetProcAddress("glGetMinmax")) == NULL; - r = r || (glGetMinmaxParameterfv = (glGetMinmaxParameterfvPROC)glewGetProcAddress("glGetMinmaxParameterfv")) == NULL; - r = r || (glGetMinmaxParameteriv = (glGetMinmaxParameterivPROC)glewGetProcAddress("glGetMinmaxParameteriv")) == NULL; - r = r || (glHistogram = (glHistogramPROC)glewGetProcAddress("glHistogram")) == NULL; - r = r || (glMinmax = (glMinmaxPROC)glewGetProcAddress("glMinmax")) == NULL; - r = r || (glResetHistogram = (glResetHistogramPROC)glewGetProcAddress("glResetHistogram")) == NULL; - r = r || (glResetMinmax = (glResetMinmaxPROC)glewGetProcAddress("glResetMinmax")) == NULL; + r = r || (glBlendColor = (PFNGLBLENDCOLORPROC)glewGetProcAddress("glBlendColor")) == NULL; + r = r || (glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress("glBlendEquation")) == NULL; + r = r || (glColorTable = (PFNGLCOLORTABLEPROC)glewGetProcAddress("glColorTable")) == NULL; + r = r || (glColorTableParameterfv = (PFNGLCOLORTABLEPARAMETERFVPROC)glewGetProcAddress("glColorTableParameterfv")) == NULL; + r = r || (glColorTableParameteriv = (PFNGLCOLORTABLEPARAMETERIVPROC)glewGetProcAddress("glColorTableParameteriv")) == NULL; + r = r || (glCopyColorTable = (PFNGLCOPYCOLORTABLEPROC)glewGetProcAddress("glCopyColorTable")) == NULL; + r = r || (glGetColorTable = (PFNGLGETCOLORTABLEPROC)glewGetProcAddress("glGetColorTable")) == NULL; + r = r || (glGetColorTableParameterfv = (PFNGLGETCOLORTABLEPARAMETERFVPROC)glewGetProcAddress("glGetColorTableParameterfv")) == NULL; + r = r || (glGetColorTableParameteriv = (PFNGLGETCOLORTABLEPARAMETERIVPROC)glewGetProcAddress("glGetColorTableParameteriv")) == NULL; + r = r || (glColorSubTable = (PFNGLCOLORSUBTABLEPROC)glewGetProcAddress("glColorSubTable")) == NULL; + r = r || (glCopyColorSubTable = (PFNGLCOPYCOLORSUBTABLEPROC)glewGetProcAddress("glCopyColorSubTable")) == NULL; + r = r || (glConvolutionFilter1D = (PFNGLCONVOLUTIONFILTER1DPROC)glewGetProcAddress("glConvolutionFilter1D")) == NULL; + r = r || (glConvolutionFilter2D = (PFNGLCONVOLUTIONFILTER2DPROC)glewGetProcAddress("glConvolutionFilter2D")) == NULL; + r = r || (glConvolutionParameterf = (PFNGLCONVOLUTIONPARAMETERFPROC)glewGetProcAddress("glConvolutionParameterf")) == NULL; + r = r || (glConvolutionParameterfv = (PFNGLCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress("glConvolutionParameterfv")) == NULL; + r = r || (glConvolutionParameteri = (PFNGLCONVOLUTIONPARAMETERIPROC)glewGetProcAddress("glConvolutionParameteri")) == NULL; + r = r || (glConvolutionParameteriv = (PFNGLCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress("glConvolutionParameteriv")) == NULL; + r = r || (glCopyConvolutionFilter1D = (PFNGLCOPYCONVOLUTIONFILTER1DPROC)glewGetProcAddress("glCopyConvolutionFilter1D")) == NULL; + r = r || (glCopyConvolutionFilter2D = (PFNGLCOPYCONVOLUTIONFILTER2DPROC)glewGetProcAddress("glCopyConvolutionFilter2D")) == NULL; + r = r || (glGetConvolutionFilter = (PFNGLGETCONVOLUTIONFILTERPROC)glewGetProcAddress("glGetConvolutionFilter")) == NULL; + r = r || (glGetConvolutionParameterfv = (PFNGLGETCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress("glGetConvolutionParameterfv")) == NULL; + r = r || (glGetConvolutionParameteriv = (PFNGLGETCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress("glGetConvolutionParameteriv")) == NULL; + r = r || (glGetSeparableFilter = (PFNGLGETSEPARABLEFILTERPROC)glewGetProcAddress("glGetSeparableFilter")) == NULL; + r = r || (glSeparableFilter2D = (PFNGLSEPARABLEFILTER2DPROC)glewGetProcAddress("glSeparableFilter2D")) == NULL; + r = r || (glGetHistogram = (PFNGLGETHISTOGRAMPROC)glewGetProcAddress("glGetHistogram")) == NULL; + r = r || (glGetHistogramParameterfv = (PFNGLGETHISTOGRAMPARAMETERFVPROC)glewGetProcAddress("glGetHistogramParameterfv")) == NULL; + r = r || (glGetHistogramParameteriv = (PFNGLGETHISTOGRAMPARAMETERIVPROC)glewGetProcAddress("glGetHistogramParameteriv")) == NULL; + r = r || (glGetMinmax = (PFNGLGETMINMAXPROC)glewGetProcAddress("glGetMinmax")) == NULL; + r = r || (glGetMinmaxParameterfv = (PFNGLGETMINMAXPARAMETERFVPROC)glewGetProcAddress("glGetMinmaxParameterfv")) == NULL; + r = r || (glGetMinmaxParameteriv = (PFNGLGETMINMAXPARAMETERIVPROC)glewGetProcAddress("glGetMinmaxParameteriv")) == NULL; + r = r || (glHistogram = (PFNGLHISTOGRAMPROC)glewGetProcAddress("glHistogram")) == NULL; + r = r || (glMinmax = (PFNGLMINMAXPROC)glewGetProcAddress("glMinmax")) == NULL; + r = r || (glResetHistogram = (PFNGLRESETHISTOGRAMPROC)glewGetProcAddress("glResetHistogram")) == NULL; + r = r || (glResetMinmax = (PFNGLRESETMINMAXPROC)glewGetProcAddress("glResetMinmax")) == NULL; return r; } #endif /* GL_ARB_imaging */ @@ -412,20 +412,20 @@ static GLboolean _glewInit_ARB_imaging () /* -------------------------- ARB_matrix_palette -------------------------- */ #ifdef GL_ARB_matrix_palette -glCurrentPaletteMatrixARBPROC glCurrentPaletteMatrixARB = NULL; -glMatrixIndexubvARBPROC glMatrixIndexubvARB = NULL; -glMatrixIndexusvARBPROC glMatrixIndexusvARB = NULL; -glMatrixIndexuivARBPROC glMatrixIndexuivARB = NULL; -glMatrixIndexPointerARBPROC glMatrixIndexPointerARB = NULL; +PFNGLCURRENTPALETTEMATRIXARBPROC glCurrentPaletteMatrixARB = NULL; +PFNGLMATRIXINDEXUBVARBPROC glMatrixIndexubvARB = NULL; +PFNGLMATRIXINDEXUSVARBPROC glMatrixIndexusvARB = NULL; +PFNGLMATRIXINDEXUIVARBPROC glMatrixIndexuivARB = NULL; +PFNGLMATRIXINDEXPOINTERARBPROC glMatrixIndexPointerARB = NULL; static GLboolean _glewInit_ARB_matrix_palette () { GLboolean r = GL_FALSE; - r = r || (glCurrentPaletteMatrixARB = (glCurrentPaletteMatrixARBPROC)glewGetProcAddress("glCurrentPaletteMatrixARB")) == NULL; - r = r || (glMatrixIndexubvARB = (glMatrixIndexubvARBPROC)glewGetProcAddress("glMatrixIndexubvARB")) == NULL; - r = r || (glMatrixIndexusvARB = (glMatrixIndexusvARBPROC)glewGetProcAddress("glMatrixIndexusvARB")) == NULL; - r = r || (glMatrixIndexuivARB = (glMatrixIndexuivARBPROC)glewGetProcAddress("glMatrixIndexuivARB")) == NULL; - r = r || (glMatrixIndexPointerARB = (glMatrixIndexPointerARBPROC)glewGetProcAddress("glMatrixIndexPointerARB")) == NULL; + r = r || (glCurrentPaletteMatrixARB = (PFNGLCURRENTPALETTEMATRIXARBPROC)glewGetProcAddress("glCurrentPaletteMatrixARB")) == NULL; + r = r || (glMatrixIndexubvARB = (PFNGLMATRIXINDEXUBVARBPROC)glewGetProcAddress("glMatrixIndexubvARB")) == NULL; + r = r || (glMatrixIndexusvARB = (PFNGLMATRIXINDEXUSVARBPROC)glewGetProcAddress("glMatrixIndexusvARB")) == NULL; + r = r || (glMatrixIndexuivARB = (PFNGLMATRIXINDEXUIVARBPROC)glewGetProcAddress("glMatrixIndexuivARB")) == NULL; + r = r || (glMatrixIndexPointerARB = (PFNGLMATRIXINDEXPOINTERARBPROC)glewGetProcAddress("glMatrixIndexPointerARB")) == NULL; return r; } #endif /* GL_ARB_matrix_palette */ @@ -433,12 +433,12 @@ static GLboolean _glewInit_ARB_matrix_palette () /* ---------------------------- ARB_multisample --------------------------- */ #ifdef GL_ARB_multisample -glSampleCoverageARBPROC glSampleCoverageARB = NULL; +PFNGLSAMPLECOVERAGEARBPROC glSampleCoverageARB = NULL; static GLboolean _glewInit_ARB_multisample () { GLboolean r = GL_FALSE; - r = r || (glSampleCoverageARB = (glSampleCoverageARBPROC)glewGetProcAddress("glSampleCoverageARB")) == NULL; + r = r || (glSampleCoverageARB = (PFNGLSAMPLECOVERAGEARBPROC)glewGetProcAddress("glSampleCoverageARB")) == NULL; return r; } #endif /* GL_ARB_multisample */ @@ -446,78 +446,78 @@ static GLboolean _glewInit_ARB_multisample () /* --------------------------- ARB_multitexture --------------------------- */ #ifdef GL_ARB_multitexture -glActiveTextureARBPROC glActiveTextureARB = NULL; -glClientActiveTextureARBPROC glClientActiveTextureARB = NULL; -glMultiTexCoord1dARBPROC glMultiTexCoord1dARB = NULL; -glMultiTexCoord1dvARBPROC glMultiTexCoord1dvARB = NULL; -glMultiTexCoord1fARBPROC glMultiTexCoord1fARB = NULL; -glMultiTexCoord1fvARBPROC glMultiTexCoord1fvARB = NULL; -glMultiTexCoord1iARBPROC glMultiTexCoord1iARB = NULL; -glMultiTexCoord1ivARBPROC glMultiTexCoord1ivARB = NULL; -glMultiTexCoord1sARBPROC glMultiTexCoord1sARB = NULL; -glMultiTexCoord1svARBPROC glMultiTexCoord1svARB = NULL; -glMultiTexCoord2dARBPROC glMultiTexCoord2dARB = NULL; -glMultiTexCoord2dvARBPROC glMultiTexCoord2dvARB = NULL; -glMultiTexCoord2fARBPROC glMultiTexCoord2fARB = NULL; -glMultiTexCoord2fvARBPROC glMultiTexCoord2fvARB = NULL; -glMultiTexCoord2iARBPROC glMultiTexCoord2iARB = NULL; -glMultiTexCoord2ivARBPROC glMultiTexCoord2ivARB = NULL; -glMultiTexCoord2sARBPROC glMultiTexCoord2sARB = NULL; -glMultiTexCoord2svARBPROC glMultiTexCoord2svARB = NULL; -glMultiTexCoord3dARBPROC glMultiTexCoord3dARB = NULL; -glMultiTexCoord3dvARBPROC glMultiTexCoord3dvARB = NULL; -glMultiTexCoord3fARBPROC glMultiTexCoord3fARB = NULL; -glMultiTexCoord3fvARBPROC glMultiTexCoord3fvARB = NULL; -glMultiTexCoord3iARBPROC glMultiTexCoord3iARB = NULL; -glMultiTexCoord3ivARBPROC glMultiTexCoord3ivARB = NULL; -glMultiTexCoord3sARBPROC glMultiTexCoord3sARB = NULL; -glMultiTexCoord3svARBPROC glMultiTexCoord3svARB = NULL; -glMultiTexCoord4dARBPROC glMultiTexCoord4dARB = NULL; -glMultiTexCoord4dvARBPROC glMultiTexCoord4dvARB = NULL; -glMultiTexCoord4fARBPROC glMultiTexCoord4fARB = NULL; -glMultiTexCoord4fvARBPROC glMultiTexCoord4fvARB = NULL; -glMultiTexCoord4iARBPROC glMultiTexCoord4iARB = NULL; -glMultiTexCoord4ivARBPROC glMultiTexCoord4ivARB = NULL; -glMultiTexCoord4sARBPROC glMultiTexCoord4sARB = NULL; -glMultiTexCoord4svARBPROC glMultiTexCoord4svARB = NULL; +PFNGLACTIVETEXTUREARBPROC glActiveTextureARB = NULL; +PFNGLCLIENTACTIVETEXTUREARBPROC glClientActiveTextureARB = NULL; +PFNGLMULTITEXCOORD1DARBPROC glMultiTexCoord1dARB = NULL; +PFNGLMULTITEXCOORD1DVARBPROC glMultiTexCoord1dvARB = NULL; +PFNGLMULTITEXCOORD1FARBPROC glMultiTexCoord1fARB = NULL; +PFNGLMULTITEXCOORD1FVARBPROC glMultiTexCoord1fvARB = NULL; +PFNGLMULTITEXCOORD1IARBPROC glMultiTexCoord1iARB = NULL; +PFNGLMULTITEXCOORD1IVARBPROC glMultiTexCoord1ivARB = NULL; +PFNGLMULTITEXCOORD1SARBPROC glMultiTexCoord1sARB = NULL; +PFNGLMULTITEXCOORD1SVARBPROC glMultiTexCoord1svARB = NULL; +PFNGLMULTITEXCOORD2DARBPROC glMultiTexCoord2dARB = NULL; +PFNGLMULTITEXCOORD2DVARBPROC glMultiTexCoord2dvARB = NULL; +PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARB = NULL; +PFNGLMULTITEXCOORD2FVARBPROC glMultiTexCoord2fvARB = NULL; +PFNGLMULTITEXCOORD2IARBPROC glMultiTexCoord2iARB = NULL; +PFNGLMULTITEXCOORD2IVARBPROC glMultiTexCoord2ivARB = NULL; +PFNGLMULTITEXCOORD2SARBPROC glMultiTexCoord2sARB = NULL; +PFNGLMULTITEXCOORD2SVARBPROC glMultiTexCoord2svARB = NULL; +PFNGLMULTITEXCOORD3DARBPROC glMultiTexCoord3dARB = NULL; +PFNGLMULTITEXCOORD3DVARBPROC glMultiTexCoord3dvARB = NULL; +PFNGLMULTITEXCOORD3FARBPROC glMultiTexCoord3fARB = NULL; +PFNGLMULTITEXCOORD3FVARBPROC glMultiTexCoord3fvARB = NULL; +PFNGLMULTITEXCOORD3IARBPROC glMultiTexCoord3iARB = NULL; +PFNGLMULTITEXCOORD3IVARBPROC glMultiTexCoord3ivARB = NULL; +PFNGLMULTITEXCOORD3SARBPROC glMultiTexCoord3sARB = NULL; +PFNGLMULTITEXCOORD3SVARBPROC glMultiTexCoord3svARB = NULL; +PFNGLMULTITEXCOORD4DARBPROC glMultiTexCoord4dARB = NULL; +PFNGLMULTITEXCOORD4DVARBPROC glMultiTexCoord4dvARB = NULL; +PFNGLMULTITEXCOORD4FARBPROC glMultiTexCoord4fARB = NULL; +PFNGLMULTITEXCOORD4FVARBPROC glMultiTexCoord4fvARB = NULL; +PFNGLMULTITEXCOORD4IARBPROC glMultiTexCoord4iARB = NULL; +PFNGLMULTITEXCOORD4IVARBPROC glMultiTexCoord4ivARB = NULL; +PFNGLMULTITEXCOORD4SARBPROC glMultiTexCoord4sARB = NULL; +PFNGLMULTITEXCOORD4SVARBPROC glMultiTexCoord4svARB = NULL; static GLboolean _glewInit_ARB_multitexture () { GLboolean r = GL_FALSE; - r = r || (glActiveTextureARB = (glActiveTextureARBPROC)glewGetProcAddress("glActiveTextureARB")) == NULL; - r = r || (glClientActiveTextureARB = (glClientActiveTextureARBPROC)glewGetProcAddress("glClientActiveTextureARB")) == NULL; - r = r || (glMultiTexCoord1dARB = (glMultiTexCoord1dARBPROC)glewGetProcAddress("glMultiTexCoord1dARB")) == NULL; - r = r || (glMultiTexCoord1dvARB = (glMultiTexCoord1dvARBPROC)glewGetProcAddress("glMultiTexCoord1dvARB")) == NULL; - r = r || (glMultiTexCoord1fARB = (glMultiTexCoord1fARBPROC)glewGetProcAddress("glMultiTexCoord1fARB")) == NULL; - r = r || (glMultiTexCoord1fvARB = (glMultiTexCoord1fvARBPROC)glewGetProcAddress("glMultiTexCoord1fvARB")) == NULL; - r = r || (glMultiTexCoord1iARB = (glMultiTexCoord1iARBPROC)glewGetProcAddress("glMultiTexCoord1iARB")) == NULL; - r = r || (glMultiTexCoord1ivARB = (glMultiTexCoord1ivARBPROC)glewGetProcAddress("glMultiTexCoord1ivARB")) == NULL; - r = r || (glMultiTexCoord1sARB = (glMultiTexCoord1sARBPROC)glewGetProcAddress("glMultiTexCoord1sARB")) == NULL; - r = r || (glMultiTexCoord1svARB = (glMultiTexCoord1svARBPROC)glewGetProcAddress("glMultiTexCoord1svARB")) == NULL; - r = r || (glMultiTexCoord2dARB = (glMultiTexCoord2dARBPROC)glewGetProcAddress("glMultiTexCoord2dARB")) == NULL; - r = r || (glMultiTexCoord2dvARB = (glMultiTexCoord2dvARBPROC)glewGetProcAddress("glMultiTexCoord2dvARB")) == NULL; - r = r || (glMultiTexCoord2fARB = (glMultiTexCoord2fARBPROC)glewGetProcAddress("glMultiTexCoord2fARB")) == NULL; - r = r || (glMultiTexCoord2fvARB = (glMultiTexCoord2fvARBPROC)glewGetProcAddress("glMultiTexCoord2fvARB")) == NULL; - r = r || (glMultiTexCoord2iARB = (glMultiTexCoord2iARBPROC)glewGetProcAddress("glMultiTexCoord2iARB")) == NULL; - r = r || (glMultiTexCoord2ivARB = (glMultiTexCoord2ivARBPROC)glewGetProcAddress("glMultiTexCoord2ivARB")) == NULL; - r = r || (glMultiTexCoord2sARB = (glMultiTexCoord2sARBPROC)glewGetProcAddress("glMultiTexCoord2sARB")) == NULL; - r = r || (glMultiTexCoord2svARB = (glMultiTexCoord2svARBPROC)glewGetProcAddress("glMultiTexCoord2svARB")) == NULL; - r = r || (glMultiTexCoord3dARB = (glMultiTexCoord3dARBPROC)glewGetProcAddress("glMultiTexCoord3dARB")) == NULL; - r = r || (glMultiTexCoord3dvARB = (glMultiTexCoord3dvARBPROC)glewGetProcAddress("glMultiTexCoord3dvARB")) == NULL; - r = r || (glMultiTexCoord3fARB = (glMultiTexCoord3fARBPROC)glewGetProcAddress("glMultiTexCoord3fARB")) == NULL; - r = r || (glMultiTexCoord3fvARB = (glMultiTexCoord3fvARBPROC)glewGetProcAddress("glMultiTexCoord3fvARB")) == NULL; - r = r || (glMultiTexCoord3iARB = (glMultiTexCoord3iARBPROC)glewGetProcAddress("glMultiTexCoord3iARB")) == NULL; - r = r || (glMultiTexCoord3ivARB = (glMultiTexCoord3ivARBPROC)glewGetProcAddress("glMultiTexCoord3ivARB")) == NULL; - r = r || (glMultiTexCoord3sARB = (glMultiTexCoord3sARBPROC)glewGetProcAddress("glMultiTexCoord3sARB")) == NULL; - r = r || (glMultiTexCoord3svARB = (glMultiTexCoord3svARBPROC)glewGetProcAddress("glMultiTexCoord3svARB")) == NULL; - r = r || (glMultiTexCoord4dARB = (glMultiTexCoord4dARBPROC)glewGetProcAddress("glMultiTexCoord4dARB")) == NULL; - r = r || (glMultiTexCoord4dvARB = (glMultiTexCoord4dvARBPROC)glewGetProcAddress("glMultiTexCoord4dvARB")) == NULL; - r = r || (glMultiTexCoord4fARB = (glMultiTexCoord4fARBPROC)glewGetProcAddress("glMultiTexCoord4fARB")) == NULL; - r = r || (glMultiTexCoord4fvARB = (glMultiTexCoord4fvARBPROC)glewGetProcAddress("glMultiTexCoord4fvARB")) == NULL; - r = r || (glMultiTexCoord4iARB = (glMultiTexCoord4iARBPROC)glewGetProcAddress("glMultiTexCoord4iARB")) == NULL; - r = r || (glMultiTexCoord4ivARB = (glMultiTexCoord4ivARBPROC)glewGetProcAddress("glMultiTexCoord4ivARB")) == NULL; - r = r || (glMultiTexCoord4sARB = (glMultiTexCoord4sARBPROC)glewGetProcAddress("glMultiTexCoord4sARB")) == NULL; - r = r || (glMultiTexCoord4svARB = (glMultiTexCoord4svARBPROC)glewGetProcAddress("glMultiTexCoord4svARB")) == NULL; + r = r || (glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)glewGetProcAddress("glActiveTextureARB")) == NULL; + r = r || (glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC)glewGetProcAddress("glClientActiveTextureARB")) == NULL; + r = r || (glMultiTexCoord1dARB = (PFNGLMULTITEXCOORD1DARBPROC)glewGetProcAddress("glMultiTexCoord1dARB")) == NULL; + r = r || (glMultiTexCoord1dvARB = (PFNGLMULTITEXCOORD1DVARBPROC)glewGetProcAddress("glMultiTexCoord1dvARB")) == NULL; + r = r || (glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC)glewGetProcAddress("glMultiTexCoord1fARB")) == NULL; + r = r || (glMultiTexCoord1fvARB = (PFNGLMULTITEXCOORD1FVARBPROC)glewGetProcAddress("glMultiTexCoord1fvARB")) == NULL; + r = r || (glMultiTexCoord1iARB = (PFNGLMULTITEXCOORD1IARBPROC)glewGetProcAddress("glMultiTexCoord1iARB")) == NULL; + r = r || (glMultiTexCoord1ivARB = (PFNGLMULTITEXCOORD1IVARBPROC)glewGetProcAddress("glMultiTexCoord1ivARB")) == NULL; + r = r || (glMultiTexCoord1sARB = (PFNGLMULTITEXCOORD1SARBPROC)glewGetProcAddress("glMultiTexCoord1sARB")) == NULL; + r = r || (glMultiTexCoord1svARB = (PFNGLMULTITEXCOORD1SVARBPROC)glewGetProcAddress("glMultiTexCoord1svARB")) == NULL; + r = r || (glMultiTexCoord2dARB = (PFNGLMULTITEXCOORD2DARBPROC)glewGetProcAddress("glMultiTexCoord2dARB")) == NULL; + r = r || (glMultiTexCoord2dvARB = (PFNGLMULTITEXCOORD2DVARBPROC)glewGetProcAddress("glMultiTexCoord2dvARB")) == NULL; + r = r || (glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)glewGetProcAddress("glMultiTexCoord2fARB")) == NULL; + r = r || (glMultiTexCoord2fvARB = (PFNGLMULTITEXCOORD2FVARBPROC)glewGetProcAddress("glMultiTexCoord2fvARB")) == NULL; + r = r || (glMultiTexCoord2iARB = (PFNGLMULTITEXCOORD2IARBPROC)glewGetProcAddress("glMultiTexCoord2iARB")) == NULL; + r = r || (glMultiTexCoord2ivARB = (PFNGLMULTITEXCOORD2IVARBPROC)glewGetProcAddress("glMultiTexCoord2ivARB")) == NULL; + r = r || (glMultiTexCoord2sARB = (PFNGLMULTITEXCOORD2SARBPROC)glewGetProcAddress("glMultiTexCoord2sARB")) == NULL; + r = r || (glMultiTexCoord2svARB = (PFNGLMULTITEXCOORD2SVARBPROC)glewGetProcAddress("glMultiTexCoord2svARB")) == NULL; + r = r || (glMultiTexCoord3dARB = (PFNGLMULTITEXCOORD3DARBPROC)glewGetProcAddress("glMultiTexCoord3dARB")) == NULL; + r = r || (glMultiTexCoord3dvARB = (PFNGLMULTITEXCOORD3DVARBPROC)glewGetProcAddress("glMultiTexCoord3dvARB")) == NULL; + r = r || (glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC)glewGetProcAddress("glMultiTexCoord3fARB")) == NULL; + r = r || (glMultiTexCoord3fvARB = (PFNGLMULTITEXCOORD3FVARBPROC)glewGetProcAddress("glMultiTexCoord3fvARB")) == NULL; + r = r || (glMultiTexCoord3iARB = (PFNGLMULTITEXCOORD3IARBPROC)glewGetProcAddress("glMultiTexCoord3iARB")) == NULL; + r = r || (glMultiTexCoord3ivARB = (PFNGLMULTITEXCOORD3IVARBPROC)glewGetProcAddress("glMultiTexCoord3ivARB")) == NULL; + r = r || (glMultiTexCoord3sARB = (PFNGLMULTITEXCOORD3SARBPROC)glewGetProcAddress("glMultiTexCoord3sARB")) == NULL; + r = r || (glMultiTexCoord3svARB = (PFNGLMULTITEXCOORD3SVARBPROC)glewGetProcAddress("glMultiTexCoord3svARB")) == NULL; + r = r || (glMultiTexCoord4dARB = (PFNGLMULTITEXCOORD4DARBPROC)glewGetProcAddress("glMultiTexCoord4dARB")) == NULL; + r = r || (glMultiTexCoord4dvARB = (PFNGLMULTITEXCOORD4DVARBPROC)glewGetProcAddress("glMultiTexCoord4dvARB")) == NULL; + r = r || (glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC)glewGetProcAddress("glMultiTexCoord4fARB")) == NULL; + r = r || (glMultiTexCoord4fvARB = (PFNGLMULTITEXCOORD4FVARBPROC)glewGetProcAddress("glMultiTexCoord4fvARB")) == NULL; + r = r || (glMultiTexCoord4iARB = (PFNGLMULTITEXCOORD4IARBPROC)glewGetProcAddress("glMultiTexCoord4iARB")) == NULL; + r = r || (glMultiTexCoord4ivARB = (PFNGLMULTITEXCOORD4IVARBPROC)glewGetProcAddress("glMultiTexCoord4ivARB")) == NULL; + r = r || (glMultiTexCoord4sARB = (PFNGLMULTITEXCOORD4SARBPROC)glewGetProcAddress("glMultiTexCoord4sARB")) == NULL; + r = r || (glMultiTexCoord4svARB = (PFNGLMULTITEXCOORD4SVARBPROC)glewGetProcAddress("glMultiTexCoord4svARB")) == NULL; return r; } #endif /* GL_ARB_multitexture */ @@ -525,14 +525,14 @@ static GLboolean _glewInit_ARB_multitexture () /* ------------------------- ARB_point_parameters ------------------------- */ #ifdef GL_ARB_point_parameters -glPointParameterfARBPROC glPointParameterfARB = NULL; -glPointParameterfvARBPROC glPointParameterfvARB = NULL; +PFNGLPOINTPARAMETERFARBPROC glPointParameterfARB = NULL; +PFNGLPOINTPARAMETERFVARBPROC glPointParameterfvARB = NULL; static GLboolean _glewInit_ARB_point_parameters () { GLboolean r = GL_FALSE; - r = r || (glPointParameterfARB = (glPointParameterfARBPROC)glewGetProcAddress("glPointParameterfARB")) == NULL; - r = r || (glPointParameterfvARB = (glPointParameterfvARBPROC)glewGetProcAddress("glPointParameterfvARB")) == NULL; + r = r || (glPointParameterfARB = (PFNGLPOINTPARAMETERFARBPROC)glewGetProcAddress("glPointParameterfARB")) == NULL; + r = r || (glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC)glewGetProcAddress("glPointParameterfvARB")) == NULL; return r; } #endif /* GL_ARB_point_parameters */ @@ -540,24 +540,24 @@ static GLboolean _glewInit_ARB_point_parameters () /* ------------------------ ARB_texture_compression ----------------------- */ #ifdef GL_ARB_texture_compression -glCompressedTexImage3DARBPROC glCompressedTexImage3DARB = NULL; -glCompressedTexImage2DARBPROC glCompressedTexImage2DARB = NULL; -glCompressedTexImage1DARBPROC glCompressedTexImage1DARB = NULL; -glCompressedTexSubImage3DARBPROC glCompressedTexSubImage3DARB = NULL; -glCompressedTexSubImage2DARBPROC glCompressedTexSubImage2DARB = NULL; -glCompressedTexSubImage1DARBPROC glCompressedTexSubImage1DARB = NULL; -glGetCompressedTexImageARBPROC glGetCompressedTexImageARB = NULL; +PFNGLCOMPRESSEDTEXIMAGE3DARBPROC glCompressedTexImage3DARB = NULL; +PFNGLCOMPRESSEDTEXIMAGE2DARBPROC glCompressedTexImage2DARB = NULL; +PFNGLCOMPRESSEDTEXIMAGE1DARBPROC glCompressedTexImage1DARB = NULL; +PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC glCompressedTexSubImage3DARB = NULL; +PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC glCompressedTexSubImage2DARB = NULL; +PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC glCompressedTexSubImage1DARB = NULL; +PFNGLGETCOMPRESSEDTEXIMAGEARBPROC glGetCompressedTexImageARB = NULL; static GLboolean _glewInit_ARB_texture_compression () { GLboolean r = GL_FALSE; - r = r || (glCompressedTexImage3DARB = (glCompressedTexImage3DARBPROC)glewGetProcAddress("glCompressedTexImage3DARB")) == NULL; - r = r || (glCompressedTexImage2DARB = (glCompressedTexImage2DARBPROC)glewGetProcAddress("glCompressedTexImage2DARB")) == NULL; - r = r || (glCompressedTexImage1DARB = (glCompressedTexImage1DARBPROC)glewGetProcAddress("glCompressedTexImage1DARB")) == NULL; - r = r || (glCompressedTexSubImage3DARB = (glCompressedTexSubImage3DARBPROC)glewGetProcAddress("glCompressedTexSubImage3DARB")) == NULL; - r = r || (glCompressedTexSubImage2DARB = (glCompressedTexSubImage2DARBPROC)glewGetProcAddress("glCompressedTexSubImage2DARB")) == NULL; - r = r || (glCompressedTexSubImage1DARB = (glCompressedTexSubImage1DARBPROC)glewGetProcAddress("glCompressedTexSubImage1DARB")) == NULL; - r = r || (glGetCompressedTexImageARB = (glGetCompressedTexImageARBPROC)glewGetProcAddress("glGetCompressedTexImageARB")) == NULL; + r = r || (glCompressedTexImage3DARB = (PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)glewGetProcAddress("glCompressedTexImage3DARB")) == NULL; + r = r || (glCompressedTexImage2DARB = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)glewGetProcAddress("glCompressedTexImage2DARB")) == NULL; + r = r || (glCompressedTexImage1DARB = (PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)glewGetProcAddress("glCompressedTexImage1DARB")) == NULL; + r = r || (glCompressedTexSubImage3DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)glewGetProcAddress("glCompressedTexSubImage3DARB")) == NULL; + r = r || (glCompressedTexSubImage2DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)glewGetProcAddress("glCompressedTexSubImage2DARB")) == NULL; + r = r || (glCompressedTexSubImage1DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)glewGetProcAddress("glCompressedTexSubImage1DARB")) == NULL; + r = r || (glGetCompressedTexImageARB = (PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress("glGetCompressedTexImageARB")) == NULL; return r; } #endif /* GL_ARB_texture_compression */ @@ -565,18 +565,18 @@ static GLboolean _glewInit_ARB_texture_compression () /* ------------------------- ARB_transpose_matrix ------------------------- */ #ifdef GL_ARB_transpose_matrix -glLoadTransposeMatrixfARBPROC glLoadTransposeMatrixfARB = NULL; -glLoadTransposeMatrixdARBPROC glLoadTransposeMatrixdARB = NULL; -glMultTransposeMatrixfARBPROC glMultTransposeMatrixfARB = NULL; -glMultTransposeMatrixdARBPROC glMultTransposeMatrixdARB = NULL; +PFNGLLOADTRANSPOSEMATRIXFARBPROC glLoadTransposeMatrixfARB = NULL; +PFNGLLOADTRANSPOSEMATRIXDARBPROC glLoadTransposeMatrixdARB = NULL; +PFNGLMULTTRANSPOSEMATRIXFARBPROC glMultTransposeMatrixfARB = NULL; +PFNGLMULTTRANSPOSEMATRIXDARBPROC glMultTransposeMatrixdARB = NULL; static GLboolean _glewInit_ARB_transpose_matrix () { GLboolean r = GL_FALSE; - r = r || (glLoadTransposeMatrixfARB = (glLoadTransposeMatrixfARBPROC)glewGetProcAddress("glLoadTransposeMatrixfARB")) == NULL; - r = r || (glLoadTransposeMatrixdARB = (glLoadTransposeMatrixdARBPROC)glewGetProcAddress("glLoadTransposeMatrixdARB")) == NULL; - r = r || (glMultTransposeMatrixfARB = (glMultTransposeMatrixfARBPROC)glewGetProcAddress("glMultTransposeMatrixfARB")) == NULL; - r = r || (glMultTransposeMatrixdARB = (glMultTransposeMatrixdARBPROC)glewGetProcAddress("glMultTransposeMatrixdARB")) == NULL; + r = r || (glLoadTransposeMatrixfARB = (PFNGLLOADTRANSPOSEMATRIXFARBPROC)glewGetProcAddress("glLoadTransposeMatrixfARB")) == NULL; + r = r || (glLoadTransposeMatrixdARB = (PFNGLLOADTRANSPOSEMATRIXDARBPROC)glewGetProcAddress("glLoadTransposeMatrixdARB")) == NULL; + r = r || (glMultTransposeMatrixfARB = (PFNGLMULTTRANSPOSEMATRIXFARBPROC)glewGetProcAddress("glMultTransposeMatrixfARB")) == NULL; + r = r || (glMultTransposeMatrixdARB = (PFNGLMULTTRANSPOSEMATRIXDARBPROC)glewGetProcAddress("glMultTransposeMatrixdARB")) == NULL; return r; } #endif /* GL_ARB_transpose_matrix */ @@ -584,30 +584,30 @@ static GLboolean _glewInit_ARB_transpose_matrix () /* --------------------------- ARB_vertex_blend --------------------------- */ #ifdef GL_ARB_vertex_blend -glWeightbvARBPROC glWeightbvARB = NULL; -glWeightsvARBPROC glWeightsvARB = NULL; -glWeightivARBPROC glWeightivARB = NULL; -glWeightfvARBPROC glWeightfvARB = NULL; -glWeightdvARBPROC glWeightdvARB = NULL; -glWeightubvARBPROC glWeightubvARB = NULL; -glWeightusvARBPROC glWeightusvARB = NULL; -glWeightuivARBPROC glWeightuivARB = NULL; -glWeightPointerARBPROC glWeightPointerARB = NULL; -glVertexBlendARBPROC glVertexBlendARB = NULL; +PFNGLWEIGHTBVARBPROC glWeightbvARB = NULL; +PFNGLWEIGHTSVARBPROC glWeightsvARB = NULL; +PFNGLWEIGHTIVARBPROC glWeightivARB = NULL; +PFNGLWEIGHTFVARBPROC glWeightfvARB = NULL; +PFNGLWEIGHTDVARBPROC glWeightdvARB = NULL; +PFNGLWEIGHTUBVARBPROC glWeightubvARB = NULL; +PFNGLWEIGHTUSVARBPROC glWeightusvARB = NULL; +PFNGLWEIGHTUIVARBPROC glWeightuivARB = NULL; +PFNGLWEIGHTPOINTERARBPROC glWeightPointerARB = NULL; +PFNGLVERTEXBLENDARBPROC glVertexBlendARB = NULL; static GLboolean _glewInit_ARB_vertex_blend () { GLboolean r = GL_FALSE; - r = r || (glWeightbvARB = (glWeightbvARBPROC)glewGetProcAddress("glWeightbvARB")) == NULL; - r = r || (glWeightsvARB = (glWeightsvARBPROC)glewGetProcAddress("glWeightsvARB")) == NULL; - r = r || (glWeightivARB = (glWeightivARBPROC)glewGetProcAddress("glWeightivARB")) == NULL; - r = r || (glWeightfvARB = (glWeightfvARBPROC)glewGetProcAddress("glWeightfvARB")) == NULL; - r = r || (glWeightdvARB = (glWeightdvARBPROC)glewGetProcAddress("glWeightdvARB")) == NULL; - r = r || (glWeightubvARB = (glWeightubvARBPROC)glewGetProcAddress("glWeightubvARB")) == NULL; - r = r || (glWeightusvARB = (glWeightusvARBPROC)glewGetProcAddress("glWeightusvARB")) == NULL; - r = r || (glWeightuivARB = (glWeightuivARBPROC)glewGetProcAddress("glWeightuivARB")) == NULL; - r = r || (glWeightPointerARB = (glWeightPointerARBPROC)glewGetProcAddress("glWeightPointerARB")) == NULL; - r = r || (glVertexBlendARB = (glVertexBlendARBPROC)glewGetProcAddress("glVertexBlendARB")) == NULL; + r = r || (glWeightbvARB = (PFNGLWEIGHTBVARBPROC)glewGetProcAddress("glWeightbvARB")) == NULL; + r = r || (glWeightsvARB = (PFNGLWEIGHTSVARBPROC)glewGetProcAddress("glWeightsvARB")) == NULL; + r = r || (glWeightivARB = (PFNGLWEIGHTIVARBPROC)glewGetProcAddress("glWeightivARB")) == NULL; + r = r || (glWeightfvARB = (PFNGLWEIGHTFVARBPROC)glewGetProcAddress("glWeightfvARB")) == NULL; + r = r || (glWeightdvARB = (PFNGLWEIGHTDVARBPROC)glewGetProcAddress("glWeightdvARB")) == NULL; + r = r || (glWeightubvARB = (PFNGLWEIGHTUBVARBPROC)glewGetProcAddress("glWeightubvARB")) == NULL; + r = r || (glWeightusvARB = (PFNGLWEIGHTUSVARBPROC)glewGetProcAddress("glWeightusvARB")) == NULL; + r = r || (glWeightuivARB = (PFNGLWEIGHTUIVARBPROC)glewGetProcAddress("glWeightuivARB")) == NULL; + r = r || (glWeightPointerARB = (PFNGLWEIGHTPOINTERARBPROC)glewGetProcAddress("glWeightPointerARB")) == NULL; + r = r || (glVertexBlendARB = (PFNGLVERTEXBLENDARBPROC)glewGetProcAddress("glVertexBlendARB")) == NULL; return r; } #endif /* GL_ARB_vertex_blend */ @@ -615,134 +615,134 @@ static GLboolean _glewInit_ARB_vertex_blend () /* -------------------------- ARB_vertex_program -------------------------- */ #ifdef GL_ARB_vertex_program -glVertexAttrib1sARBPROC glVertexAttrib1sARB = NULL; -glVertexAttrib1fARBPROC glVertexAttrib1fARB = NULL; -glVertexAttrib1dARBPROC glVertexAttrib1dARB = NULL; -glVertexAttrib2sARBPROC glVertexAttrib2sARB = NULL; -glVertexAttrib2fARBPROC glVertexAttrib2fARB = NULL; -glVertexAttrib2dARBPROC glVertexAttrib2dARB = NULL; -glVertexAttrib3sARBPROC glVertexAttrib3sARB = NULL; -glVertexAttrib3fARBPROC glVertexAttrib3fARB = NULL; -glVertexAttrib3dARBPROC glVertexAttrib3dARB = NULL; -glVertexAttrib4sARBPROC glVertexAttrib4sARB = NULL; -glVertexAttrib4fARBPROC glVertexAttrib4fARB = NULL; -glVertexAttrib4dARBPROC glVertexAttrib4dARB = NULL; -glVertexAttrib4NubARBPROC glVertexAttrib4NubARB = NULL; -glVertexAttrib1svARBPROC glVertexAttrib1svARB = NULL; -glVertexAttrib1fvARBPROC glVertexAttrib1fvARB = NULL; -glVertexAttrib1dvARBPROC glVertexAttrib1dvARB = NULL; -glVertexAttrib2svARBPROC glVertexAttrib2svARB = NULL; -glVertexAttrib2fvARBPROC glVertexAttrib2fvARB = NULL; -glVertexAttrib2dvARBPROC glVertexAttrib2dvARB = NULL; -glVertexAttrib3svARBPROC glVertexAttrib3svARB = NULL; -glVertexAttrib3fvARBPROC glVertexAttrib3fvARB = NULL; -glVertexAttrib3dvARBPROC glVertexAttrib3dvARB = NULL; -glVertexAttrib4bvARBPROC glVertexAttrib4bvARB = NULL; -glVertexAttrib4svARBPROC glVertexAttrib4svARB = NULL; -glVertexAttrib4ivARBPROC glVertexAttrib4ivARB = NULL; -glVertexAttrib4ubvARBPROC glVertexAttrib4ubvARB = NULL; -glVertexAttrib4usvARBPROC glVertexAttrib4usvARB = NULL; -glVertexAttrib4uivARBPROC glVertexAttrib4uivARB = NULL; -glVertexAttrib4fvARBPROC glVertexAttrib4fvARB = NULL; -glVertexAttrib4dvARBPROC glVertexAttrib4dvARB = NULL; -glVertexAttrib4NbvARBPROC glVertexAttrib4NbvARB = NULL; -glVertexAttrib4NsvARBPROC glVertexAttrib4NsvARB = NULL; -glVertexAttrib4NivARBPROC glVertexAttrib4NivARB = NULL; -glVertexAttrib4NubvARBPROC glVertexAttrib4NubvARB = NULL; -glVertexAttrib4NusvARBPROC glVertexAttrib4NusvARB = NULL; -glVertexAttrib4NuivARBPROC glVertexAttrib4NuivARB = NULL; -glVertexAttribPointerARBPROC glVertexAttribPointerARB = NULL; -glEnableVertexAttribArrayARBPROC glEnableVertexAttribArrayARB = NULL; -glDisableVertexAttribArrayARBPROC glDisableVertexAttribArrayARB = NULL; -glProgramStringARBPROC glProgramStringARB = NULL; -glBindProgramARBPROC glBindProgramARB = NULL; -glDeleteProgramsARBPROC glDeleteProgramsARB = NULL; -glGenProgramsARBPROC glGenProgramsARB = NULL; -glProgramEnvParameter4dARBPROC glProgramEnvParameter4dARB = NULL; -glProgramEnvParameter4dvARBPROC glProgramEnvParameter4dvARB = NULL; -glProgramEnvParameter4fARBPROC glProgramEnvParameter4fARB = NULL; -glProgramEnvParameter4fvARBPROC glProgramEnvParameter4fvARB = NULL; -glProgramLocalParameter4dARBPROC glProgramLocalParameter4dARB = NULL; -glProgramLocalParameter4dvARBPROC glProgramLocalParameter4dvARB = NULL; -glProgramLocalParameter4fARBPROC glProgramLocalParameter4fARB = NULL; -glProgramLocalParameter4fvARBPROC glProgramLocalParameter4fvARB = NULL; -glGetProgramEnvParameterdvARBPROC glGetProgramEnvParameterdvARB = NULL; -glGetProgramEnvParameterfvARBPROC glGetProgramEnvParameterfvARB = NULL; -glGetProgramLocalParameterdvARBPROC glGetProgramLocalParameterdvARB = NULL; -glGetProgramLocalParameterfvARBPROC glGetProgramLocalParameterfvARB = NULL; -glGetProgramivARBPROC glGetProgramivARB = NULL; -glGetProgramStringARBPROC glGetProgramStringARB = NULL; -glGetVertexAttribdvARBPROC glGetVertexAttribdvARB = NULL; -glGetVertexAttribfvARBPROC glGetVertexAttribfvARB = NULL; -glGetVertexAttribivARBPROC glGetVertexAttribivARB = NULL; -glGetVertexAttribPointervARBPROC glGetVertexAttribPointervARB = NULL; -glIsProgramARBPROC glIsProgramARB = NULL; +PFNGLVERTEXATTRIB1SARBPROC glVertexAttrib1sARB = NULL; +PFNGLVERTEXATTRIB1FARBPROC glVertexAttrib1fARB = NULL; +PFNGLVERTEXATTRIB1DARBPROC glVertexAttrib1dARB = NULL; +PFNGLVERTEXATTRIB2SARBPROC glVertexAttrib2sARB = NULL; +PFNGLVERTEXATTRIB2FARBPROC glVertexAttrib2fARB = NULL; +PFNGLVERTEXATTRIB2DARBPROC glVertexAttrib2dARB = NULL; +PFNGLVERTEXATTRIB3SARBPROC glVertexAttrib3sARB = NULL; +PFNGLVERTEXATTRIB3FARBPROC glVertexAttrib3fARB = NULL; +PFNGLVERTEXATTRIB3DARBPROC glVertexAttrib3dARB = NULL; +PFNGLVERTEXATTRIB4SARBPROC glVertexAttrib4sARB = NULL; +PFNGLVERTEXATTRIB4FARBPROC glVertexAttrib4fARB = NULL; +PFNGLVERTEXATTRIB4DARBPROC glVertexAttrib4dARB = NULL; +PFNGLVERTEXATTRIB4NUBARBPROC glVertexAttrib4NubARB = NULL; +PFNGLVERTEXATTRIB1SVARBPROC glVertexAttrib1svARB = NULL; +PFNGLVERTEXATTRIB1FVARBPROC glVertexAttrib1fvARB = NULL; +PFNGLVERTEXATTRIB1DVARBPROC glVertexAttrib1dvARB = NULL; +PFNGLVERTEXATTRIB2SVARBPROC glVertexAttrib2svARB = NULL; +PFNGLVERTEXATTRIB2FVARBPROC glVertexAttrib2fvARB = NULL; +PFNGLVERTEXATTRIB2DVARBPROC glVertexAttrib2dvARB = NULL; +PFNGLVERTEXATTRIB3SVARBPROC glVertexAttrib3svARB = NULL; +PFNGLVERTEXATTRIB3FVARBPROC glVertexAttrib3fvARB = NULL; +PFNGLVERTEXATTRIB3DVARBPROC glVertexAttrib3dvARB = NULL; +PFNGLVERTEXATTRIB4BVARBPROC glVertexAttrib4bvARB = NULL; +PFNGLVERTEXATTRIB4SVARBPROC glVertexAttrib4svARB = NULL; +PFNGLVERTEXATTRIB4IVARBPROC glVertexAttrib4ivARB = NULL; +PFNGLVERTEXATTRIB4UBVARBPROC glVertexAttrib4ubvARB = NULL; +PFNGLVERTEXATTRIB4USVARBPROC glVertexAttrib4usvARB = NULL; +PFNGLVERTEXATTRIB4UIVARBPROC glVertexAttrib4uivARB = NULL; +PFNGLVERTEXATTRIB4FVARBPROC glVertexAttrib4fvARB = NULL; +PFNGLVERTEXATTRIB4DVARBPROC glVertexAttrib4dvARB = NULL; +PFNGLVERTEXATTRIB4NBVARBPROC glVertexAttrib4NbvARB = NULL; +PFNGLVERTEXATTRIB4NSVARBPROC glVertexAttrib4NsvARB = NULL; +PFNGLVERTEXATTRIB4NIVARBPROC glVertexAttrib4NivARB = NULL; +PFNGLVERTEXATTRIB4NUBVARBPROC glVertexAttrib4NubvARB = NULL; +PFNGLVERTEXATTRIB4NUSVARBPROC glVertexAttrib4NusvARB = NULL; +PFNGLVERTEXATTRIB4NUIVARBPROC glVertexAttrib4NuivARB = NULL; +PFNGLVERTEXATTRIBPOINTERARBPROC glVertexAttribPointerARB = NULL; +PFNGLENABLEVERTEXATTRIBARRAYARBPROC glEnableVertexAttribArrayARB = NULL; +PFNGLDISABLEVERTEXATTRIBARRAYARBPROC glDisableVertexAttribArrayARB = NULL; +PFNGLPROGRAMSTRINGARBPROC glProgramStringARB = NULL; +PFNGLBINDPROGRAMARBPROC glBindProgramARB = NULL; +PFNGLDELETEPROGRAMSARBPROC glDeleteProgramsARB = NULL; +PFNGLGENPROGRAMSARBPROC glGenProgramsARB = NULL; +PFNGLPROGRAMENVPARAMETER4DARBPROC glProgramEnvParameter4dARB = NULL; +PFNGLPROGRAMENVPARAMETER4DVARBPROC glProgramEnvParameter4dvARB = NULL; +PFNGLPROGRAMENVPARAMETER4FARBPROC glProgramEnvParameter4fARB = NULL; +PFNGLPROGRAMENVPARAMETER4FVARBPROC glProgramEnvParameter4fvARB = NULL; +PFNGLPROGRAMLOCALPARAMETER4DARBPROC glProgramLocalParameter4dARB = NULL; +PFNGLPROGRAMLOCALPARAMETER4DVARBPROC glProgramLocalParameter4dvARB = NULL; +PFNGLPROGRAMLOCALPARAMETER4FARBPROC glProgramLocalParameter4fARB = NULL; +PFNGLPROGRAMLOCALPARAMETER4FVARBPROC glProgramLocalParameter4fvARB = NULL; +PFNGLGETPROGRAMENVPARAMETERDVARBPROC glGetProgramEnvParameterdvARB = NULL; +PFNGLGETPROGRAMENVPARAMETERFVARBPROC glGetProgramEnvParameterfvARB = NULL; +PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC glGetProgramLocalParameterdvARB = NULL; +PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC glGetProgramLocalParameterfvARB = NULL; +PFNGLGETPROGRAMIVARBPROC glGetProgramivARB = NULL; +PFNGLGETPROGRAMSTRINGARBPROC glGetProgramStringARB = NULL; +PFNGLGETVERTEXATTRIBDVARBPROC glGetVertexAttribdvARB = NULL; +PFNGLGETVERTEXATTRIBFVARBPROC glGetVertexAttribfvARB = NULL; +PFNGLGETVERTEXATTRIBIVARBPROC glGetVertexAttribivARB = NULL; +PFNGLGETVERTEXATTRIBPOINTERVARBPROC glGetVertexAttribPointervARB = NULL; +PFNGLISPROGRAMARBPROC glIsProgramARB = NULL; static GLboolean _glewInit_ARB_vertex_program () { GLboolean r = GL_FALSE; - r = r || (glVertexAttrib1sARB = (glVertexAttrib1sARBPROC)glewGetProcAddress("glVertexAttrib1sARB")) == NULL; - r = r || (glVertexAttrib1fARB = (glVertexAttrib1fARBPROC)glewGetProcAddress("glVertexAttrib1fARB")) == NULL; - r = r || (glVertexAttrib1dARB = (glVertexAttrib1dARBPROC)glewGetProcAddress("glVertexAttrib1dARB")) == NULL; - r = r || (glVertexAttrib2sARB = (glVertexAttrib2sARBPROC)glewGetProcAddress("glVertexAttrib2sARB")) == NULL; - r = r || (glVertexAttrib2fARB = (glVertexAttrib2fARBPROC)glewGetProcAddress("glVertexAttrib2fARB")) == NULL; - r = r || (glVertexAttrib2dARB = (glVertexAttrib2dARBPROC)glewGetProcAddress("glVertexAttrib2dARB")) == NULL; - r = r || (glVertexAttrib3sARB = (glVertexAttrib3sARBPROC)glewGetProcAddress("glVertexAttrib3sARB")) == NULL; - r = r || (glVertexAttrib3fARB = (glVertexAttrib3fARBPROC)glewGetProcAddress("glVertexAttrib3fARB")) == NULL; - r = r || (glVertexAttrib3dARB = (glVertexAttrib3dARBPROC)glewGetProcAddress("glVertexAttrib3dARB")) == NULL; - r = r || (glVertexAttrib4sARB = (glVertexAttrib4sARBPROC)glewGetProcAddress("glVertexAttrib4sARB")) == NULL; - r = r || (glVertexAttrib4fARB = (glVertexAttrib4fARBPROC)glewGetProcAddress("glVertexAttrib4fARB")) == NULL; - r = r || (glVertexAttrib4dARB = (glVertexAttrib4dARBPROC)glewGetProcAddress("glVertexAttrib4dARB")) == NULL; - r = r || (glVertexAttrib4NubARB = (glVertexAttrib4NubARBPROC)glewGetProcAddress("glVertexAttrib4NubARB")) == NULL; - r = r || (glVertexAttrib1svARB = (glVertexAttrib1svARBPROC)glewGetProcAddress("glVertexAttrib1svARB")) == NULL; - r = r || (glVertexAttrib1fvARB = (glVertexAttrib1fvARBPROC)glewGetProcAddress("glVertexAttrib1fvARB")) == NULL; - r = r || (glVertexAttrib1dvARB = (glVertexAttrib1dvARBPROC)glewGetProcAddress("glVertexAttrib1dvARB")) == NULL; - r = r || (glVertexAttrib2svARB = (glVertexAttrib2svARBPROC)glewGetProcAddress("glVertexAttrib2svARB")) == NULL; - r = r || (glVertexAttrib2fvARB = (glVertexAttrib2fvARBPROC)glewGetProcAddress("glVertexAttrib2fvARB")) == NULL; - r = r || (glVertexAttrib2dvARB = (glVertexAttrib2dvARBPROC)glewGetProcAddress("glVertexAttrib2dvARB")) == NULL; - r = r || (glVertexAttrib3svARB = (glVertexAttrib3svARBPROC)glewGetProcAddress("glVertexAttrib3svARB")) == NULL; - r = r || (glVertexAttrib3fvARB = (glVertexAttrib3fvARBPROC)glewGetProcAddress("glVertexAttrib3fvARB")) == NULL; - r = r || (glVertexAttrib3dvARB = (glVertexAttrib3dvARBPROC)glewGetProcAddress("glVertexAttrib3dvARB")) == NULL; - r = r || (glVertexAttrib4bvARB = (glVertexAttrib4bvARBPROC)glewGetProcAddress("glVertexAttrib4bvARB")) == NULL; - r = r || (glVertexAttrib4svARB = (glVertexAttrib4svARBPROC)glewGetProcAddress("glVertexAttrib4svARB")) == NULL; - r = r || (glVertexAttrib4ivARB = (glVertexAttrib4ivARBPROC)glewGetProcAddress("glVertexAttrib4ivARB")) == NULL; - r = r || (glVertexAttrib4ubvARB = (glVertexAttrib4ubvARBPROC)glewGetProcAddress("glVertexAttrib4ubvARB")) == NULL; - r = r || (glVertexAttrib4usvARB = (glVertexAttrib4usvARBPROC)glewGetProcAddress("glVertexAttrib4usvARB")) == NULL; - r = r || (glVertexAttrib4uivARB = (glVertexAttrib4uivARBPROC)glewGetProcAddress("glVertexAttrib4uivARB")) == NULL; - r = r || (glVertexAttrib4fvARB = (glVertexAttrib4fvARBPROC)glewGetProcAddress("glVertexAttrib4fvARB")) == NULL; - r = r || (glVertexAttrib4dvARB = (glVertexAttrib4dvARBPROC)glewGetProcAddress("glVertexAttrib4dvARB")) == NULL; - r = r || (glVertexAttrib4NbvARB = (glVertexAttrib4NbvARBPROC)glewGetProcAddress("glVertexAttrib4NbvARB")) == NULL; - r = r || (glVertexAttrib4NsvARB = (glVertexAttrib4NsvARBPROC)glewGetProcAddress("glVertexAttrib4NsvARB")) == NULL; - r = r || (glVertexAttrib4NivARB = (glVertexAttrib4NivARBPROC)glewGetProcAddress("glVertexAttrib4NivARB")) == NULL; - r = r || (glVertexAttrib4NubvARB = (glVertexAttrib4NubvARBPROC)glewGetProcAddress("glVertexAttrib4NubvARB")) == NULL; - r = r || (glVertexAttrib4NusvARB = (glVertexAttrib4NusvARBPROC)glewGetProcAddress("glVertexAttrib4NusvARB")) == NULL; - r = r || (glVertexAttrib4NuivARB = (glVertexAttrib4NuivARBPROC)glewGetProcAddress("glVertexAttrib4NuivARB")) == NULL; - r = r || (glVertexAttribPointerARB = (glVertexAttribPointerARBPROC)glewGetProcAddress("glVertexAttribPointerARB")) == NULL; - r = r || (glEnableVertexAttribArrayARB = (glEnableVertexAttribArrayARBPROC)glewGetProcAddress("glEnableVertexAttribArrayARB")) == NULL; - r = r || (glDisableVertexAttribArrayARB = (glDisableVertexAttribArrayARBPROC)glewGetProcAddress("glDisableVertexAttribArrayARB")) == NULL; - r = r || (glProgramStringARB = (glProgramStringARBPROC)glewGetProcAddress("glProgramStringARB")) == NULL; - r = r || (glBindProgramARB = (glBindProgramARBPROC)glewGetProcAddress("glBindProgramARB")) == NULL; - r = r || (glDeleteProgramsARB = (glDeleteProgramsARBPROC)glewGetProcAddress("glDeleteProgramsARB")) == NULL; - r = r || (glGenProgramsARB = (glGenProgramsARBPROC)glewGetProcAddress("glGenProgramsARB")) == NULL; - r = r || (glProgramEnvParameter4dARB = (glProgramEnvParameter4dARBPROC)glewGetProcAddress("glProgramEnvParameter4dARB")) == NULL; - r = r || (glProgramEnvParameter4dvARB = (glProgramEnvParameter4dvARBPROC)glewGetProcAddress("glProgramEnvParameter4dvARB")) == NULL; - r = r || (glProgramEnvParameter4fARB = (glProgramEnvParameter4fARBPROC)glewGetProcAddress("glProgramEnvParameter4fARB")) == NULL; - r = r || (glProgramEnvParameter4fvARB = (glProgramEnvParameter4fvARBPROC)glewGetProcAddress("glProgramEnvParameter4fvARB")) == NULL; - r = r || (glProgramLocalParameter4dARB = (glProgramLocalParameter4dARBPROC)glewGetProcAddress("glProgramLocalParameter4dARB")) == NULL; - r = r || (glProgramLocalParameter4dvARB = (glProgramLocalParameter4dvARBPROC)glewGetProcAddress("glProgramLocalParameter4dvARB")) == NULL; - r = r || (glProgramLocalParameter4fARB = (glProgramLocalParameter4fARBPROC)glewGetProcAddress("glProgramLocalParameter4fARB")) == NULL; - r = r || (glProgramLocalParameter4fvARB = (glProgramLocalParameter4fvARBPROC)glewGetProcAddress("glProgramLocalParameter4fvARB")) == NULL; - r = r || (glGetProgramEnvParameterdvARB = (glGetProgramEnvParameterdvARBPROC)glewGetProcAddress("glGetProgramEnvParameterdvARB")) == NULL; - r = r || (glGetProgramEnvParameterfvARB = (glGetProgramEnvParameterfvARBPROC)glewGetProcAddress("glGetProgramEnvParameterfvARB")) == NULL; - r = r || (glGetProgramLocalParameterdvARB = (glGetProgramLocalParameterdvARBPROC)glewGetProcAddress("glGetProgramLocalParameterdvARB")) == NULL; - r = r || (glGetProgramLocalParameterfvARB = (glGetProgramLocalParameterfvARBPROC)glewGetProcAddress("glGetProgramLocalParameterfvARB")) == NULL; - r = r || (glGetProgramivARB = (glGetProgramivARBPROC)glewGetProcAddress("glGetProgramivARB")) == NULL; - r = r || (glGetProgramStringARB = (glGetProgramStringARBPROC)glewGetProcAddress("glGetProgramStringARB")) == NULL; - r = r || (glGetVertexAttribdvARB = (glGetVertexAttribdvARBPROC)glewGetProcAddress("glGetVertexAttribdvARB")) == NULL; - r = r || (glGetVertexAttribfvARB = (glGetVertexAttribfvARBPROC)glewGetProcAddress("glGetVertexAttribfvARB")) == NULL; - r = r || (glGetVertexAttribivARB = (glGetVertexAttribivARBPROC)glewGetProcAddress("glGetVertexAttribivARB")) == NULL; - r = r || (glGetVertexAttribPointervARB = (glGetVertexAttribPointervARBPROC)glewGetProcAddress("glGetVertexAttribPointervARB")) == NULL; - r = r || (glIsProgramARB = (glIsProgramARBPROC)glewGetProcAddress("glIsProgramARB")) == NULL; + r = r || (glVertexAttrib1sARB = (PFNGLVERTEXATTRIB1SARBPROC)glewGetProcAddress("glVertexAttrib1sARB")) == NULL; + r = r || (glVertexAttrib1fARB = (PFNGLVERTEXATTRIB1FARBPROC)glewGetProcAddress("glVertexAttrib1fARB")) == NULL; + r = r || (glVertexAttrib1dARB = (PFNGLVERTEXATTRIB1DARBPROC)glewGetProcAddress("glVertexAttrib1dARB")) == NULL; + r = r || (glVertexAttrib2sARB = (PFNGLVERTEXATTRIB2SARBPROC)glewGetProcAddress("glVertexAttrib2sARB")) == NULL; + r = r || (glVertexAttrib2fARB = (PFNGLVERTEXATTRIB2FARBPROC)glewGetProcAddress("glVertexAttrib2fARB")) == NULL; + r = r || (glVertexAttrib2dARB = (PFNGLVERTEXATTRIB2DARBPROC)glewGetProcAddress("glVertexAttrib2dARB")) == NULL; + r = r || (glVertexAttrib3sARB = (PFNGLVERTEXATTRIB3SARBPROC)glewGetProcAddress("glVertexAttrib3sARB")) == NULL; + r = r || (glVertexAttrib3fARB = (PFNGLVERTEXATTRIB3FARBPROC)glewGetProcAddress("glVertexAttrib3fARB")) == NULL; + r = r || (glVertexAttrib3dARB = (PFNGLVERTEXATTRIB3DARBPROC)glewGetProcAddress("glVertexAttrib3dARB")) == NULL; + r = r || (glVertexAttrib4sARB = (PFNGLVERTEXATTRIB4SARBPROC)glewGetProcAddress("glVertexAttrib4sARB")) == NULL; + r = r || (glVertexAttrib4fARB = (PFNGLVERTEXATTRIB4FARBPROC)glewGetProcAddress("glVertexAttrib4fARB")) == NULL; + r = r || (glVertexAttrib4dARB = (PFNGLVERTEXATTRIB4DARBPROC)glewGetProcAddress("glVertexAttrib4dARB")) == NULL; + r = r || (glVertexAttrib4NubARB = (PFNGLVERTEXATTRIB4NUBARBPROC)glewGetProcAddress("glVertexAttrib4NubARB")) == NULL; + r = r || (glVertexAttrib1svARB = (PFNGLVERTEXATTRIB1SVARBPROC)glewGetProcAddress("glVertexAttrib1svARB")) == NULL; + r = r || (glVertexAttrib1fvARB = (PFNGLVERTEXATTRIB1FVARBPROC)glewGetProcAddress("glVertexAttrib1fvARB")) == NULL; + r = r || (glVertexAttrib1dvARB = (PFNGLVERTEXATTRIB1DVARBPROC)glewGetProcAddress("glVertexAttrib1dvARB")) == NULL; + r = r || (glVertexAttrib2svARB = (PFNGLVERTEXATTRIB2SVARBPROC)glewGetProcAddress("glVertexAttrib2svARB")) == NULL; + r = r || (glVertexAttrib2fvARB = (PFNGLVERTEXATTRIB2FVARBPROC)glewGetProcAddress("glVertexAttrib2fvARB")) == NULL; + r = r || (glVertexAttrib2dvARB = (PFNGLVERTEXATTRIB2DVARBPROC)glewGetProcAddress("glVertexAttrib2dvARB")) == NULL; + r = r || (glVertexAttrib3svARB = (PFNGLVERTEXATTRIB3SVARBPROC)glewGetProcAddress("glVertexAttrib3svARB")) == NULL; + r = r || (glVertexAttrib3fvARB = (PFNGLVERTEXATTRIB3FVARBPROC)glewGetProcAddress("glVertexAttrib3fvARB")) == NULL; + r = r || (glVertexAttrib3dvARB = (PFNGLVERTEXATTRIB3DVARBPROC)glewGetProcAddress("glVertexAttrib3dvARB")) == NULL; + r = r || (glVertexAttrib4bvARB = (PFNGLVERTEXATTRIB4BVARBPROC)glewGetProcAddress("glVertexAttrib4bvARB")) == NULL; + r = r || (glVertexAttrib4svARB = (PFNGLVERTEXATTRIB4SVARBPROC)glewGetProcAddress("glVertexAttrib4svARB")) == NULL; + r = r || (glVertexAttrib4ivARB = (PFNGLVERTEXATTRIB4IVARBPROC)glewGetProcAddress("glVertexAttrib4ivARB")) == NULL; + r = r || (glVertexAttrib4ubvARB = (PFNGLVERTEXATTRIB4UBVARBPROC)glewGetProcAddress("glVertexAttrib4ubvARB")) == NULL; + r = r || (glVertexAttrib4usvARB = (PFNGLVERTEXATTRIB4USVARBPROC)glewGetProcAddress("glVertexAttrib4usvARB")) == NULL; + r = r || (glVertexAttrib4uivARB = (PFNGLVERTEXATTRIB4UIVARBPROC)glewGetProcAddress("glVertexAttrib4uivARB")) == NULL; + r = r || (glVertexAttrib4fvARB = (PFNGLVERTEXATTRIB4FVARBPROC)glewGetProcAddress("glVertexAttrib4fvARB")) == NULL; + r = r || (glVertexAttrib4dvARB = (PFNGLVERTEXATTRIB4DVARBPROC)glewGetProcAddress("glVertexAttrib4dvARB")) == NULL; + r = r || (glVertexAttrib4NbvARB = (PFNGLVERTEXATTRIB4NBVARBPROC)glewGetProcAddress("glVertexAttrib4NbvARB")) == NULL; + r = r || (glVertexAttrib4NsvARB = (PFNGLVERTEXATTRIB4NSVARBPROC)glewGetProcAddress("glVertexAttrib4NsvARB")) == NULL; + r = r || (glVertexAttrib4NivARB = (PFNGLVERTEXATTRIB4NIVARBPROC)glewGetProcAddress("glVertexAttrib4NivARB")) == NULL; + r = r || (glVertexAttrib4NubvARB = (PFNGLVERTEXATTRIB4NUBVARBPROC)glewGetProcAddress("glVertexAttrib4NubvARB")) == NULL; + r = r || (glVertexAttrib4NusvARB = (PFNGLVERTEXATTRIB4NUSVARBPROC)glewGetProcAddress("glVertexAttrib4NusvARB")) == NULL; + r = r || (glVertexAttrib4NuivARB = (PFNGLVERTEXATTRIB4NUIVARBPROC)glewGetProcAddress("glVertexAttrib4NuivARB")) == NULL; + r = r || (glVertexAttribPointerARB = (PFNGLVERTEXATTRIBPOINTERARBPROC)glewGetProcAddress("glVertexAttribPointerARB")) == NULL; + r = r || (glEnableVertexAttribArrayARB = (PFNGLENABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress("glEnableVertexAttribArrayARB")) == NULL; + r = r || (glDisableVertexAttribArrayARB = (PFNGLDISABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress("glDisableVertexAttribArrayARB")) == NULL; + r = r || (glProgramStringARB = (PFNGLPROGRAMSTRINGARBPROC)glewGetProcAddress("glProgramStringARB")) == NULL; + r = r || (glBindProgramARB = (PFNGLBINDPROGRAMARBPROC)glewGetProcAddress("glBindProgramARB")) == NULL; + r = r || (glDeleteProgramsARB = (PFNGLDELETEPROGRAMSARBPROC)glewGetProcAddress("glDeleteProgramsARB")) == NULL; + r = r || (glGenProgramsARB = (PFNGLGENPROGRAMSARBPROC)glewGetProcAddress("glGenProgramsARB")) == NULL; + r = r || (glProgramEnvParameter4dARB = (PFNGLPROGRAMENVPARAMETER4DARBPROC)glewGetProcAddress("glProgramEnvParameter4dARB")) == NULL; + r = r || (glProgramEnvParameter4dvARB = (PFNGLPROGRAMENVPARAMETER4DVARBPROC)glewGetProcAddress("glProgramEnvParameter4dvARB")) == NULL; + r = r || (glProgramEnvParameter4fARB = (PFNGLPROGRAMENVPARAMETER4FARBPROC)glewGetProcAddress("glProgramEnvParameter4fARB")) == NULL; + r = r || (glProgramEnvParameter4fvARB = (PFNGLPROGRAMENVPARAMETER4FVARBPROC)glewGetProcAddress("glProgramEnvParameter4fvARB")) == NULL; + r = r || (glProgramLocalParameter4dARB = (PFNGLPROGRAMLOCALPARAMETER4DARBPROC)glewGetProcAddress("glProgramLocalParameter4dARB")) == NULL; + r = r || (glProgramLocalParameter4dvARB = (PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)glewGetProcAddress("glProgramLocalParameter4dvARB")) == NULL; + r = r || (glProgramLocalParameter4fARB = (PFNGLPROGRAMLOCALPARAMETER4FARBPROC)glewGetProcAddress("glProgramLocalParameter4fARB")) == NULL; + r = r || (glProgramLocalParameter4fvARB = (PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)glewGetProcAddress("glProgramLocalParameter4fvARB")) == NULL; + r = r || (glGetProgramEnvParameterdvARB = (PFNGLGETPROGRAMENVPARAMETERDVARBPROC)glewGetProcAddress("glGetProgramEnvParameterdvARB")) == NULL; + r = r || (glGetProgramEnvParameterfvARB = (PFNGLGETPROGRAMENVPARAMETERFVARBPROC)glewGetProcAddress("glGetProgramEnvParameterfvARB")) == NULL; + r = r || (glGetProgramLocalParameterdvARB = (PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)glewGetProcAddress("glGetProgramLocalParameterdvARB")) == NULL; + r = r || (glGetProgramLocalParameterfvARB = (PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)glewGetProcAddress("glGetProgramLocalParameterfvARB")) == NULL; + r = r || (glGetProgramivARB = (PFNGLGETPROGRAMIVARBPROC)glewGetProcAddress("glGetProgramivARB")) == NULL; + r = r || (glGetProgramStringARB = (PFNGLGETPROGRAMSTRINGARBPROC)glewGetProcAddress("glGetProgramStringARB")) == NULL; + r = r || (glGetVertexAttribdvARB = (PFNGLGETVERTEXATTRIBDVARBPROC)glewGetProcAddress("glGetVertexAttribdvARB")) == NULL; + r = r || (glGetVertexAttribfvARB = (PFNGLGETVERTEXATTRIBFVARBPROC)glewGetProcAddress("glGetVertexAttribfvARB")) == NULL; + r = r || (glGetVertexAttribivARB = (PFNGLGETVERTEXATTRIBIVARBPROC)glewGetProcAddress("glGetVertexAttribivARB")) == NULL; + r = r || (glGetVertexAttribPointervARB = (PFNGLGETVERTEXATTRIBPOINTERVARBPROC)glewGetProcAddress("glGetVertexAttribPointervARB")) == NULL; + r = r || (glIsProgramARB = (PFNGLISPROGRAMARBPROC)glewGetProcAddress("glIsProgramARB")) == NULL; return r; } #endif /* GL_ARB_vertex_program */ @@ -750,42 +750,42 @@ static GLboolean _glewInit_ARB_vertex_program () /* ---------------------------- ARB_window_pos ---------------------------- */ #ifdef GL_ARB_window_pos -glWindowPos2dARBPROC glWindowPos2dARB = NULL; -glWindowPos2fARBPROC glWindowPos2fARB = NULL; -glWindowPos2iARBPROC glWindowPos2iARB = NULL; -glWindowPos2sARBPROC glWindowPos2sARB = NULL; -glWindowPos2dvARBPROC glWindowPos2dvARB = NULL; -glWindowPos2fvARBPROC glWindowPos2fvARB = NULL; -glWindowPos2ivARBPROC glWindowPos2ivARB = NULL; -glWindowPos2svARBPROC glWindowPos2svARB = NULL; -glWindowPos3dARBPROC glWindowPos3dARB = NULL; -glWindowPos3fARBPROC glWindowPos3fARB = NULL; -glWindowPos3iARBPROC glWindowPos3iARB = NULL; -glWindowPos3sARBPROC glWindowPos3sARB = NULL; -glWindowPos3dvARBPROC glWindowPos3dvARB = NULL; -glWindowPos3fvARBPROC glWindowPos3fvARB = NULL; -glWindowPos3ivARBPROC glWindowPos3ivARB = NULL; -glWindowPos3svARBPROC glWindowPos3svARB = NULL; +PFNGLWINDOWPOS2DARBPROC glWindowPos2dARB = NULL; +PFNGLWINDOWPOS2FARBPROC glWindowPos2fARB = NULL; +PFNGLWINDOWPOS2IARBPROC glWindowPos2iARB = NULL; +PFNGLWINDOWPOS2SARBPROC glWindowPos2sARB = NULL; +PFNGLWINDOWPOS2DVARBPROC glWindowPos2dvARB = NULL; +PFNGLWINDOWPOS2FVARBPROC glWindowPos2fvARB = NULL; +PFNGLWINDOWPOS2IVARBPROC glWindowPos2ivARB = NULL; +PFNGLWINDOWPOS2SVARBPROC glWindowPos2svARB = NULL; +PFNGLWINDOWPOS3DARBPROC glWindowPos3dARB = NULL; +PFNGLWINDOWPOS3FARBPROC glWindowPos3fARB = NULL; +PFNGLWINDOWPOS3IARBPROC glWindowPos3iARB = NULL; +PFNGLWINDOWPOS3SARBPROC glWindowPos3sARB = NULL; +PFNGLWINDOWPOS3DVARBPROC glWindowPos3dvARB = NULL; +PFNGLWINDOWPOS3FVARBPROC glWindowPos3fvARB = NULL; +PFNGLWINDOWPOS3IVARBPROC glWindowPos3ivARB = NULL; +PFNGLWINDOWPOS3SVARBPROC glWindowPos3svARB = NULL; static GLboolean _glewInit_ARB_window_pos () { GLboolean r = GL_FALSE; - r = r || (glWindowPos2dARB = (glWindowPos2dARBPROC)glewGetProcAddress("glWindowPos2dARB")) == NULL; - r = r || (glWindowPos2fARB = (glWindowPos2fARBPROC)glewGetProcAddress("glWindowPos2fARB")) == NULL; - r = r || (glWindowPos2iARB = (glWindowPos2iARBPROC)glewGetProcAddress("glWindowPos2iARB")) == NULL; - r = r || (glWindowPos2sARB = (glWindowPos2sARBPROC)glewGetProcAddress("glWindowPos2sARB")) == NULL; - r = r || (glWindowPos2dvARB = (glWindowPos2dvARBPROC)glewGetProcAddress("glWindowPos2dvARB")) == NULL; - r = r || (glWindowPos2fvARB = (glWindowPos2fvARBPROC)glewGetProcAddress("glWindowPos2fvARB")) == NULL; - r = r || (glWindowPos2ivARB = (glWindowPos2ivARBPROC)glewGetProcAddress("glWindowPos2ivARB")) == NULL; - r = r || (glWindowPos2svARB = (glWindowPos2svARBPROC)glewGetProcAddress("glWindowPos2svARB")) == NULL; - r = r || (glWindowPos3dARB = (glWindowPos3dARBPROC)glewGetProcAddress("glWindowPos3dARB")) == NULL; - r = r || (glWindowPos3fARB = (glWindowPos3fARBPROC)glewGetProcAddress("glWindowPos3fARB")) == NULL; - r = r || (glWindowPos3iARB = (glWindowPos3iARBPROC)glewGetProcAddress("glWindowPos3iARB")) == NULL; - r = r || (glWindowPos3sARB = (glWindowPos3sARBPROC)glewGetProcAddress("glWindowPos3sARB")) == NULL; - r = r || (glWindowPos3dvARB = (glWindowPos3dvARBPROC)glewGetProcAddress("glWindowPos3dvARB")) == NULL; - r = r || (glWindowPos3fvARB = (glWindowPos3fvARBPROC)glewGetProcAddress("glWindowPos3fvARB")) == NULL; - r = r || (glWindowPos3ivARB = (glWindowPos3ivARBPROC)glewGetProcAddress("glWindowPos3ivARB")) == NULL; - r = r || (glWindowPos3svARB = (glWindowPos3svARBPROC)glewGetProcAddress("glWindowPos3svARB")) == NULL; + r = r || (glWindowPos2dARB = (PFNGLWINDOWPOS2DARBPROC)glewGetProcAddress("glWindowPos2dARB")) == NULL; + r = r || (glWindowPos2fARB = (PFNGLWINDOWPOS2FARBPROC)glewGetProcAddress("glWindowPos2fARB")) == NULL; + r = r || (glWindowPos2iARB = (PFNGLWINDOWPOS2IARBPROC)glewGetProcAddress("glWindowPos2iARB")) == NULL; + r = r || (glWindowPos2sARB = (PFNGLWINDOWPOS2SARBPROC)glewGetProcAddress("glWindowPos2sARB")) == NULL; + r = r || (glWindowPos2dvARB = (PFNGLWINDOWPOS2DVARBPROC)glewGetProcAddress("glWindowPos2dvARB")) == NULL; + r = r || (glWindowPos2fvARB = (PFNGLWINDOWPOS2FVARBPROC)glewGetProcAddress("glWindowPos2fvARB")) == NULL; + r = r || (glWindowPos2ivARB = (PFNGLWINDOWPOS2IVARBPROC)glewGetProcAddress("glWindowPos2ivARB")) == NULL; + r = r || (glWindowPos2svARB = (PFNGLWINDOWPOS2SVARBPROC)glewGetProcAddress("glWindowPos2svARB")) == NULL; + r = r || (glWindowPos3dARB = (PFNGLWINDOWPOS3DARBPROC)glewGetProcAddress("glWindowPos3dARB")) == NULL; + r = r || (glWindowPos3fARB = (PFNGLWINDOWPOS3FARBPROC)glewGetProcAddress("glWindowPos3fARB")) == NULL; + r = r || (glWindowPos3iARB = (PFNGLWINDOWPOS3IARBPROC)glewGetProcAddress("glWindowPos3iARB")) == NULL; + r = r || (glWindowPos3sARB = (PFNGLWINDOWPOS3SARBPROC)glewGetProcAddress("glWindowPos3sARB")) == NULL; + r = r || (glWindowPos3dvARB = (PFNGLWINDOWPOS3DVARBPROC)glewGetProcAddress("glWindowPos3dvARB")) == NULL; + r = r || (glWindowPos3fvARB = (PFNGLWINDOWPOS3FVARBPROC)glewGetProcAddress("glWindowPos3fvARB")) == NULL; + r = r || (glWindowPos3ivARB = (PFNGLWINDOWPOS3IVARBPROC)glewGetProcAddress("glWindowPos3ivARB")) == NULL; + r = r || (glWindowPos3svARB = (PFNGLWINDOWPOS3SVARBPROC)glewGetProcAddress("glWindowPos3svARB")) == NULL; return r; } #endif /* GL_ARB_window_pos */ @@ -793,12 +793,12 @@ static GLboolean _glewInit_ARB_window_pos () /* ---------------------------- EXT_blend_color --------------------------- */ #ifdef GL_EXT_blend_color -glBlendColorEXTPROC glBlendColorEXT; +PFNGLBLENDCOLOREXTPROC glBlendColorEXT; static GLboolean _glewInit_EXT_blend_color () { GLboolean r = GL_FALSE; - r = r || (glBlendColorEXT = (glBlendColorEXTPROC)glewGetProcAddress("glBlendColorEXT")) == NULL; + r = r || (glBlendColorEXT = (PFNGLBLENDCOLOREXTPROC)glewGetProcAddress("glBlendColorEXT")) == NULL; return r; } #endif /* GL_EXT_blend_color */ @@ -806,12 +806,12 @@ static GLboolean _glewInit_EXT_blend_color () /* ------------------------ EXT_blend_func_separate ----------------------- */ #ifdef GL_EXT_blend_func_separate -glBlendFuncSeparateEXTPROC glBlendFuncSeparateEXT = NULL; +PFNGLBLENDFUNCSEPARATEEXTPROC glBlendFuncSeparateEXT = NULL; static GLboolean _glewInit_EXT_blend_func_separate () { GLboolean r = GL_FALSE; - r = r || (glBlendFuncSeparateEXT = (glBlendFuncSeparateEXTPROC)glewGetProcAddress("glBlendFuncSeparateEXT")) == NULL; + r = r || (glBlendFuncSeparateEXT = (PFNGLBLENDFUNCSEPARATEEXTPROC)glewGetProcAddress("glBlendFuncSeparateEXT")) == NULL; return r; } #endif /* GL_EXT_blend_func_separate */ @@ -819,12 +819,12 @@ static GLboolean _glewInit_EXT_blend_func_separate () /* ---------------------------- EXT_blend_minmax -------------------------- */ #ifdef GL_EXT_blend_minmax -glBlendEquationEXTPROC glBlendEquationEXT; +PFNGLBLENDEQUATIONEXTPROC glBlendEquationEXT; static GLboolean _glewInit_EXT_blend_minmax () { GLboolean r = GL_FALSE; - r = r || (glBlendEquationEXT = (glBlendEquationEXTPROC)glewGetProcAddress("glBlendEquationEXT")) == NULL; + r = r || (glBlendEquationEXT = (PFNGLBLENDEQUATIONEXTPROC)glewGetProcAddress("glBlendEquationEXT")) == NULL; return r; } #endif /* GL_EXT_blend_minmax */ @@ -832,14 +832,14 @@ static GLboolean _glewInit_EXT_blend_minmax () /* ----------------------- EXT_compiled_vertex_array ---------------------- */ #ifdef GL_EXT_compiled_vertex_array -glLockArraysEXTPROC glLockArraysEXT = NULL; -glUnlockArraysEXTPROC glUnlockArraysEXT = NULL; +PFNGLLOCKARRAYSEXTPROC glLockArraysEXT = NULL; +PFNGLUNLOCKARRAYSEXTPROC glUnlockArraysEXT = NULL; static GLboolean _glewInit_EXT_compiled_vertex_array () { GLboolean r = GL_FALSE; - r = r || (glLockArraysEXT = (glLockArraysEXTPROC)glewGetProcAddress("glLockArraysEXT")) == NULL; - r = r || (glUnlockArraysEXT = (glUnlockArraysEXTPROC)glewGetProcAddress("glUnlockArraysEXT")) == NULL; + r = r || (glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC)glewGetProcAddress("glLockArraysEXT")) == NULL; + r = r || (glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC)glewGetProcAddress("glUnlockArraysEXT")) == NULL; return r; } #endif /* GL_EXT_compiled_vertex_array */ @@ -847,14 +847,14 @@ static GLboolean _glewInit_EXT_compiled_vertex_array () /* ---------------------------- EXT_cull_vertex --------------------------- */ #ifdef GL_EXT_cull_vertex -glCullParameterfvEXTPROC glCullParameterfvEXT = NULL; -glCullParameterdvEXTPROC glCullParameterdvEXT = NULL; +PFNGLCULLPARAMETERFVEXTPROC glCullParameterfvEXT = NULL; +PFNGLCULLPARAMETERDVEXTPROC glCullParameterdvEXT = NULL; static GLboolean _glewInit_EXT_cull_vertex () { GLboolean r = GL_FALSE; - r = r || (glCullParameterfvEXT = (glCullParameterfvEXTPROC)glewGetProcAddress("glCullParameterfvEXT")) == NULL; - r = r || (glCullParameterdvEXT = (glCullParameterdvEXTPROC)glewGetProcAddress("glCullParameterdvEXT")) == NULL; + r = r || (glCullParameterfvEXT = (PFNGLCULLPARAMETERFVEXTPROC)glewGetProcAddress("glCullParameterfvEXT")) == NULL; + r = r || (glCullParameterdvEXT = (PFNGLCULLPARAMETERDVEXTPROC)glewGetProcAddress("glCullParameterdvEXT")) == NULL; return r; } #endif /* GL_EXT_cull_vertex */ @@ -862,12 +862,12 @@ static GLboolean _glewInit_EXT_cull_vertex () /* ------------------------ EXT_draw_range_elements ----------------------- */ #ifdef GL_EXT_draw_range_elements -glDrawRangeElementsEXTPROC glDrawRangeElementsEXT = NULL; +PFNGLDRAWRANGEELEMENTSEXTPROC glDrawRangeElementsEXT = NULL; static GLboolean _glewInit_EXT_draw_range_elements () { GLboolean r = GL_FALSE; - r = r || (glDrawRangeElementsEXT = (glDrawRangeElementsEXTPROC)glewGetProcAddress("glDrawRangeElementsEXT")) == NULL; + r = r || (glDrawRangeElementsEXT = (PFNGLDRAWRANGEELEMENTSEXTPROC)glewGetProcAddress("glDrawRangeElementsEXT")) == NULL; return r; } #endif /* GL_EXT_draw_range_elements */ @@ -875,20 +875,20 @@ static GLboolean _glewInit_EXT_draw_range_elements () /* ----------------------------- EXT_fog_coord ---------------------------- */ #ifdef GL_EXT_fog_coord -glFogCoordfEXTPROC glFogCoordfEXT = NULL; -glFogCoordfvEXTPROC glFogCoordfvEXT = NULL; -glFogCoorddEXTPROC glFogCoorddEXT = NULL; -glFogCoorddvEXTPROC glFogCoorddvEXT = NULL; -glFogCoordPointerEXTPROC glFogCoordPointerEXT = NULL; +PFNGLFOGCOORDFEXTPROC glFogCoordfEXT = NULL; +PFNGLFOGCOORDFVEXTPROC glFogCoordfvEXT = NULL; +PFNGLFOGCOORDDEXTPROC glFogCoorddEXT = NULL; +PFNGLFOGCOORDDVEXTPROC glFogCoorddvEXT = NULL; +PFNGLFOGCOORDPOINTEREXTPROC glFogCoordPointerEXT = NULL; static GLboolean _glewInit_EXT_fog_coord () { GLboolean r = GL_FALSE; - r = r || (glFogCoordfEXT = (glFogCoordfEXTPROC)glewGetProcAddress("glFogCoordfEXT")) == NULL; - r = r || (glFogCoordfvEXT = (glFogCoordfvEXTPROC)glewGetProcAddress("glFogCoordfvEXT")) == NULL; - r = r || (glFogCoorddEXT = (glFogCoorddEXTPROC)glewGetProcAddress("glFogCoorddEXT")) == NULL; - r = r || (glFogCoorddvEXT = (glFogCoorddvEXTPROC)glewGetProcAddress("glFogCoorddvEXT")) == NULL; - r = r || (glFogCoordPointerEXT = (glFogCoordPointerEXTPROC)glewGetProcAddress("glFogCoordPointerEXT")) == NULL; + r = r || (glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glewGetProcAddress("glFogCoordfEXT")) == NULL; + r = r || (glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)glewGetProcAddress("glFogCoordfvEXT")) == NULL; + r = r || (glFogCoorddEXT = (PFNGLFOGCOORDDEXTPROC)glewGetProcAddress("glFogCoorddEXT")) == NULL; + r = r || (glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)glewGetProcAddress("glFogCoorddvEXT")) == NULL; + r = r || (glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)glewGetProcAddress("glFogCoordPointerEXT")) == NULL; return r; } #endif /* GL_EXT_fog_coord */ @@ -896,14 +896,14 @@ static GLboolean _glewInit_EXT_fog_coord () /* ------------------------- EXT_multi_draw_arrays ------------------------ */ #ifdef GL_EXT_multi_draw_arrays -glMultiDrawArraysEXTPROC glMultiDrawArraysEXT = NULL; -glMultiDrawElementsEXTPROC glMultiDrawElementsEXT = NULL; +PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT = NULL; +PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT = NULL; static GLboolean _glewInit_EXT_multi_draw_arrays () { GLboolean r = GL_FALSE; - r = r || (glMultiDrawArraysEXT = (glMultiDrawArraysEXTPROC) glewGetProcAddress("glMultiDrawArraysEXT")) == NULL; - r = r || (glMultiDrawElementsEXT = (glMultiDrawElementsEXTPROC) glewGetProcAddress("glMultiDrawElementsEXT")) == NULL; + r = r || (glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC) glewGetProcAddress("glMultiDrawArraysEXT")) == NULL; + r = r || (glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC) glewGetProcAddress("glMultiDrawElementsEXT")) == NULL; return r; } #endif /* GL_EXT_multi_draw_arrays */ @@ -911,14 +911,14 @@ static GLboolean _glewInit_EXT_multi_draw_arrays () /* ------------------------- EXT_point_parameters ------------------------- */ #ifdef GL_EXT_point_parameters -glPointParameterfEXTPROC glPointParameterfEXT = NULL; -glPointParameterfvEXTPROC glPointParameterfvEXT = NULL; +PFNGLPOINTPARAMETERFEXTPROC glPointParameterfEXT = NULL; +PFNGLPOINTPARAMETERFVEXTPROC glPointParameterfvEXT = NULL; static GLboolean _glewInit_EXT_point_parameters () { GLboolean r = GL_FALSE; - r = r || (glPointParameterfEXT = (glPointParameterfEXTPROC)glewGetProcAddress("glPointParameterfEXT")) == NULL; - r = r || (glPointParameterfvEXT = (glPointParameterfvEXTPROC)glewGetProcAddress("glPointParameterfvEXT")) == NULL; + r = r || (glPointParameterfEXT = (PFNGLPOINTPARAMETERFEXTPROC)glewGetProcAddress("glPointParameterfEXT")) == NULL; + r = r || (glPointParameterfvEXT = (PFNGLPOINTPARAMETERFVEXTPROC)glewGetProcAddress("glPointParameterfvEXT")) == NULL; return r; } #endif /* GL_EXT_point_parameters */ @@ -926,44 +926,44 @@ static GLboolean _glewInit_EXT_point_parameters () /* -------------------------- EXT_secondary_color ------------------------- */ #ifdef GL_EXT_secondary_color -glSecondaryColor3bEXTPROC glSecondaryColor3bEXT = NULL; -glSecondaryColor3bvEXTPROC glSecondaryColor3bvEXT = NULL; -glSecondaryColor3dEXTPROC glSecondaryColor3dEXT = NULL; -glSecondaryColor3dvEXTPROC glSecondaryColor3dvEXT = NULL; -glSecondaryColor3fEXTPROC glSecondaryColor3fEXT = NULL; -glSecondaryColor3fvEXTPROC glSecondaryColor3fvEXT = NULL; -glSecondaryColor3iEXTPROC glSecondaryColor3iEXT = NULL; -glSecondaryColor3ivEXTPROC glSecondaryColor3ivEXT = NULL; -glSecondaryColor3sEXTPROC glSecondaryColor3sEXT = NULL; -glSecondaryColor3svEXTPROC glSecondaryColor3svEXT = NULL; -glSecondaryColor3ubEXTPROC glSecondaryColor3ubEXT = NULL; -glSecondaryColor3ubvEXTPROC glSecondaryColor3ubvEXT = NULL; -glSecondaryColor3uiEXTPROC glSecondaryColor3uiEXT = NULL; -glSecondaryColor3uivEXTPROC glSecondaryColor3uivEXT = NULL; -glSecondaryColor3usEXTPROC glSecondaryColor3usEXT = NULL; -glSecondaryColor3usvEXTPROC glSecondaryColor3usvEXT = NULL; -glSecondaryColorPointerEXTPROC glSecondaryColorPointerEXT = NULL; +PFNGLSECONDARYCOLOR3BEXTPROC glSecondaryColor3bEXT = NULL; +PFNGLSECONDARYCOLOR3BVEXTPROC glSecondaryColor3bvEXT = NULL; +PFNGLSECONDARYCOLOR3DEXTPROC glSecondaryColor3dEXT = NULL; +PFNGLSECONDARYCOLOR3DVEXTPROC glSecondaryColor3dvEXT = NULL; +PFNGLSECONDARYCOLOR3FEXTPROC glSecondaryColor3fEXT = NULL; +PFNGLSECONDARYCOLOR3FVEXTPROC glSecondaryColor3fvEXT = NULL; +PFNGLSECONDARYCOLOR3IEXTPROC glSecondaryColor3iEXT = NULL; +PFNGLSECONDARYCOLOR3IVEXTPROC glSecondaryColor3ivEXT = NULL; +PFNGLSECONDARYCOLOR3SEXTPROC glSecondaryColor3sEXT = NULL; +PFNGLSECONDARYCOLOR3SVEXTPROC glSecondaryColor3svEXT = NULL; +PFNGLSECONDARYCOLOR3UBEXTPROC glSecondaryColor3ubEXT = NULL; +PFNGLSECONDARYCOLOR3UBVEXTPROC glSecondaryColor3ubvEXT = NULL; +PFNGLSECONDARYCOLOR3UIEXTPROC glSecondaryColor3uiEXT = NULL; +PFNGLSECONDARYCOLOR3UIVEXTPROC glSecondaryColor3uivEXT = NULL; +PFNGLSECONDARYCOLOR3USEXTPROC glSecondaryColor3usEXT = NULL; +PFNGLSECONDARYCOLOR3USVEXTPROC glSecondaryColor3usvEXT = NULL; +PFNGLSECONDARYCOLORPOINTEREXTPROC glSecondaryColorPointerEXT = NULL; static GLboolean _glewInit_EXT_secondary_color () { GLboolean r = GL_FALSE; - r = r || (glSecondaryColor3bEXT = (glSecondaryColor3bEXTPROC)glewGetProcAddress("glSecondaryColor3bEXT")) == NULL; - r = r || (glSecondaryColor3bvEXT = (glSecondaryColor3bvEXTPROC)glewGetProcAddress("glSecondaryColor3bvEXT")) == NULL; - r = r || (glSecondaryColor3dEXT = (glSecondaryColor3dEXTPROC)glewGetProcAddress("glSecondaryColor3dEXT")) == NULL; - r = r || (glSecondaryColor3dvEXT = (glSecondaryColor3dvEXTPROC)glewGetProcAddress("glSecondaryColor3dvEXT")) == NULL; - r = r || (glSecondaryColor3fEXT = (glSecondaryColor3fEXTPROC)glewGetProcAddress("glSecondaryColor3fEXT")) == NULL; - r = r || (glSecondaryColor3fvEXT = (glSecondaryColor3fvEXTPROC)glewGetProcAddress("glSecondaryColor3fvEXT")) == NULL; - r = r || (glSecondaryColor3iEXT = (glSecondaryColor3iEXTPROC)glewGetProcAddress("glSecondaryColor3iEXT")) == NULL; - r = r || (glSecondaryColor3ivEXT = (glSecondaryColor3ivEXTPROC)glewGetProcAddress("glSecondaryColor3ivEXT")) == NULL; - r = r || (glSecondaryColor3sEXT = (glSecondaryColor3sEXTPROC)glewGetProcAddress("glSecondaryColor3sEXT")) == NULL; - r = r || (glSecondaryColor3svEXT = (glSecondaryColor3svEXTPROC)glewGetProcAddress("glSecondaryColor3svEXT")) == NULL; - r = r || (glSecondaryColor3ubEXT = (glSecondaryColor3ubEXTPROC)glewGetProcAddress("glSecondaryColor3ubEXT")) == NULL; - r = r || (glSecondaryColor3ubvEXT = (glSecondaryColor3ubvEXTPROC)glewGetProcAddress("glSecondaryColor3ubvEXT")) == NULL; - r = r || (glSecondaryColor3uiEXT = (glSecondaryColor3uiEXTPROC)glewGetProcAddress("glSecondaryColor3uiEXT")) == NULL; - r = r || (glSecondaryColor3uivEXT = (glSecondaryColor3uivEXTPROC)glewGetProcAddress("glSecondaryColor3uivEXT")) == NULL; - r = r || (glSecondaryColor3usEXT = (glSecondaryColor3usEXTPROC)glewGetProcAddress("glSecondaryColor3usEXT")) == NULL; - r = r || (glSecondaryColor3usvEXT = (glSecondaryColor3usvEXTPROC)glewGetProcAddress("glSecondaryColor3usvEXT")) == NULL; - r = r || (glSecondaryColorPointerEXT = (glSecondaryColorPointerEXTPROC)glewGetProcAddress("glSecondaryColorPointerEXT")) == NULL; + r = r || (glSecondaryColor3bEXT = (PFNGLSECONDARYCOLOR3BEXTPROC)glewGetProcAddress("glSecondaryColor3bEXT")) == NULL; + r = r || (glSecondaryColor3bvEXT = (PFNGLSECONDARYCOLOR3BVEXTPROC)glewGetProcAddress("glSecondaryColor3bvEXT")) == NULL; + r = r || (glSecondaryColor3dEXT = (PFNGLSECONDARYCOLOR3DEXTPROC)glewGetProcAddress("glSecondaryColor3dEXT")) == NULL; + r = r || (glSecondaryColor3dvEXT = (PFNGLSECONDARYCOLOR3DVEXTPROC)glewGetProcAddress("glSecondaryColor3dvEXT")) == NULL; + r = r || (glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC)glewGetProcAddress("glSecondaryColor3fEXT")) == NULL; + r = r || (glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC)glewGetProcAddress("glSecondaryColor3fvEXT")) == NULL; + r = r || (glSecondaryColor3iEXT = (PFNGLSECONDARYCOLOR3IEXTPROC)glewGetProcAddress("glSecondaryColor3iEXT")) == NULL; + r = r || (glSecondaryColor3ivEXT = (PFNGLSECONDARYCOLOR3IVEXTPROC)glewGetProcAddress("glSecondaryColor3ivEXT")) == NULL; + r = r || (glSecondaryColor3sEXT = (PFNGLSECONDARYCOLOR3SEXTPROC)glewGetProcAddress("glSecondaryColor3sEXT")) == NULL; + r = r || (glSecondaryColor3svEXT = (PFNGLSECONDARYCOLOR3SVEXTPROC)glewGetProcAddress("glSecondaryColor3svEXT")) == NULL; + r = r || (glSecondaryColor3ubEXT = (PFNGLSECONDARYCOLOR3UBEXTPROC)glewGetProcAddress("glSecondaryColor3ubEXT")) == NULL; + r = r || (glSecondaryColor3ubvEXT = (PFNGLSECONDARYCOLOR3UBVEXTPROC)glewGetProcAddress("glSecondaryColor3ubvEXT")) == NULL; + r = r || (glSecondaryColor3uiEXT = (PFNGLSECONDARYCOLOR3UIEXTPROC)glewGetProcAddress("glSecondaryColor3uiEXT")) == NULL; + r = r || (glSecondaryColor3uivEXT = (PFNGLSECONDARYCOLOR3UIVEXTPROC)glewGetProcAddress("glSecondaryColor3uivEXT")) == NULL; + r = r || (glSecondaryColor3usEXT = (PFNGLSECONDARYCOLOR3USEXTPROC)glewGetProcAddress("glSecondaryColor3usEXT")) == NULL; + r = r || (glSecondaryColor3usvEXT = (PFNGLSECONDARYCOLOR3USVEXTPROC)glewGetProcAddress("glSecondaryColor3usvEXT")) == NULL; + r = r || (glSecondaryColorPointerEXT = (PFNGLSECONDARYCOLORPOINTEREXTPROC)glewGetProcAddress("glSecondaryColorPointerEXT")) == NULL; return r; } #endif /* GL_EXT_secondary_color */ @@ -971,107 +971,122 @@ static GLboolean _glewInit_EXT_secondary_color () /* ------------------------- EXT_stencil_two_side ------------------------- */ #ifdef GL_EXT_stencil_two_side -glActiveStencilFaceEXTPROC glActiveStencilFaceEXT = NULL; +PFNGLACTIVESTENCILFACEEXTPROC glActiveStencilFaceEXT = NULL; static GLboolean _glewInit_EXT_stencil_two_side () { GLboolean r = GL_FALSE; - r = r || (glActiveStencilFaceEXT = (glActiveStencilFaceEXTPROC)glewGetProcAddress("glActiveStencilFaceEXT")) == NULL; + r = r || (glActiveStencilFaceEXT = (PFNGLACTIVESTENCILFACEEXTPROC)glewGetProcAddress("glActiveStencilFaceEXT")) == NULL; return r; } #endif /* GL_EXT_stencil_two_side */ +/* ----------------------------- EXT_texture3D ---------------------------- */ + +#ifdef GL_EXT_texture3D +PFNGLTEXIMAGE3DEXTPROC glTexImage3DEXT = NULL; +PFNGLTEXSUBIMAGE3DEXTPROC glTexSubImage3DEXT = NULL; + +static GLboolean _glewInit_EXT_texture3D () +{ + GLboolean r = GL_FALSE; + r = r || (glTexImage3DEXT = (PFNGLTEXIMAGE3DEXTPROC)glewGetProcAddress("glTexImage3DEXT")) == NULL; + r = r || (glTexSubImage3DEXT = (PFNGLTEXSUBIMAGE3DEXTPROC)glewGetProcAddress("glTexSubImage3DEXT")) == NULL; + return r; +} +#endif /* GL_EXT_texture3D */ + /* --------------------------- EXT_vertex_shader -------------------------- */ #ifdef GL_EXT_vertex_shader -glBeginVertexShaderEXTPROC glBeginVertexShaderEXT = NULL; -glEndVertexShaderEXTPROC glEndVertexShaderEXT = NULL; -glBindVertexShaderEXTPROC glBindVertexShaderEXT = NULL; -glGenVertexShadersEXTPROC glGenVertexShadersEXT = NULL; -glDeleteVertexShaderEXTPROC glDeleteVertexShaderEXT = NULL; -glShaderOp1EXTPROC glShaderOp1EXT = NULL; -glShaderOp2EXTPROC glShaderOp2EXT = NULL; -glShaderOp3EXTPROC glShaderOp3EXT = NULL; -glSwizzleEXTPROC glSwizzleEXT = NULL; -glWriteMaskEXTPROC glWriteMaskEXT = NULL; -glInsertComponentEXTPROC glInsertComponentEXT = NULL; -glExtractComponentEXTPROC glExtractComponentEXT = NULL; -glGenSymbolsEXTPROC glGenSymbolsEXT = NULL; -glSetInvariantEXTPROC glSetInvariantEXT = NULL; -glSetLocalConstantEXTPROC glSetLocalConstantEXT = NULL; -glVariantbvEXTPROC glVariantbvEXT = NULL; -glVariantsvEXTPROC glVariantsvEXT = NULL; -glVariantivEXTPROC glVariantivEXT = NULL; -glVariantfvEXTPROC glVariantfvEXT = NULL; -glVariantdvEXTPROC glVariantdvEXT = NULL; -glVariantubvEXTPROC glVariantubvEXT = NULL; -glVariantusvEXTPROC glVariantusvEXT = NULL; -glVariantuivEXTPROC glVariantuivEXT = NULL; -glVariantPointerEXTPROC glVariantPointerEXT = NULL; -glEnableVariantClientStateEXTPROC glEnableVariantClientStateEXT = NULL; -glDisableVariantClientStateEXTPROC glDisableVariantClientStateEXT = NULL; -glBindLightParameterEXTPROC glBindLightParameterEXT = NULL; -glBindMaterialParameterEXTPROC glBindMaterialParameterEXT = NULL; -glBindTexGenParameterEXTPROC glBindTexGenParameterEXT = NULL; -glBindTextureUnitParameterEXTPROC glBindTextureUnitParameterEXT = NULL; -glBindParameterEXTPROC glBindParameterEXT = NULL; -glIsVariantEnabledEXTPROC glIsVariantEnabledEXT = NULL; -glGetVariantBooleanvEXTPROC glGetVariantBooleanvEXT = NULL; -glGetVariantIntegervEXTPROC glGetVariantIntegervEXT = NULL; -glGetVariantFloatvEXTPROC glGetVariantFloatvEXT = NULL; -glGetVariantPointervEXTPROC glGetVariantPointervEXT = NULL; -glGetInvariantBooleanvEXTPROC glGetInvariantBooleanvEXT = NULL; -glGetInvariantIntegervEXTPROC glGetInvariantIntegervEXT = NULL; -glGetInvariantFloatvEXTPROC glGetInvariantFloatvEXT = NULL; -glGetLocalConstantBooleanvEXTPROC glGetLocalConstantBooleanvEXT = NULL; -glGetLocalConstantIntegervEXTPROC glGetLocalConstantIntegervEXT = NULL; -glGetLocalConstantFloatvEXTPROC glGetLocalConstantFloatvEXT = NULL; +PFNGLBEGINVERTEXSHADEREXTPROC glBeginVertexShaderEXT = NULL; +PFNGLENDVERTEXSHADEREXTPROC glEndVertexShaderEXT = NULL; +PFNGLBINDVERTEXSHADEREXTPROC glBindVertexShaderEXT = NULL; +PFNGLGENVERTEXSHADERSEXTPROC glGenVertexShadersEXT = NULL; +PFNGLDELETEVERTEXSHADEREXTPROC glDeleteVertexShaderEXT = NULL; +PFNGLSHADEROP1EXTPROC glShaderOp1EXT = NULL; +PFNGLSHADEROP2EXTPROC glShaderOp2EXT = NULL; +PFNGLSHADEROP3EXTPROC glShaderOp3EXT = NULL; +PFNGLSWIZZLEEXTPROC glSwizzleEXT = NULL; +PFNGLWRITEMASKEXTPROC glWriteMaskEXT = NULL; +PFNGLINSERTCOMPONENTEXTPROC glInsertComponentEXT = NULL; +PFNGLEXTRACTCOMPONENTEXTPROC glExtractComponentEXT = NULL; +PFNGLGENSYMBOLSEXTPROC glGenSymbolsEXT = NULL; +PFNGLSETINVARIANTEXTPROC glSetInvariantEXT = NULL; +PFNGLSETLOCALCONSTANTEXTPROC glSetLocalConstantEXT = NULL; +PFNGLVARIANTBVEXTPROC glVariantbvEXT = NULL; +PFNGLVARIANTSVEXTPROC glVariantsvEXT = NULL; +PFNGLVARIANTIVEXTPROC glVariantivEXT = NULL; +PFNGLVARIANTFVEXTPROC glVariantfvEXT = NULL; +PFNGLVARIANTDVEXTPROC glVariantdvEXT = NULL; +PFNGLVARIANTUBVEXTPROC glVariantubvEXT = NULL; +PFNGLVARIANTUSVEXTPROC glVariantusvEXT = NULL; +PFNGLVARIANTUIVEXTPROC glVariantuivEXT = NULL; +PFNGLVARIANTPOINTEREXTPROC glVariantPointerEXT = NULL; +PFNGLENABLEVARIANTCLIENTSTATEEXTPROC glEnableVariantClientStateEXT = NULL; +PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC glDisableVariantClientStateEXT = NULL; +PFNGLBINDLIGHTPARAMETEREXTPROC glBindLightParameterEXT = NULL; +PFNGLBINDMATERIALPARAMETEREXTPROC glBindMaterialParameterEXT = NULL; +PFNGLBINDTEXGENPARAMETEREXTPROC glBindTexGenParameterEXT = NULL; +PFNGLBINDTEXTUREUNITPARAMETEREXTPROC glBindTextureUnitParameterEXT = NULL; +PFNGLBINDPARAMETEREXTPROC glBindParameterEXT = NULL; +PFNGLISVARIANTENABLEDEXTPROC glIsVariantEnabledEXT = NULL; +PFNGLGETVARIANTBOOLEANVEXTPROC glGetVariantBooleanvEXT = NULL; +PFNGLGETVARIANTINTEGERVEXTPROC glGetVariantIntegervEXT = NULL; +PFNGLGETVARIANTFLOATVEXTPROC glGetVariantFloatvEXT = NULL; +PFNGLGETVARIANTPOINTERVEXTPROC glGetVariantPointervEXT = NULL; +PFNGLGETINVARIANTBOOLEANVEXTPROC glGetInvariantBooleanvEXT = NULL; +PFNGLGETINVARIANTINTEGERVEXTPROC glGetInvariantIntegervEXT = NULL; +PFNGLGETINVARIANTFLOATVEXTPROC glGetInvariantFloatvEXT = NULL; +PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC glGetLocalConstantBooleanvEXT = NULL; +PFNGLGETLOCALCONSTANTINTEGERVEXTPROC glGetLocalConstantIntegervEXT = NULL; +PFNGLGETLOCALCONSTANTFLOATVEXTPROC glGetLocalConstantFloatvEXT = NULL; static GLboolean _glewInit_EXT_vertex_shader () { GLboolean r = GL_FALSE; - r = r || (glBeginVertexShaderEXT = (glBeginVertexShaderEXTPROC)glewGetProcAddress("glBeginVertexShaderEXT")) == NULL; - r = r || (glEndVertexShaderEXT = (glEndVertexShaderEXTPROC)glewGetProcAddress("glEndVertexShaderEXT")) == NULL; - r = r || (glBindVertexShaderEXT = (glBindVertexShaderEXTPROC)glewGetProcAddress("glBindVertexShaderEXT")) == NULL; - r = r || (glGenVertexShadersEXT = (glGenVertexShadersEXTPROC)glewGetProcAddress("glGenVertexShadersEXT")) == NULL; - r = r || (glDeleteVertexShaderEXT = (glDeleteVertexShaderEXTPROC)glewGetProcAddress("glDeleteVertexShaderEXT")) == NULL; - r = r || (glShaderOp1EXT = (glShaderOp1EXTPROC)glewGetProcAddress("glShaderOp1EXT")) == NULL; - r = r || (glShaderOp2EXT = (glShaderOp2EXTPROC)glewGetProcAddress("glShaderOp2EXT")) == NULL; - r = r || (glShaderOp3EXT = (glShaderOp3EXTPROC)glewGetProcAddress("glShaderOp3EXT")) == NULL; - r = r || (glSwizzleEXT = (glSwizzleEXTPROC)glewGetProcAddress("glSwizzleEXT")) == NULL; - r = r || (glWriteMaskEXT = (glWriteMaskEXTPROC)glewGetProcAddress("glWriteMaskEXT")) == NULL; - r = r || (glInsertComponentEXT = (glInsertComponentEXTPROC)glewGetProcAddress("glInsertComponentEXT")) == NULL; - r = r || (glExtractComponentEXT = (glExtractComponentEXTPROC)glewGetProcAddress("glExtractComponentEXT")) == NULL; - r = r || (glGenSymbolsEXT = (glGenSymbolsEXTPROC)glewGetProcAddress("glGenSymbolsEXT")) == NULL; - r = r || (glSetInvariantEXT = (glSetInvariantEXTPROC)glewGetProcAddress("glSetInvariantEXT")) == NULL; - r = r || (glSetLocalConstantEXT = (glSetLocalConstantEXTPROC)glewGetProcAddress("glSetLocalConstantEXT")) == NULL; - r = r || (glVariantbvEXT = (glVariantbvEXTPROC)glewGetProcAddress("glVariantbvEXT")) == NULL; - r = r || (glVariantsvEXT = (glVariantsvEXTPROC)glewGetProcAddress("glVariantsvEXT")) == NULL; - r = r || (glVariantivEXT = (glVariantivEXTPROC)glewGetProcAddress("glVariantivEXT")) == NULL; - r = r || (glVariantfvEXT = (glVariantfvEXTPROC)glewGetProcAddress("glVariantfvEXT")) == NULL; - r = r || (glVariantdvEXT = (glVariantdvEXTPROC)glewGetProcAddress("glVariantdvEXT")) == NULL; - r = r || (glVariantubvEXT = (glVariantubvEXTPROC)glewGetProcAddress("glVariantubvEXT")) == NULL; - r = r || (glVariantusvEXT = (glVariantusvEXTPROC)glewGetProcAddress("glVariantusvEXT")) == NULL; - r = r || (glVariantuivEXT = (glVariantuivEXTPROC)glewGetProcAddress("glVariantuivEXT")) == NULL; - r = r || (glVariantPointerEXT = (glVariantPointerEXTPROC)glewGetProcAddress("glVariantPointerEXT")) == NULL; - r = r || (glEnableVariantClientStateEXT = (glEnableVariantClientStateEXTPROC)glewGetProcAddress("glEnableVariantClientStateEXT")) == NULL; - r = r || (glDisableVariantClientStateEXT = (glDisableVariantClientStateEXTPROC)glewGetProcAddress("glDisableVariantClientStateEXT")) == NULL; - r = r || (glBindLightParameterEXT = (glBindLightParameterEXTPROC)glewGetProcAddress("glBindLightParameterEXT")) == NULL; - r = r || (glBindMaterialParameterEXT = (glBindMaterialParameterEXTPROC)glewGetProcAddress("glBindMaterialParameterEXT")) == NULL; - r = r || (glBindTexGenParameterEXT = (glBindTexGenParameterEXTPROC)glewGetProcAddress("glBindTexGenParameterEXT")) == NULL; - r = r || (glBindTextureUnitParameterEXT = (glBindTextureUnitParameterEXTPROC)glewGetProcAddress("glBindTextureUnitParameterEXT")) == NULL; - r = r || (glBindParameterEXT = (glBindParameterEXTPROC)glewGetProcAddress("glBindParameterEXT")) == NULL; - r = r || (glIsVariantEnabledEXT = (glIsVariantEnabledEXTPROC)glewGetProcAddress("glIsVariantEnabledEXT")) == NULL; - r = r || (glGetVariantBooleanvEXT = (glGetVariantBooleanvEXTPROC)glewGetProcAddress("glGetVariantBooleanvEXT")) == NULL; - r = r || (glGetVariantIntegervEXT = (glGetVariantIntegervEXTPROC)glewGetProcAddress("glGetVariantIntegervEXT")) == NULL; - r = r || (glGetVariantFloatvEXT = (glGetVariantFloatvEXTPROC)glewGetProcAddress("glGetVariantFloatvEXT")) == NULL; - r = r || (glGetVariantPointervEXT = (glGetVariantPointervEXTPROC)glewGetProcAddress("glGetVariantPointervEXT")) == NULL; - r = r || (glGetInvariantBooleanvEXT = (glGetInvariantBooleanvEXTPROC)glewGetProcAddress("glGetInvariantBooleanvEXT")) == NULL; - r = r || (glGetInvariantIntegervEXT = (glGetInvariantIntegervEXTPROC)glewGetProcAddress("glGetInvariantIntegervEXT")) == NULL; - r = r || (glGetInvariantFloatvEXT = (glGetInvariantFloatvEXTPROC)glewGetProcAddress("glGetInvariantFloatvEXT")) == NULL; - r = r || (glGetLocalConstantBooleanvEXT = (glGetLocalConstantBooleanvEXTPROC)glewGetProcAddress("glGetLocalConstantBooleanvEXT")) == NULL; - r = r || (glGetLocalConstantIntegervEXT = (glGetLocalConstantIntegervEXTPROC)glewGetProcAddress("glGetLocalConstantIntegervEXT")) == NULL; - r = r || (glGetLocalConstantFloatvEXT = (glGetLocalConstantFloatvEXTPROC)glewGetProcAddress("glGetLocalConstantFloatvEXT")) == NULL; + r = r || (glBeginVertexShaderEXT = (PFNGLBEGINVERTEXSHADEREXTPROC)glewGetProcAddress("glBeginVertexShaderEXT")) == NULL; + r = r || (glEndVertexShaderEXT = (PFNGLENDVERTEXSHADEREXTPROC)glewGetProcAddress("glEndVertexShaderEXT")) == NULL; + r = r || (glBindVertexShaderEXT = (PFNGLBINDVERTEXSHADEREXTPROC)glewGetProcAddress("glBindVertexShaderEXT")) == NULL; + r = r || (glGenVertexShadersEXT = (PFNGLGENVERTEXSHADERSEXTPROC)glewGetProcAddress("glGenVertexShadersEXT")) == NULL; + r = r || (glDeleteVertexShaderEXT = (PFNGLDELETEVERTEXSHADEREXTPROC)glewGetProcAddress("glDeleteVertexShaderEXT")) == NULL; + r = r || (glShaderOp1EXT = (PFNGLSHADEROP1EXTPROC)glewGetProcAddress("glShaderOp1EXT")) == NULL; + r = r || (glShaderOp2EXT = (PFNGLSHADEROP2EXTPROC)glewGetProcAddress("glShaderOp2EXT")) == NULL; + r = r || (glShaderOp3EXT = (PFNGLSHADEROP3EXTPROC)glewGetProcAddress("glShaderOp3EXT")) == NULL; + r = r || (glSwizzleEXT = (PFNGLSWIZZLEEXTPROC)glewGetProcAddress("glSwizzleEXT")) == NULL; + r = r || (glWriteMaskEXT = (PFNGLWRITEMASKEXTPROC)glewGetProcAddress("glWriteMaskEXT")) == NULL; + r = r || (glInsertComponentEXT = (PFNGLINSERTCOMPONENTEXTPROC)glewGetProcAddress("glInsertComponentEXT")) == NULL; + r = r || (glExtractComponentEXT = (PFNGLEXTRACTCOMPONENTEXTPROC)glewGetProcAddress("glExtractComponentEXT")) == NULL; + r = r || (glGenSymbolsEXT = (PFNGLGENSYMBOLSEXTPROC)glewGetProcAddress("glGenSymbolsEXT")) == NULL; + r = r || (glSetInvariantEXT = (PFNGLSETINVARIANTEXTPROC)glewGetProcAddress("glSetInvariantEXT")) == NULL; + r = r || (glSetLocalConstantEXT = (PFNGLSETLOCALCONSTANTEXTPROC)glewGetProcAddress("glSetLocalConstantEXT")) == NULL; + r = r || (glVariantbvEXT = (PFNGLVARIANTBVEXTPROC)glewGetProcAddress("glVariantbvEXT")) == NULL; + r = r || (glVariantsvEXT = (PFNGLVARIANTSVEXTPROC)glewGetProcAddress("glVariantsvEXT")) == NULL; + r = r || (glVariantivEXT = (PFNGLVARIANTIVEXTPROC)glewGetProcAddress("glVariantivEXT")) == NULL; + r = r || (glVariantfvEXT = (PFNGLVARIANTFVEXTPROC)glewGetProcAddress("glVariantfvEXT")) == NULL; + r = r || (glVariantdvEXT = (PFNGLVARIANTDVEXTPROC)glewGetProcAddress("glVariantdvEXT")) == NULL; + r = r || (glVariantubvEXT = (PFNGLVARIANTUBVEXTPROC)glewGetProcAddress("glVariantubvEXT")) == NULL; + r = r || (glVariantusvEXT = (PFNGLVARIANTUSVEXTPROC)glewGetProcAddress("glVariantusvEXT")) == NULL; + r = r || (glVariantuivEXT = (PFNGLVARIANTUIVEXTPROC)glewGetProcAddress("glVariantuivEXT")) == NULL; + r = r || (glVariantPointerEXT = (PFNGLVARIANTPOINTEREXTPROC)glewGetProcAddress("glVariantPointerEXT")) == NULL; + r = r || (glEnableVariantClientStateEXT = (PFNGLENABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress("glEnableVariantClientStateEXT")) == NULL; + r = r || (glDisableVariantClientStateEXT = (PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress("glDisableVariantClientStateEXT")) == NULL; + r = r || (glBindLightParameterEXT = (PFNGLBINDLIGHTPARAMETEREXTPROC)glewGetProcAddress("glBindLightParameterEXT")) == NULL; + r = r || (glBindMaterialParameterEXT = (PFNGLBINDMATERIALPARAMETEREXTPROC)glewGetProcAddress("glBindMaterialParameterEXT")) == NULL; + r = r || (glBindTexGenParameterEXT = (PFNGLBINDTEXGENPARAMETEREXTPROC)glewGetProcAddress("glBindTexGenParameterEXT")) == NULL; + r = r || (glBindTextureUnitParameterEXT = (PFNGLBINDTEXTUREUNITPARAMETEREXTPROC)glewGetProcAddress("glBindTextureUnitParameterEXT")) == NULL; + r = r || (glBindParameterEXT = (PFNGLBINDPARAMETEREXTPROC)glewGetProcAddress("glBindParameterEXT")) == NULL; + r = r || (glIsVariantEnabledEXT = (PFNGLISVARIANTENABLEDEXTPROC)glewGetProcAddress("glIsVariantEnabledEXT")) == NULL; + r = r || (glGetVariantBooleanvEXT = (PFNGLGETVARIANTBOOLEANVEXTPROC)glewGetProcAddress("glGetVariantBooleanvEXT")) == NULL; + r = r || (glGetVariantIntegervEXT = (PFNGLGETVARIANTINTEGERVEXTPROC)glewGetProcAddress("glGetVariantIntegervEXT")) == NULL; + r = r || (glGetVariantFloatvEXT = (PFNGLGETVARIANTFLOATVEXTPROC)glewGetProcAddress("glGetVariantFloatvEXT")) == NULL; + r = r || (glGetVariantPointervEXT = (PFNGLGETVARIANTPOINTERVEXTPROC)glewGetProcAddress("glGetVariantPointervEXT")) == NULL; + r = r || (glGetInvariantBooleanvEXT = (PFNGLGETINVARIANTBOOLEANVEXTPROC)glewGetProcAddress("glGetInvariantBooleanvEXT")) == NULL; + r = r || (glGetInvariantIntegervEXT = (PFNGLGETINVARIANTINTEGERVEXTPROC)glewGetProcAddress("glGetInvariantIntegervEXT")) == NULL; + r = r || (glGetInvariantFloatvEXT = (PFNGLGETINVARIANTFLOATVEXTPROC)glewGetProcAddress("glGetInvariantFloatvEXT")) == NULL; + r = r || (glGetLocalConstantBooleanvEXT = (PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC)glewGetProcAddress("glGetLocalConstantBooleanvEXT")) == NULL; + r = r || (glGetLocalConstantIntegervEXT = (PFNGLGETLOCALCONSTANTINTEGERVEXTPROC)glewGetProcAddress("glGetLocalConstantIntegervEXT")) == NULL; + r = r || (glGetLocalConstantFloatvEXT = (PFNGLGETLOCALCONSTANTFLOATVEXTPROC)glewGetProcAddress("glGetLocalConstantFloatvEXT")) == NULL; return r; } #endif /* GL_EXT_vertex_shader */ @@ -1079,16 +1094,16 @@ static GLboolean _glewInit_EXT_vertex_shader () /* ------------------------- EXT_vertex_weighting ------------------------- */ #ifdef GL_EXT_vertex_weighting -glVertexWeightfEXTPROC glVertexWeightfEXT = NULL; -glVertexWeightfvEXTPROC glVertexWeightfvEXT = NULL; -glVertexWeightPointerEXTPROC glVertexWeightPointerEXT = NULL; +PFNGLVERTEXWEIGHTFEXTPROC glVertexWeightfEXT = NULL; +PFNGLVERTEXWEIGHTFVEXTPROC glVertexWeightfvEXT = NULL; +PFNGLVERTEXWEIGHTPOINTEREXTPROC glVertexWeightPointerEXT = NULL; static GLboolean _glewInit_EXT_vertex_weighting () { GLboolean r = GL_FALSE; - r = r || (glVertexWeightfEXT = (glVertexWeightfEXTPROC)glewGetProcAddress("glVertexWeightfEXT")) == NULL; - r = r || (glVertexWeightfvEXT = (glVertexWeightfvEXTPROC)glewGetProcAddress("glVertexWeightfvEXT")) == NULL; - r = r || (glVertexWeightPointerEXT = (glVertexWeightPointerEXTPROC)glewGetProcAddress("glVertexWeightPointerEXT")) == NULL; + r = r || (glVertexWeightfEXT = (PFNGLVERTEXWEIGHTFEXTPROC)glewGetProcAddress("glVertexWeightfEXT")) == NULL; + r = r || (glVertexWeightfvEXT = (PFNGLVERTEXWEIGHTFVEXTPROC)glewGetProcAddress("glVertexWeightfvEXT")) == NULL; + r = r || (glVertexWeightPointerEXT = (PFNGLVERTEXWEIGHTPOINTEREXTPROC)glewGetProcAddress("glVertexWeightPointerEXT")) == NULL; return r; } #endif /* GL_EXT_vertex_weighting */ @@ -1096,20 +1111,20 @@ static GLboolean _glewInit_EXT_vertex_weighting () /* --------------------------- KTX_buffer_region -------------------------- */ #ifdef GL_KTX_buffer_region -glBufferRegionEnabledEXTPROC glBufferRegionEnabledEXT = NULL; -glNewBufferRegionEXTPROC glNewBufferRegionEXT = NULL; -glDeleteBufferRegionEXTPROC glDeleteBufferRegionEXT = NULL; -glReadBufferRegionEXTPROC glReadBufferRegionEXT = NULL; -glDrawBufferRegionEXTPROC glDrawBufferRegionEXT = NULL; +PFNGLBUFFERREGIONENABLEDEXTPROC glBufferRegionEnabledEXT = NULL; +PFNGLNEWBUFFERREGIONEXTPROC glNewBufferRegionEXT = NULL; +PFNGLDELETEBUFFERREGIONEXTPROC glDeleteBufferRegionEXT = NULL; +PFNGLREADBUFFERREGIONEXTPROC glReadBufferRegionEXT = NULL; +PFNGLDRAWBUFFERREGIONEXTPROC glDrawBufferRegionEXT = NULL; static GLboolean _glewInit_KTX_buffer_region () { GLboolean r = GL_FALSE; - r = r || (glBufferRegionEnabledEXT = (glBufferRegionEnabledEXTPROC)glewGetProcAddress("glBufferRegionEnabledKTX")) == NULL; - r = r || (glNewBufferRegionEXT = (glNewBufferRegionEXTPROC)glewGetProcAddress("glNewBufferRegionKTX")) == NULL; - r = r || (glDeleteBufferRegionEXT = (glDeleteBufferRegionEXTPROC)glewGetProcAddress("glDeleteBufferRegionKTX")) == NULL; - r = r || (glReadBufferRegionEXT = (glReadBufferRegionEXTPROC)glewGetProcAddress("glReadBufferRegionKTX")) == NULL; - r = r || (glDrawBufferRegionEXT = (glDrawBufferRegionEXTPROC)glewGetProcAddress("glDrawBufferRegionKTX")) == NULL; + r = r || (glBufferRegionEnabledEXT = (PFNGLBUFFERREGIONENABLEDEXTPROC)glewGetProcAddress("glBufferRegionEnabledKTX")) == NULL; + r = r || (glNewBufferRegionEXT = (PFNGLNEWBUFFERREGIONEXTPROC)glewGetProcAddress("glNewBufferRegionKTX")) == NULL; + r = r || (glDeleteBufferRegionEXT = (PFNGLDELETEBUFFERREGIONEXTPROC)glewGetProcAddress("glDeleteBufferRegionKTX")) == NULL; + r = r || (glReadBufferRegionEXT = (PFNGLREADBUFFERREGIONEXTPROC)glewGetProcAddress("glReadBufferRegionKTX")) == NULL; + r = r || (glDrawBufferRegionEXT = (PFNGLDRAWBUFFERREGIONEXTPROC)glewGetProcAddress("glDrawBufferRegionKTX")) == NULL; return r; } #endif /* GL_KTX_buffer_region */ @@ -1117,12 +1132,12 @@ static GLboolean _glewInit_KTX_buffer_region () /* ------------------------------ WIN_swap_hint --------------------------- */ #ifdef GL_WIN_swap_hint -glAddSwapHintRectWinPROC glAddSwapHintRectWin = NULL; +PFNGLADDSWAPHINTRECTWINPROC glAddSwapHintRectWin = NULL; static GLboolean _glewInit_WIN_swap_hint () { GLboolean r = GL_FALSE; - r = r || (glAddSwapHintRectWin = (glAddSwapHintRectWinPROC)glewGetProcAddress("glAddSwapHintRectWIN")) == NULL; + r = r || (glAddSwapHintRectWin = (PFNGLADDSWAPHINTRECTWINPROC)glewGetProcAddress("glAddSwapHintRectWIN")) == NULL; return r; } #endif /* GL_WIN_swap_hint */ @@ -1130,12 +1145,12 @@ static GLboolean _glewInit_WIN_swap_hint () /* ---------------------------- ATI_draw_buffers -------------------------- */ #ifdef GL_ATI_draw_buffers -glDrawBuffersATIPROC glDrawBuffersATI = NULL; +PFNGLDRAWBUFFERSATIPROC glDrawBuffersATI = NULL; static GLboolean _glewInit_ATI_draw_buffers () { GLboolean r = GL_FALSE; - r = r || (glDrawBuffersATI = (glDrawBuffersATIPROC)glewGetProcAddress("glDrawBuffersATI")) == NULL; + r = r || (glDrawBuffersATI = (PFNGLDRAWBUFFERSATIPROC)glewGetProcAddress("glDrawBuffersATI")) == NULL; return r; } #endif /* GL_ATI_draw_buffers */ @@ -1143,16 +1158,16 @@ static GLboolean _glewInit_ATI_draw_buffers () /* --------------------------- ATI_element_array -------------------------- */ #ifdef GL_ATI_element_array -glElementPointerATIPROC glElementPointerATI = NULL; -glDrawElementArrayATIPROC glDrawElementArrayATI = NULL; -glDrawRangeElementArrayATIPROC glDrawRangeElementArrayATI = NULL; +PFNGLELEMENTPOINTERATIPROC glElementPointerATI = NULL; +PFNGLDRAWELEMENTARRAYATIPROC glDrawElementArrayATI = NULL; +PFNGLDRAWRANGEELEMENTARRAYATIPROC glDrawRangeElementArrayATI = NULL; static GLboolean _glewInit_ATI_element_array () { GLboolean r = GL_FALSE; - r = r || (glElementPointerATI = (glElementPointerATIPROC)glewGetProcAddress("glElementPointerATI")) == NULL; - r = r || (glDrawElementArrayATI = (glDrawElementArrayATIPROC)glewGetProcAddress("glDrawElementArrayATI")) == NULL; - r = r || (glDrawRangeElementArrayATI = (glDrawRangeElementArrayATIPROC)glewGetProcAddress("glDrawRangeElementArrayATI")) == NULL; + r = r || (glElementPointerATI = (PFNGLELEMENTPOINTERATIPROC)glewGetProcAddress("glElementPointerATI")) == NULL; + r = r || (glDrawElementArrayATI = (PFNGLDRAWELEMENTARRAYATIPROC)glewGetProcAddress("glDrawElementArrayATI")) == NULL; + r = r || (glDrawRangeElementArrayATI = (PFNGLDRAWRANGEELEMENTARRAYATIPROC)glewGetProcAddress("glDrawRangeElementArrayATI")) == NULL; return r; } #endif /* GL_ATI_element_array */ @@ -1160,18 +1175,18 @@ static GLboolean _glewInit_ATI_element_array () /* -------------------------- ATI_envmap_bumpmap -------------------------- */ #ifdef GL_ATI_envmap_bumpmap -glTexBumpParameterivATIPROC glTexBumpParameterivATI = NULL; -glTexBumpParameterfvATIPROC glTexBumpParameterfvATI = NULL; -glGetTexBumpParameterivATIPROC glGetTexBumpParameterivATI = NULL; -glGetTexBumpParameterfvATIPROC glGetTexBumpParameterfvATI = NULL; +PFNGLTEXBUMPPARAMETERIVATIPROC glTexBumpParameterivATI = NULL; +PFNGLTEXBUMPPARAMETERFVATIPROC glTexBumpParameterfvATI = NULL; +PFNGLGETTEXBUMPPARAMETERIVATIPROC glGetTexBumpParameterivATI = NULL; +PFNGLGETTEXBUMPPARAMETERFVATIPROC glGetTexBumpParameterfvATI = NULL; static GLboolean _glewInit_ATI_envmap_bumpmap () { GLboolean r = GL_FALSE; - r = r || (glTexBumpParameterivATI = (glTexBumpParameterivATIPROC)glewGetProcAddress("glTexBumpParameterivATI")) == NULL; - r = r || (glTexBumpParameterfvATI = (glTexBumpParameterfvATIPROC)glewGetProcAddress("glTexBumpParameterfvATI")) == NULL; - r = r || (glGetTexBumpParameterivATI = (glGetTexBumpParameterivATIPROC)glewGetProcAddress("glGetTexBumpParameterivATI")) == NULL; - r = r || (glGetTexBumpParameterfvATI = (glGetTexBumpParameterfvATIPROC)glewGetProcAddress("glGetTexBumpParameterfvATI")) == NULL; + r = r || (glTexBumpParameterivATI = (PFNGLTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress("glTexBumpParameterivATI")) == NULL; + r = r || (glTexBumpParameterfvATI = (PFNGLTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress("glTexBumpParameterfvATI")) == NULL; + r = r || (glGetTexBumpParameterivATI = (PFNGLGETTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress("glGetTexBumpParameterivATI")) == NULL; + r = r || (glGetTexBumpParameterfvATI = (PFNGLGETTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress("glGetTexBumpParameterfvATI")) == NULL; return r; } #endif /* GL_ATI_envmap_bumpmap */ @@ -1179,38 +1194,38 @@ static GLboolean _glewInit_ATI_envmap_bumpmap () /* ------------------------- ATI_fragment_shader ------------------------- */ #ifdef GL_ATI_fragment_shader -glGenFragmentShadersATIPROC glGenFragmentShadersATI = NULL; -glBindFragmentShaderATIPROC glBindFragmentShaderATI = NULL; -glDeleteFragmentShaderATIPROC glDeleteFragmentShaderATI = NULL; -glBeginFragmentShaderATIPROC glBeginFragmentShaderATI = NULL; -glEndFragmentShaderATIPROC glEndFragmentShaderATI = NULL; -glPassTexCoordATIPROC glPassTexCoordATI = NULL; -glSampleMapATIPROC glSampleMapATI = NULL; -glColorFragmentOp1ATIPROC glColorFragmentOp1ATI = NULL; -glColorFragmentOp2ATIPROC glColorFragmentOp2ATI = NULL; -glColorFragmentOp3ATIPROC glColorFragmentOp3ATI = NULL; -glAlphaFragmentOp1ATIPROC glAlphaFragmentOp1ATI = NULL; -glAlphaFragmentOp2ATIPROC glAlphaFragmentOp2ATI = NULL; -glAlphaFragmentOp3ATIPROC glAlphaFragmentOp3ATI = NULL; -glSetFragmentShaderConstantATIPROC glSetFragmentShaderConstantATI = NULL; +PFNGLGENFRAGMENTSHADERSATIPROC glGenFragmentShadersATI = NULL; +PFNGLBINDFRAGMENTSHADERATIPROC glBindFragmentShaderATI = NULL; +PFNGLDELETEFRAGMENTSHADERATIPROC glDeleteFragmentShaderATI = NULL; +PFNGLBEGINFRAGMENTSHADERATIPROC glBeginFragmentShaderATI = NULL; +PFNGLENDFRAGMENTSHADERATIPROC glEndFragmentShaderATI = NULL; +PFNGLPASSTEXCOORDATIPROC glPassTexCoordATI = NULL; +PFNGLSAMPLEMAPATIPROC glSampleMapATI = NULL; +PFNGLCOLORFRAGMENTOP1ATIPROC glColorFragmentOp1ATI = NULL; +PFNGLCOLORFRAGMENTOP2ATIPROC glColorFragmentOp2ATI = NULL; +PFNGLCOLORFRAGMENTOP3ATIPROC glColorFragmentOp3ATI = NULL; +PFNGLALPHAFRAGMENTOP1ATIPROC glAlphaFragmentOp1ATI = NULL; +PFNGLALPHAFRAGMENTOP2ATIPROC glAlphaFragmentOp2ATI = NULL; +PFNGLALPHAFRAGMENTOP3ATIPROC glAlphaFragmentOp3ATI = NULL; +PFNGLSETFRAGMENTSHADERCONSTANTATIPROC glSetFragmentShaderConstantATI = NULL; static GLboolean _glewInit_ATI_fragment_shader () { GLboolean r = GL_FALSE; - r = r || (glGenFragmentShadersATI = (glGenFragmentShadersATIPROC)glewGetProcAddress("glGenFragmentShadersATI")) == NULL; - r = r || (glBindFragmentShaderATI = (glBindFragmentShaderATIPROC)glewGetProcAddress("glBindFragmentShaderATI")) == NULL; - r = r || (glDeleteFragmentShaderATI = (glDeleteFragmentShaderATIPROC)glewGetProcAddress("glDeleteFragmentShaderATI")) == NULL; - r = r || (glBeginFragmentShaderATI = (glBeginFragmentShaderATIPROC)glewGetProcAddress("glBeginFragmentShaderATI")) == NULL; - r = r || (glEndFragmentShaderATI = (glEndFragmentShaderATIPROC)glewGetProcAddress("glEndFragmentShaderATI")) == NULL; - r = r || (glPassTexCoordATI = (glPassTexCoordATIPROC)glewGetProcAddress("glPassTexCoordATI")) == NULL; - r = r || (glSampleMapATI = (glSampleMapATIPROC)glewGetProcAddress("glSampleMapATI")) == NULL; - r = r || (glColorFragmentOp1ATI = (glColorFragmentOp1ATIPROC)glewGetProcAddress("glColorFragmentOp1ATI")) == NULL; - r = r || (glColorFragmentOp2ATI = (glColorFragmentOp2ATIPROC)glewGetProcAddress("glColorFragmentOp2ATI")) == NULL; - r = r || (glColorFragmentOp3ATI = (glColorFragmentOp3ATIPROC)glewGetProcAddress("glColorFragmentOp3ATI")) == NULL; - r = r || (glAlphaFragmentOp1ATI = (glAlphaFragmentOp1ATIPROC)glewGetProcAddress("glAlphaFragmentOp1ATI")) == NULL; - r = r || (glAlphaFragmentOp2ATI = (glAlphaFragmentOp2ATIPROC)glewGetProcAddress("glAlphaFragmentOp2ATI")) == NULL; - r = r || (glAlphaFragmentOp3ATI = (glAlphaFragmentOp3ATIPROC)glewGetProcAddress("glAlphaFragmentOp3ATI")) == NULL; - r = r || (glSetFragmentShaderConstantATI = (glSetFragmentShaderConstantATIPROC)glewGetProcAddress("glSetFragmentShaderConstantATI")) == NULL; + r = r || (glGenFragmentShadersATI = (PFNGLGENFRAGMENTSHADERSATIPROC)glewGetProcAddress("glGenFragmentShadersATI")) == NULL; + r = r || (glBindFragmentShaderATI = (PFNGLBINDFRAGMENTSHADERATIPROC)glewGetProcAddress("glBindFragmentShaderATI")) == NULL; + r = r || (glDeleteFragmentShaderATI = (PFNGLDELETEFRAGMENTSHADERATIPROC)glewGetProcAddress("glDeleteFragmentShaderATI")) == NULL; + r = r || (glBeginFragmentShaderATI = (PFNGLBEGINFRAGMENTSHADERATIPROC)glewGetProcAddress("glBeginFragmentShaderATI")) == NULL; + r = r || (glEndFragmentShaderATI = (PFNGLENDFRAGMENTSHADERATIPROC)glewGetProcAddress("glEndFragmentShaderATI")) == NULL; + r = r || (glPassTexCoordATI = (PFNGLPASSTEXCOORDATIPROC)glewGetProcAddress("glPassTexCoordATI")) == NULL; + r = r || (glSampleMapATI = (PFNGLSAMPLEMAPATIPROC)glewGetProcAddress("glSampleMapATI")) == NULL; + r = r || (glColorFragmentOp1ATI = (PFNGLCOLORFRAGMENTOP1ATIPROC)glewGetProcAddress("glColorFragmentOp1ATI")) == NULL; + r = r || (glColorFragmentOp2ATI = (PFNGLCOLORFRAGMENTOP2ATIPROC)glewGetProcAddress("glColorFragmentOp2ATI")) == NULL; + r = r || (glColorFragmentOp3ATI = (PFNGLCOLORFRAGMENTOP3ATIPROC)glewGetProcAddress("glColorFragmentOp3ATI")) == NULL; + r = r || (glAlphaFragmentOp1ATI = (PFNGLALPHAFRAGMENTOP1ATIPROC)glewGetProcAddress("glAlphaFragmentOp1ATI")) == NULL; + r = r || (glAlphaFragmentOp2ATI = (PFNGLALPHAFRAGMENTOP2ATIPROC)glewGetProcAddress("glAlphaFragmentOp2ATI")) == NULL; + r = r || (glAlphaFragmentOp3ATI = (PFNGLALPHAFRAGMENTOP3ATIPROC)glewGetProcAddress("glAlphaFragmentOp3ATI")) == NULL; + r = r || (glSetFragmentShaderConstantATI = (PFNGLSETFRAGMENTSHADERCONSTANTATIPROC)glewGetProcAddress("glSetFragmentShaderConstantATI")) == NULL; return r; } #endif /* GL_ATI_fragment_shader */ @@ -1218,14 +1233,14 @@ static GLboolean _glewInit_ATI_fragment_shader () /* ------------------------- ATI_map_object_buffer ------------------------ */ #ifdef GL_ATI_map_object_buffer -glMapObjectBufferATIPROC glMapObjectBufferATI = NULL; -glUnmapObjectBufferATIPROC glUnmapObjectBufferATI = NULL; +PFNGLMAPOBJECTBUFFERATIPROC glMapObjectBufferATI = NULL; +PFNGLUNMAPOBJECTBUFFERATIPROC glUnmapObjectBufferATI = NULL; static GLboolean _glewInit_ATI_map_object_buffer () { GLboolean r = GL_FALSE; - r = r || (glMapObjectBufferATI = (glMapObjectBufferATIPROC)glewGetProcAddress("glMapObjectBufferATI")) == NULL; - r = r || (glUnmapObjectBufferATI = (glUnmapObjectBufferATIPROC)glewGetProcAddress("glUnmapObjectBufferATI")) == NULL; + r = r || (glMapObjectBufferATI = (PFNGLMAPOBJECTBUFFERATIPROC)glewGetProcAddress("glMapObjectBufferATI")) == NULL; + r = r || (glUnmapObjectBufferATI = (PFNGLUNMAPOBJECTBUFFERATIPROC)glewGetProcAddress("glUnmapObjectBufferATI")) == NULL; return r; } #endif /* GL_ATI_map_object_buffer */ @@ -1233,14 +1248,14 @@ static GLboolean _glewInit_ATI_map_object_buffer () /* --------------------------- ATI_mapped_texture ------------------------- */ #ifdef GL_ATI_mapped_texture -glMapTexture3DPROC glMapTexture3D; -glUnmapTexture3DPROC glUnmapTexture3D; +PFNGLMAPTEXTURE3DPROC glMapTexture3D; +PFNGLUNMAPTEXTURE3DPROC glUnmapTexture3D; static GLboolean _glewInit_ATI_mapped_texture () { GLboolean r = GL_FALSE; - r = r || (glMapTexture3D = (glMapTexture3DPROC)glewGetProcAddress("glMapTexture3D")) == NULL; - r = r || (glUnmapTexture3D = (glUnmapTexture3DPROC)glewGetProcAddress("glUnmapTexture3D")) == NULL; + r = r || (glMapTexture3D = (PFNGLMAPTEXTURE3DPROC)glewGetProcAddress("glMapTexture3D")) == NULL; + r = r || (glUnmapTexture3D = (PFNGLUNMAPTEXTURE3DPROC)glewGetProcAddress("glUnmapTexture3D")) == NULL; return r; } #endif /* GL_ATI_mapped_texture */ @@ -1248,14 +1263,14 @@ static GLboolean _glewInit_ATI_mapped_texture () /* --------------------------- ATI_pn_triangles --------------------------- */ #ifdef GL_ATI_pn_triangles -glPNTrianglesiATIPROC glPNTrianglesiATI = NULL; -glPNTrianglesfATIPROC glPNTrianglesfATI = NULL; +PFNGLPNTRIANGLESIATIPROC glPNTrianglesiATI = NULL; +PFNGLPNTRIANGLESFATIPROC glPNTrianglesfATI = NULL; static GLboolean _glewInit_ATI_pn_triangles () { GLboolean r = GL_FALSE; - r = r || (glPNTrianglesiATI = (glPNTrianglesiATIPROC)glewGetProcAddress("glPNTrianglesiATI")) == NULL; - r = r || (glPNTrianglesfATI = (glPNTrianglesfATIPROC)glewGetProcAddress("glPNTrianglesfATI")) == NULL; + r = r || (glPNTrianglesiATI = (PFNGLPNTRIANGLESIATIPROC)glewGetProcAddress("glPNTrianglesiATI")) == NULL; + r = r || (glPNTrianglesfATI = (PFNGLPNTRIANGLESFATIPROC)glewGetProcAddress("glPNTrianglesfATI")) == NULL; return r; } #endif /* GL_ATI_pn_triangles */ @@ -1263,14 +1278,14 @@ static GLboolean _glewInit_ATI_pn_triangles () /* -------------------------- ATI_separate_stencil ------------------------ */ #ifdef GL_ATI_separate_stencil -glStencilOpSeparateATIPROC glStencilOpSeparateATI = NULL; -glStencilFuncSeparateATIPROC glStencilFuncSeparateATI = NULL; +PFNGLSTENCILOPSEPARATEATIPROC glStencilOpSeparateATI = NULL; +PFNGLSTENCILFUNCSEPARATEATIPROC glStencilFuncSeparateATI = NULL; static GLboolean _glewInit_ATI_separate_stencil () { GLboolean r = GL_FALSE; - r = r || (glStencilOpSeparateATI = (glStencilOpSeparateATIPROC)glewGetProcAddress("glStencilOpSeparateATI")) == NULL; - r = r || (glStencilFuncSeparateATI = (glStencilFuncSeparateATIPROC)glewGetProcAddress("glStencilFuncSeparateATI")) == NULL; + r = r || (glStencilOpSeparateATI = (PFNGLSTENCILOPSEPARATEATIPROC)glewGetProcAddress("glStencilOpSeparateATI")) == NULL; + r = r || (glStencilFuncSeparateATI = (PFNGLSTENCILFUNCSEPARATEATIPROC)glewGetProcAddress("glStencilFuncSeparateATI")) == NULL; return r; } #endif /* GL_ATI_separate_stencil */ @@ -1278,18 +1293,18 @@ static GLboolean _glewInit_ATI_separate_stencil () /* ----------------------------- ATI_timestamp ---------------------------- */ #ifdef GL_ATI_timestamp -glNewTimeStampPROC glNewTimeStamp = NULL; -glDeleteTimeStampPROC glDeleteTimeStamp = NULL; -glSendTimeStampPROC glSendTimeStamp = NULL; -glWaitTimeStampPROC glWaitTimeStamp = NULL; +PFNGLNEWTIMESTAMPPROC glNewTimeStamp = NULL; +PFNGLDELETETIMESTAMPPROC glDeleteTimeStamp = NULL; +PFNGLSENDTIMESTAMPPROC glSendTimeStamp = NULL; +PFNGLWAITTIMESTAMPPROC glWaitTimeStamp = NULL; static GLboolean _glewInit_ATI_timestamp () { GLboolean r = GL_FALSE; - r = r || (glNewTimeStamp = (glNewTimeStampPROC) glewGetProcAddress("glNewTimeStamp")) == NULL; - r = r || (glDeleteTimeStamp = (glDeleteTimeStampPROC)glewGetProcAddress("glDeleteTimeStamp")) == NULL; - r = r || (glSendTimeStamp = (glSendTimeStampPROC)glewGetProcAddress("glSendTimeStamp")) == NULL; - r = r || (glWaitTimeStamp = (glWaitTimeStampPROC)glewGetProcAddress("glWaitTimeStamp")) == NULL; + r = r || (glNewTimeStamp = (PFNGLNEWTIMESTAMPPROC) glewGetProcAddress("glNewTimeStamp")) == NULL; + r = r || (glDeleteTimeStamp = (PFNGLDELETETIMESTAMPPROC)glewGetProcAddress("glDeleteTimeStamp")) == NULL; + r = r || (glSendTimeStamp = (PFNGLSENDTIMESTAMPPROC)glewGetProcAddress("glSendTimeStamp")) == NULL; + r = r || (glWaitTimeStamp = (PFNGLWAITTIMESTAMPPROC)glewGetProcAddress("glWaitTimeStamp")) == NULL; return r; } #endif /* GL_ATI_timestamp */ @@ -1297,34 +1312,34 @@ static GLboolean _glewInit_ATI_timestamp () /* ------------------------ ATI_vertex_array_object ----------------------- */ #ifdef GL_ATI_vertex_array_object -glNewObjectBufferATIPROC glNewObjectBufferATI = NULL; -glIsObjectBufferATIPROC glIsObjectBufferATI = NULL; -glUpdateObjectBufferATIPROC glUpdateObjectBufferATI = NULL; -glGetObjectBufferfvATIPROC glGetObjectBufferfvATI = NULL; -glGetObjectBufferivATIPROC glGetObjectBufferivATI = NULL; -glFreeObjectBufferATIPROC glFreeObjectBufferATI = NULL; -glArrayObjectATIPROC glArrayObjectATI = NULL; -glGetArrayObjectfvATIPROC glGetArrayObjectfvATI = NULL; -glGetArrayObjectivATIPROC glGetArrayObjectivATI = NULL; -glVariantArrayObjectATIPROC glVariantArrayObjectATI = NULL; -glGetVariantArrayObjectfvATIPROC glGetVariantArrayObjectfvATI = NULL; -glGetVariantArrayObjectivATIPROC glGetVariantArrayObjectivATI = NULL; +PFNGLNEWOBJECTBUFFERATIPROC glNewObjectBufferATI = NULL; +PFNGLISOBJECTBUFFERATIPROC glIsObjectBufferATI = NULL; +PFNGLUPDATEOBJECTBUFFERATIPROC glUpdateObjectBufferATI = NULL; +PFNGLGETOBJECTBUFFERFVATIPROC glGetObjectBufferfvATI = NULL; +PFNGLGETOBJECTBUFFERIVATIPROC glGetObjectBufferivATI = NULL; +PFNGLFREEOBJECTBUFFERATIPROC glFreeObjectBufferATI = NULL; +PFNGLARRAYOBJECTATIPROC glArrayObjectATI = NULL; +PFNGLGETARRAYOBJECTFVATIPROC glGetArrayObjectfvATI = NULL; +PFNGLGETARRAYOBJECTIVATIPROC glGetArrayObjectivATI = NULL; +PFNGLVARIANTARRAYOBJECTATIPROC glVariantArrayObjectATI = NULL; +PFNGLGETVARIANTARRAYOBJECTFVATIPROC glGetVariantArrayObjectfvATI = NULL; +PFNGLGETVARIANTARRAYOBJECTIVATIPROC glGetVariantArrayObjectivATI = NULL; static GLboolean _glewInit_ATI_vertex_array_object () { GLboolean r = GL_FALSE; - r = r || (glNewObjectBufferATI = (glNewObjectBufferATIPROC)glewGetProcAddress("glNewObjectBufferATI")) == NULL; - r = r || (glIsObjectBufferATI = (glIsObjectBufferATIPROC)glewGetProcAddress("glIsObjectBufferATI")) == NULL; - r = r || (glUpdateObjectBufferATI = (glUpdateObjectBufferATIPROC)glewGetProcAddress("glUpdateObjectBufferATI")) == NULL; - r = r || (glGetObjectBufferfvATI = (glGetObjectBufferfvATIPROC)glewGetProcAddress("glGetObjectBufferfvATI")) == NULL; - r = r || (glGetObjectBufferivATI = (glGetObjectBufferivATIPROC)glewGetProcAddress("glGetObjectBufferivATI")) == NULL; - r = r || (glFreeObjectBufferATI = (glFreeObjectBufferATIPROC)glewGetProcAddress("glFreeObjectBufferATI")) == NULL; - r = r || (glArrayObjectATI = (glArrayObjectATIPROC)glewGetProcAddress("glArrayObjectATI")) == NULL; - r = r || (glGetArrayObjectfvATI = (glGetArrayObjectfvATIPROC)glewGetProcAddress("glGetArrayObjectfvATI")) == NULL; - r = r || (glGetArrayObjectivATI = (glGetArrayObjectivATIPROC)glewGetProcAddress("glGetArrayObjectivATI")) == NULL; - r = r || (glVariantArrayObjectATI = (glVariantArrayObjectATIPROC)glewGetProcAddress("glVariantArrayObjectATI")) == NULL; - r = r || (glGetVariantArrayObjectfvATI = (glGetVariantArrayObjectfvATIPROC)glewGetProcAddress("glGetVariantArrayObjectfvATI")) == NULL; - r = r || (glGetVariantArrayObjectivATI = (glGetVariantArrayObjectivATIPROC)glewGetProcAddress("glGetVariantArrayObjectivATI")) == NULL; + r = r || (glNewObjectBufferATI = (PFNGLNEWOBJECTBUFFERATIPROC)glewGetProcAddress("glNewObjectBufferATI")) == NULL; + r = r || (glIsObjectBufferATI = (PFNGLISOBJECTBUFFERATIPROC)glewGetProcAddress("glIsObjectBufferATI")) == NULL; + r = r || (glUpdateObjectBufferATI = (PFNGLUPDATEOBJECTBUFFERATIPROC)glewGetProcAddress("glUpdateObjectBufferATI")) == NULL; + r = r || (glGetObjectBufferfvATI = (PFNGLGETOBJECTBUFFERFVATIPROC)glewGetProcAddress("glGetObjectBufferfvATI")) == NULL; + r = r || (glGetObjectBufferivATI = (PFNGLGETOBJECTBUFFERIVATIPROC)glewGetProcAddress("glGetObjectBufferivATI")) == NULL; + r = r || (glFreeObjectBufferATI = (PFNGLFREEOBJECTBUFFERATIPROC)glewGetProcAddress("glFreeObjectBufferATI")) == NULL; + r = r || (glArrayObjectATI = (PFNGLARRAYOBJECTATIPROC)glewGetProcAddress("glArrayObjectATI")) == NULL; + r = r || (glGetArrayObjectfvATI = (PFNGLGETARRAYOBJECTFVATIPROC)glewGetProcAddress("glGetArrayObjectfvATI")) == NULL; + r = r || (glGetArrayObjectivATI = (PFNGLGETARRAYOBJECTIVATIPROC)glewGetProcAddress("glGetArrayObjectivATI")) == NULL; + r = r || (glVariantArrayObjectATI = (PFNGLVARIANTARRAYOBJECTATIPROC)glewGetProcAddress("glVariantArrayObjectATI")) == NULL; + r = r || (glGetVariantArrayObjectfvATI = (PFNGLGETVARIANTARRAYOBJECTFVATIPROC)glewGetProcAddress("glGetVariantArrayObjectfvATI")) == NULL; + r = r || (glGetVariantArrayObjectivATI = (PFNGLGETVARIANTARRAYOBJECTIVATIPROC)glewGetProcAddress("glGetVariantArrayObjectivATI")) == NULL; return r; } #endif /* GL_ATI_vertex_array_object */ @@ -1332,16 +1347,16 @@ static GLboolean _glewInit_ATI_vertex_array_object () /* -------------------- ATI_vertex_attrib_array_object -------------------- */ #ifdef GL_ATI_vertex_attrib_array_object -glVertexAttribArrayObjectATIPROC glVertexAttribArrayObjectATI = NULL; -glGetVertexAttribArrayObjectfvATIPROC glGetVertexAttribArrayObjectfvATI = NULL; -glGetVertexAttribArrayObjectivATIPROC glGetVertexAttribArrayObjectivATI = NULL; +PFNGLVERTEXATTRIBARRAYOBJECTATIPROC glVertexAttribArrayObjectATI = NULL; +PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC glGetVertexAttribArrayObjectfvATI = NULL; +PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC glGetVertexAttribArrayObjectivATI = NULL; static GLboolean _glewInit_ATI_vertex_attrib_array_object () { GLboolean r = GL_FALSE; - r = r || (glVertexAttribArrayObjectATI = (glVertexAttribArrayObjectATIPROC) glewGetProcAddress("glVertexAttribArrayObjectATI")) == NULL; - r = r || (glGetVertexAttribArrayObjectfvATI = (glGetVertexAttribArrayObjectfvATIPROC) glewGetProcAddress("glGetVertexAttribArrayObjectfvATI")) == NULL; - r = r || (glGetVertexAttribArrayObjectivATI = (glGetVertexAttribArrayObjectivATIPROC) glewGetProcAddress("glGetVertexAttribArrayObjectivATI")) == NULL; + r = r || (glVertexAttribArrayObjectATI = (PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) glewGetProcAddress("glVertexAttribArrayObjectATI")) == NULL; + r = r || (glGetVertexAttribArrayObjectfvATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) glewGetProcAddress("glGetVertexAttribArrayObjectfvATI")) == NULL; + r = r || (glGetVertexAttribArrayObjectivATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) glewGetProcAddress("glGetVertexAttribArrayObjectivATI")) == NULL; return r; } #endif /* GL_ATI_vertex_attrib_array_object */ @@ -1349,84 +1364,84 @@ static GLboolean _glewInit_ATI_vertex_attrib_array_object () /* -------------------------- ATI_vertex_streams -------------------------- */ #ifdef GL_ATI_vertex_streams -glClientActiveVertexStreamATIPROC glClientActiveVertexStreamATI = NULL; -glVertexBlendEnviATIPROC glVertexBlendEnviATI = NULL; -glVertexBlendEnvfATIPROC glVertexBlendEnvfATI = NULL; -glVertexStream2sATIPROC glVertexStream2sATI = NULL; -glVertexStream2svATIPROC glVertexStream2svATI = NULL; -glVertexStream2iATIPROC glVertexStream2iATI = NULL; -glVertexStream2ivATIPROC glVertexStream2ivATI = NULL; -glVertexStream2fATIPROC glVertexStream2fATI = NULL; -glVertexStream2fvATIPROC glVertexStream2fvATI = NULL; -glVertexStream2dATIPROC glVertexStream2dATI = NULL; -glVertexStream2dvATIPROC glVertexStream2dvATI = NULL; -glVertexStream3sATIPROC glVertexStream3sATI = NULL; -glVertexStream3svATIPROC glVertexStream3svATI = NULL; -glVertexStream3iATIPROC glVertexStream3iATI = NULL; -glVertexStream3ivATIPROC glVertexStream3ivATI = NULL; -glVertexStream3fATIPROC glVertexStream3fATI = NULL; -glVertexStream3fvATIPROC glVertexStream3fvATI = NULL; -glVertexStream3dATIPROC glVertexStream3dATI = NULL; -glVertexStream3dvATIPROC glVertexStream3dvATI = NULL; -glVertexStream4sATIPROC glVertexStream4sATI = NULL; -glVertexStream4svATIPROC glVertexStream4svATI = NULL; -glVertexStream4iATIPROC glVertexStream4iATI = NULL; -glVertexStream4ivATIPROC glVertexStream4ivATI = NULL; -glVertexStream4fATIPROC glVertexStream4fATI = NULL; -glVertexStream4fvATIPROC glVertexStream4fvATI = NULL; -glVertexStream4dATIPROC glVertexStream4dATI = NULL; -glVertexStream4dvATIPROC glVertexStream4dvATI = NULL; -glNormalStream3bATIPROC glNormalStream3bATI = NULL; -glNormalStream3bvATIPROC glNormalStream3bvATI = NULL; -glNormalStream3sATIPROC glNormalStream3sATI = NULL; -glNormalStream3svATIPROC glNormalStream3svATI = NULL; -glNormalStream3iATIPROC glNormalStream3iATI = NULL; -glNormalStream3ivATIPROC glNormalStream3ivATI = NULL; -glNormalStream3fATIPROC glNormalStream3fATI = NULL; -glNormalStream3fvATIPROC glNormalStream3fvATI = NULL; -glNormalStream3dATIPROC glNormalStream3dATI = NULL; -glNormalStream3dvATIPROC glNormalStream3dvATI = NULL; +PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC glClientActiveVertexStreamATI = NULL; +PFNGLVERTEXBLENDENVIATIPROC glVertexBlendEnviATI = NULL; +PFNGLVERTEXBLENDENVFATIPROC glVertexBlendEnvfATI = NULL; +PFNGLVERTEXSTREAM2SATIPROC glVertexStream2sATI = NULL; +PFNGLVERTEXSTREAM2SVATIPROC glVertexStream2svATI = NULL; +PFNGLVERTEXSTREAM2IATIPROC glVertexStream2iATI = NULL; +PFNGLVERTEXSTREAM2IVATIPROC glVertexStream2ivATI = NULL; +PFNGLVERTEXSTREAM2FATIPROC glVertexStream2fATI = NULL; +PFNGLVERTEXSTREAM2FVATIPROC glVertexStream2fvATI = NULL; +PFNGLVERTEXSTREAM2DATIPROC glVertexStream2dATI = NULL; +PFNGLVERTEXSTREAM2DVATIPROC glVertexStream2dvATI = NULL; +PFNGLVERTEXSTREAM3SATIPROC glVertexStream3sATI = NULL; +PFNGLVERTEXSTREAM3SVATIPROC glVertexStream3svATI = NULL; +PFNGLVERTEXSTREAM3IATIPROC glVertexStream3iATI = NULL; +PFNGLVERTEXSTREAM3IVATIPROC glVertexStream3ivATI = NULL; +PFNGLVERTEXSTREAM3FATIPROC glVertexStream3fATI = NULL; +PFNGLVERTEXSTREAM3FVATIPROC glVertexStream3fvATI = NULL; +PFNGLVERTEXSTREAM3DATIPROC glVertexStream3dATI = NULL; +PFNGLVERTEXSTREAM3DVATIPROC glVertexStream3dvATI = NULL; +PFNGLVERTEXSTREAM4SATIPROC glVertexStream4sATI = NULL; +PFNGLVERTEXSTREAM4SVATIPROC glVertexStream4svATI = NULL; +PFNGLVERTEXSTREAM4IATIPROC glVertexStream4iATI = NULL; +PFNGLVERTEXSTREAM4IVATIPROC glVertexStream4ivATI = NULL; +PFNGLVERTEXSTREAM4FATIPROC glVertexStream4fATI = NULL; +PFNGLVERTEXSTREAM4FVATIPROC glVertexStream4fvATI = NULL; +PFNGLVERTEXSTREAM4DATIPROC glVertexStream4dATI = NULL; +PFNGLVERTEXSTREAM4DVATIPROC glVertexStream4dvATI = NULL; +PFNGLNORMALSTREAM3BATIPROC glNormalStream3bATI = NULL; +PFNGLNORMALSTREAM3BVATIPROC glNormalStream3bvATI = NULL; +PFNGLNORMALSTREAM3SATIPROC glNormalStream3sATI = NULL; +PFNGLNORMALSTREAM3SVATIPROC glNormalStream3svATI = NULL; +PFNGLNORMALSTREAM3IATIPROC glNormalStream3iATI = NULL; +PFNGLNORMALSTREAM3IVATIPROC glNormalStream3ivATI = NULL; +PFNGLNORMALSTREAM3FATIPROC glNormalStream3fATI = NULL; +PFNGLNORMALSTREAM3FVATIPROC glNormalStream3fvATI = NULL; +PFNGLNORMALSTREAM3DATIPROC glNormalStream3dATI = NULL; +PFNGLNORMALSTREAM3DVATIPROC glNormalStream3dvATI = NULL; static GLboolean _glewInit_ATI_vertex_streams () { GLboolean r = GL_FALSE; - glClientActiveVertexStreamATI = (glClientActiveVertexStreamATIPROC)glewGetProcAddress("glClientActiveVertexStreamATI"); - r = r || (glVertexBlendEnviATI = (glVertexBlendEnviATIPROC)glewGetProcAddress("glVertexBlendEnviATI")) == NULL; - r = r || (glVertexBlendEnvfATI = (glVertexBlendEnvfATIPROC)glewGetProcAddress("glVertexBlendEnvfATI")) == NULL; - r = r || (glVertexStream2sATI = (glVertexStream2sATIPROC)glewGetProcAddress("glVertexStream2sATI")) == NULL; - r = r || (glVertexStream2svATI = (glVertexStream2svATIPROC)glewGetProcAddress("glVertexStream2svATI")) == NULL; - r = r || (glVertexStream2iATI = (glVertexStream2iATIPROC)glewGetProcAddress("glVertexStream2iATI")) == NULL; - r = r || (glVertexStream2ivATI = (glVertexStream2ivATIPROC)glewGetProcAddress("glVertexStream2ivATI")) == NULL; - r = r || (glVertexStream2fATI = (glVertexStream2fATIPROC)glewGetProcAddress("glVertexStream2fATI")) == NULL; - r = r || (glVertexStream2fvATI = (glVertexStream2fvATIPROC)glewGetProcAddress("glVertexStream2fvATI")) == NULL; - r = r || (glVertexStream2dATI = (glVertexStream2dATIPROC)glewGetProcAddress("glVertexStream2dATI")) == NULL; - r = r || (glVertexStream2dvATI = (glVertexStream2dvATIPROC)glewGetProcAddress("glVertexStream2dvATI")) == NULL; - r = r || (glVertexStream3sATI = (glVertexStream3sATIPROC)glewGetProcAddress("glVertexStream3sATI")) == NULL; - r = r || (glVertexStream3svATI = (glVertexStream3svATIPROC)glewGetProcAddress("glVertexStream3svATI")) == NULL; - r = r || (glVertexStream3iATI = (glVertexStream3iATIPROC)glewGetProcAddress("glVertexStream3iATI")) == NULL; - r = r || (glVertexStream3ivATI = (glVertexStream3ivATIPROC)glewGetProcAddress("glVertexStream3ivATI")) == NULL; - r = r || (glVertexStream3fATI = (glVertexStream3fATIPROC)glewGetProcAddress("glVertexStream3fATI")) == NULL; - r = r || (glVertexStream3fvATI = (glVertexStream3fvATIPROC)glewGetProcAddress("glVertexStream3fvATI")) == NULL; - r = r || (glVertexStream3dATI = (glVertexStream3dATIPROC)glewGetProcAddress("glVertexStream3dATI")) == NULL; - r = r || (glVertexStream3dvATI = (glVertexStream3dvATIPROC)glewGetProcAddress("glVertexStream3dvATI")) == NULL; - r = r || (glVertexStream4sATI = (glVertexStream4sATIPROC)glewGetProcAddress("glVertexStream4sATI")) == NULL; - r = r || (glVertexStream4svATI = (glVertexStream4svATIPROC)glewGetProcAddress("glVertexStream4svATI")) == NULL; - r = r || (glVertexStream4iATI = (glVertexStream4iATIPROC)glewGetProcAddress("glVertexStream4iATI")) == NULL; - r = r || (glVertexStream4ivATI = (glVertexStream4ivATIPROC)glewGetProcAddress("glVertexStream4ivATI")) == NULL; - r = r || (glVertexStream4fATI = (glVertexStream4fATIPROC)glewGetProcAddress("glVertexStream4fATI")) == NULL; - r = r || (glVertexStream4fvATI = (glVertexStream4fvATIPROC)glewGetProcAddress("glVertexStream4fvATI")) == NULL; - r = r || (glVertexStream4dATI = (glVertexStream4dATIPROC)glewGetProcAddress("glVertexStream4dATI")) == NULL; - r = r || (glVertexStream4dvATI = (glVertexStream4dvATIPROC)glewGetProcAddress("glVertexStream4dvATI")) == NULL; - r = r || (glNormalStream3bATI = (glNormalStream3bATIPROC)glewGetProcAddress("glNormalStream3bATI")) == NULL; - r = r || (glNormalStream3bvATI = (glNormalStream3bvATIPROC)glewGetProcAddress("glNormalStream3bvATI")) == NULL; - r = r || (glNormalStream3sATI = (glNormalStream3sATIPROC)glewGetProcAddress("glNormalStream3sATI")) == NULL; - r = r || (glNormalStream3svATI = (glNormalStream3svATIPROC)glewGetProcAddress("glNormalStream3svATI")) == NULL; - r = r || (glNormalStream3iATI = (glNormalStream3iATIPROC)glewGetProcAddress("glNormalStream3iATI")) == NULL; - r = r || (glNormalStream3ivATI = (glNormalStream3ivATIPROC)glewGetProcAddress("glNormalStream3ivATI")) == NULL; - r = r || (glNormalStream3fATI = (glNormalStream3fATIPROC)glewGetProcAddress("glNormalStream3fATI")) == NULL; - r = r || (glNormalStream3fvATI = (glNormalStream3fvATIPROC)glewGetProcAddress("glNormalStream3fvATI")) == NULL; - r = r || (glNormalStream3dATI = (glNormalStream3dATIPROC)glewGetProcAddress("glNormalStream3dATI")) == NULL; - r = r || (glNormalStream3dvATI = (glNormalStream3dvATIPROC)glewGetProcAddress("glNormalStream3dvATI")) == NULL; + glClientActiveVertexStreamATI = (PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC)glewGetProcAddress("glClientActiveVertexStreamATI"); + r = r || (glVertexBlendEnviATI = (PFNGLVERTEXBLENDENVIATIPROC)glewGetProcAddress("glVertexBlendEnviATI")) == NULL; + r = r || (glVertexBlendEnvfATI = (PFNGLVERTEXBLENDENVFATIPROC)glewGetProcAddress("glVertexBlendEnvfATI")) == NULL; + r = r || (glVertexStream2sATI = (PFNGLVERTEXSTREAM2SATIPROC)glewGetProcAddress("glVertexStream2sATI")) == NULL; + r = r || (glVertexStream2svATI = (PFNGLVERTEXSTREAM2SVATIPROC)glewGetProcAddress("glVertexStream2svATI")) == NULL; + r = r || (glVertexStream2iATI = (PFNGLVERTEXSTREAM2IATIPROC)glewGetProcAddress("glVertexStream2iATI")) == NULL; + r = r || (glVertexStream2ivATI = (PFNGLVERTEXSTREAM2IVATIPROC)glewGetProcAddress("glVertexStream2ivATI")) == NULL; + r = r || (glVertexStream2fATI = (PFNGLVERTEXSTREAM2FATIPROC)glewGetProcAddress("glVertexStream2fATI")) == NULL; + r = r || (glVertexStream2fvATI = (PFNGLVERTEXSTREAM2FVATIPROC)glewGetProcAddress("glVertexStream2fvATI")) == NULL; + r = r || (glVertexStream2dATI = (PFNGLVERTEXSTREAM2DATIPROC)glewGetProcAddress("glVertexStream2dATI")) == NULL; + r = r || (glVertexStream2dvATI = (PFNGLVERTEXSTREAM2DVATIPROC)glewGetProcAddress("glVertexStream2dvATI")) == NULL; + r = r || (glVertexStream3sATI = (PFNGLVERTEXSTREAM3SATIPROC)glewGetProcAddress("glVertexStream3sATI")) == NULL; + r = r || (glVertexStream3svATI = (PFNGLVERTEXSTREAM3SVATIPROC)glewGetProcAddress("glVertexStream3svATI")) == NULL; + r = r || (glVertexStream3iATI = (PFNGLVERTEXSTREAM3IATIPROC)glewGetProcAddress("glVertexStream3iATI")) == NULL; + r = r || (glVertexStream3ivATI = (PFNGLVERTEXSTREAM3IVATIPROC)glewGetProcAddress("glVertexStream3ivATI")) == NULL; + r = r || (glVertexStream3fATI = (PFNGLVERTEXSTREAM3FATIPROC)glewGetProcAddress("glVertexStream3fATI")) == NULL; + r = r || (glVertexStream3fvATI = (PFNGLVERTEXSTREAM3FVATIPROC)glewGetProcAddress("glVertexStream3fvATI")) == NULL; + r = r || (glVertexStream3dATI = (PFNGLVERTEXSTREAM3DATIPROC)glewGetProcAddress("glVertexStream3dATI")) == NULL; + r = r || (glVertexStream3dvATI = (PFNGLVERTEXSTREAM3DVATIPROC)glewGetProcAddress("glVertexStream3dvATI")) == NULL; + r = r || (glVertexStream4sATI = (PFNGLVERTEXSTREAM4SATIPROC)glewGetProcAddress("glVertexStream4sATI")) == NULL; + r = r || (glVertexStream4svATI = (PFNGLVERTEXSTREAM4SVATIPROC)glewGetProcAddress("glVertexStream4svATI")) == NULL; + r = r || (glVertexStream4iATI = (PFNGLVERTEXSTREAM4IATIPROC)glewGetProcAddress("glVertexStream4iATI")) == NULL; + r = r || (glVertexStream4ivATI = (PFNGLVERTEXSTREAM4IVATIPROC)glewGetProcAddress("glVertexStream4ivATI")) == NULL; + r = r || (glVertexStream4fATI = (PFNGLVERTEXSTREAM4FATIPROC)glewGetProcAddress("glVertexStream4fATI")) == NULL; + r = r || (glVertexStream4fvATI = (PFNGLVERTEXSTREAM4FVATIPROC)glewGetProcAddress("glVertexStream4fvATI")) == NULL; + r = r || (glVertexStream4dATI = (PFNGLVERTEXSTREAM4DATIPROC)glewGetProcAddress("glVertexStream4dATI")) == NULL; + r = r || (glVertexStream4dvATI = (PFNGLVERTEXSTREAM4DVATIPROC)glewGetProcAddress("glVertexStream4dvATI")) == NULL; + r = r || (glNormalStream3bATI = (PFNGLNORMALSTREAM3BATIPROC)glewGetProcAddress("glNormalStream3bATI")) == NULL; + r = r || (glNormalStream3bvATI = (PFNGLNORMALSTREAM3BVATIPROC)glewGetProcAddress("glNormalStream3bvATI")) == NULL; + r = r || (glNormalStream3sATI = (PFNGLNORMALSTREAM3SATIPROC)glewGetProcAddress("glNormalStream3sATI")) == NULL; + r = r || (glNormalStream3svATI = (PFNGLNORMALSTREAM3SVATIPROC)glewGetProcAddress("glNormalStream3svATI")) == NULL; + r = r || (glNormalStream3iATI = (PFNGLNORMALSTREAM3IATIPROC)glewGetProcAddress("glNormalStream3iATI")) == NULL; + r = r || (glNormalStream3ivATI = (PFNGLNORMALSTREAM3IVATIPROC)glewGetProcAddress("glNormalStream3ivATI")) == NULL; + r = r || (glNormalStream3fATI = (PFNGLNORMALSTREAM3FATIPROC)glewGetProcAddress("glNormalStream3fATI")) == NULL; + r = r || (glNormalStream3fvATI = (PFNGLNORMALSTREAM3FVATIPROC)glewGetProcAddress("glNormalStream3fvATI")) == NULL; + r = r || (glNormalStream3dATI = (PFNGLNORMALSTREAM3DATIPROC)glewGetProcAddress("glNormalStream3dATI")) == NULL; + r = r || (glNormalStream3dvATI = (PFNGLNORMALSTREAM3DVATIPROC)glewGetProcAddress("glNormalStream3dvATI")) == NULL; return r; } #endif /* GL_ATI_vertex_streams */ @@ -1434,20 +1449,20 @@ static GLboolean _glewInit_ATI_vertex_streams () /* --------------------------- NV_element_array --------------------------- */ #ifdef GL_NV_element_array -glElementPointerNVPROC glElementPointerNV = NULL; -glDrawElementArrayNVPROC glDrawElementArrayNV = NULL; -glDrawRangeElementArrayNVPROC glDrawRangeElementArrayNV = NULL; -glMultiDrawElementArrayNVPROC glMultiDrawElementArrayNV = NULL; -glMultiDrawRangeElementArrayNVPROC glMultiDrawRangeElementArrayNV = NULL; +PFNGLELEMENTPOINTERNVPROC glElementPointerNV = NULL; +PFNGLDRAWELEMENTARRAYNVPROC glDrawElementArrayNV = NULL; +PFNGLDRAWRANGEELEMENTARRAYNVPROC glDrawRangeElementArrayNV = NULL; +PFNGLMULTIDRAWELEMENTARRAYNVPROC glMultiDrawElementArrayNV = NULL; +PFNGLMULTIDRAWRANGEELEMENTARRAYNVPROC glMultiDrawRangeElementArrayNV = NULL; static GLboolean _glewInit_NV_element_array () { GLboolean r = GL_FALSE; - r = r || (glElementPointerNV = (glElementPointerNVPROC)glewGetProcAddress("glElementPointerNV")) == NULL; - r = r || (glDrawElementArrayNV = (glDrawElementArrayNVPROC)glewGetProcAddress("glDrawElementArrayNV")) == NULL; - r = r || (glDrawRangeElementArrayNV = (glDrawRangeElementArrayNVPROC)glewGetProcAddress("glDrawRangeElementArrayNV")) == NULL; - r = r || (glMultiDrawElementArrayNV = (glMultiDrawElementArrayNVPROC)glewGetProcAddress("glMultiDrawElementArrayNV")) == NULL; - r = r || (glMultiDrawRangeElementArrayNV = (glMultiDrawRangeElementArrayNVPROC)glewGetProcAddress("glMultiDrawRangeElementArrayNV")) == NULL; + r = r || (glElementPointerNV = (PFNGLELEMENTPOINTERNVPROC)glewGetProcAddress("glElementPointerNV")) == NULL; + r = r || (glDrawElementArrayNV = (PFNGLDRAWELEMENTARRAYNVPROC)glewGetProcAddress("glDrawElementArrayNV")) == NULL; + r = r || (glDrawRangeElementArrayNV = (PFNGLDRAWRANGEELEMENTARRAYNVPROC)glewGetProcAddress("glDrawRangeElementArrayNV")) == NULL; + r = r || (glMultiDrawElementArrayNV = (PFNGLMULTIDRAWELEMENTARRAYNVPROC)glewGetProcAddress("glMultiDrawElementArrayNV")) == NULL; + r = r || (glMultiDrawRangeElementArrayNV = (PFNGLMULTIDRAWRANGEELEMENTARRAYNVPROC)glewGetProcAddress("glMultiDrawRangeElementArrayNV")) == NULL; return r; } #endif /* GL_NV_element_array */ @@ -1455,28 +1470,28 @@ static GLboolean _glewInit_NV_element_array () /* ----------------------------- NV_evaluators ---------------------------- */ #ifdef GL_NV_evaluators -glMapControlPointsNVPROC glMapControlPointsNV = NULL; -glMapParameterivNVPROC glMapParameterivNV = NULL; -glMapParameterfvNVPROC glMapParameterfvNV = NULL; -glGetMapControlPointsNVPROC glGetMapControlPointsNV = NULL; -glGetMapParameterivNVPROC glGetMapParameterivNV = NULL; -glGetMapParameterfvNVPROC glGetMapParameterfvNV = NULL; -glGetMapAttribParameterivNVPROC glGetMapAttribParameterivNV = NULL; -glGetMapAttribParameterfvNVPROC glGetMapAttribParameterfvNV = NULL; -glEvalMapsNVPROC glEvalMapsNV = NULL; +PFNGLMAPCONTROLPOINTSNVPROC glMapControlPointsNV = NULL; +PFNGLMAPPARAMETERIVNVPROC glMapParameterivNV = NULL; +PFNGLMAPPARAMETERFVNVPROC glMapParameterfvNV = NULL; +PFNGLGETMAPCONTROLPOINTSNVPROC glGetMapControlPointsNV = NULL; +PFNGLGETMAPPARAMETERIVNVPROC glGetMapParameterivNV = NULL; +PFNGLGETMAPPARAMETERFVNVPROC glGetMapParameterfvNV = NULL; +PFNGLGETMAPATTRIBPARAMETERIVNVPROC glGetMapAttribParameterivNV = NULL; +PFNGLGETMAPATTRIBPARAMETERFVNVPROC glGetMapAttribParameterfvNV = NULL; +PFNGLEVALMAPSNVPROC glEvalMapsNV = NULL; static GLboolean _glewInit_NV_evaluators () { GLboolean r = GL_FALSE; - r = r || (glMapControlPointsNV = (glMapControlPointsNVPROC)glewGetProcAddress("glMapControlPointsNV")) == NULL; - r = r || (glMapParameterivNV = (glMapParameterivNVPROC)glewGetProcAddress("glMapParameterivNV")) == NULL; - r = r || (glMapParameterfvNV = (glMapParameterfvNVPROC)glewGetProcAddress("glMapParameterfvNV")) == NULL; - r = r || (glGetMapControlPointsNV = (glGetMapControlPointsNVPROC)glewGetProcAddress("glGetMapControlPointsNV")) == NULL; - r = r || (glGetMapParameterivNV = (glGetMapParameterivNVPROC)glewGetProcAddress("glGetMapParameterivNV")) == NULL; - r = r || (glGetMapParameterfvNV = (glGetMapParameterfvNVPROC)glewGetProcAddress("glGetMapParameterfvNV")) == NULL; - r = r || (glGetMapAttribParameterivNV = (glGetMapAttribParameterivNVPROC)glewGetProcAddress("glGetMapAttribParameterivNV")) == NULL; - r = r || (glGetMapAttribParameterfvNV = (glGetMapAttribParameterfvNVPROC)glewGetProcAddress("glGetMapAttribParameterfvNV")) == NULL; - r = r || (glEvalMapsNV = (glEvalMapsNVPROC)glewGetProcAddress("glEvalMapsNV")) == NULL; + r = r || (glMapControlPointsNV = (PFNGLMAPCONTROLPOINTSNVPROC)glewGetProcAddress("glMapControlPointsNV")) == NULL; + r = r || (glMapParameterivNV = (PFNGLMAPPARAMETERIVNVPROC)glewGetProcAddress("glMapParameterivNV")) == NULL; + r = r || (glMapParameterfvNV = (PFNGLMAPPARAMETERFVNVPROC)glewGetProcAddress("glMapParameterfvNV")) == NULL; + r = r || (glGetMapControlPointsNV = (PFNGLGETMAPCONTROLPOINTSNVPROC)glewGetProcAddress("glGetMapControlPointsNV")) == NULL; + r = r || (glGetMapParameterivNV = (PFNGLGETMAPPARAMETERIVNVPROC)glewGetProcAddress("glGetMapParameterivNV")) == NULL; + r = r || (glGetMapParameterfvNV = (PFNGLGETMAPPARAMETERFVNVPROC)glewGetProcAddress("glGetMapParameterfvNV")) == NULL; + r = r || (glGetMapAttribParameterivNV = (PFNGLGETMAPATTRIBPARAMETERIVNVPROC)glewGetProcAddress("glGetMapAttribParameterivNV")) == NULL; + r = r || (glGetMapAttribParameterfvNV = (PFNGLGETMAPATTRIBPARAMETERFVNVPROC)glewGetProcAddress("glGetMapAttribParameterfvNV")) == NULL; + r = r || (glEvalMapsNV = (PFNGLEVALMAPSNVPROC)glewGetProcAddress("glEvalMapsNV")) == NULL; return r; } #endif /* GL_NV_evaluators */ @@ -1484,37 +1499,37 @@ static GLboolean _glewInit_NV_evaluators () /* -------------------------- NV_fragment_program ------------------------- */ #ifdef GL_NV_fragment_program -glProgramNamedParameter4fNVPROC glProgramNamedParameter4fNV = NULL; -glProgramNamedParameter4dNVPROC glProgramNamedParameter4dNV = NULL; -glProgramNamedParameter4fvNVPROC glProgramNamedParameter4fvNV = NULL; -glProgramNamedParameter4dvNVPROC glProgramNamedParameter4dvNV = NULL; -glGetProgramNamedParameterfvNVPROC glGetProgramNamedParameterfvNV = NULL; -glGetProgramNamedParameterdvNVPROC glGetProgramNamedParameterdvNV = NULL; +PFNGLPROGRAMNAMEDPARAMETER4FNVPROC glProgramNamedParameter4fNV = NULL; +PFNGLPROGRAMNAMEDPARAMETER4DNVPROC glProgramNamedParameter4dNV = NULL; +PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC glProgramNamedParameter4fvNV = NULL; +PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC glProgramNamedParameter4dvNV = NULL; +PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC glGetProgramNamedParameterfvNV = NULL; +PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC glGetProgramNamedParameterdvNV = NULL; #ifndef GL_ARB_vertex_program -glProgramLocalParameter4dARBPROC glProgramLocalParameter4dARB = NULL; -glProgramLocalParameter4dvARBPROC glProgramLocalParameter4dvARB = NULL; -glProgramLocalParameter4fARBPROC glProgramLocalParameter4fARB = NULL; -glProgramLocalParameter4fvARBPROC glProgramLocalParameter4fvARB = NULL; -glGetProgramLocalParameterdvARBPROC glGetProgramLocalParameterdvARB = NULL; -glGetProgramLocalParameterfvARBPROC glGetProgramLocalParameterfvARB = NULL; +PFNGLPROGRAMLOCALPARAMETER4DARBPROC glProgramLocalParameter4dARB = NULL; +PFNGLPROGRAMLOCALPARAMETER4DVARBPROC glProgramLocalParameter4dvARB = NULL; +PFNGLPROGRAMLOCALPARAMETER4FARBPROC glProgramLocalParameter4fARB = NULL; +PFNGLPROGRAMLOCALPARAMETER4FVARBPROC glProgramLocalParameter4fvARB = NULL; +PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC glGetProgramLocalParameterdvARB = NULL; +PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC glGetProgramLocalParameterfvARB = NULL; #endif /* GL_ARB_vertex_program */ static GLboolean _glewInit_NV_fragment_program () { GLboolean r = GL_FALSE; - r = r || (glProgramNamedParameter4fNV = (glProgramNamedParameter4fNVPROC)glewGetProcAddress("glProgramNamedParameter4fNV")) == NULL; - r = r || (glProgramNamedParameter4dNV = (glProgramNamedParameter4dNVPROC)glewGetProcAddress("glProgramNamedParameter4dNV")) == NULL; - r = r || (glProgramNamedParameter4fvNV = (glProgramNamedParameter4fvNVPROC)glewGetProcAddress("glProgramNamedParameter4fvNV")) == NULL; - r = r || (glProgramNamedParameter4dvNV = (glProgramNamedParameter4dvNVPROC)glewGetProcAddress("glProgramNamedParameter4dvNV")) == NULL; - r = r || (glGetProgramNamedParameterfvNV = (glGetProgramNamedParameterfvNVPROC)glewGetProcAddress("glGetProgramNamedParameterfvNV")) == NULL; - r = r || (glGetProgramNamedParameterdvNV = (glGetProgramNamedParameterdvNVPROC)glewGetProcAddress("glGetProgramNamedParameterdvNV")) == NULL; + r = r || (glProgramNamedParameter4fNV = (PFNGLPROGRAMNAMEDPARAMETER4FNVPROC)glewGetProcAddress("glProgramNamedParameter4fNV")) == NULL; + r = r || (glProgramNamedParameter4dNV = (PFNGLPROGRAMNAMEDPARAMETER4DNVPROC)glewGetProcAddress("glProgramNamedParameter4dNV")) == NULL; + r = r || (glProgramNamedParameter4fvNV = (PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC)glewGetProcAddress("glProgramNamedParameter4fvNV")) == NULL; + r = r || (glProgramNamedParameter4dvNV = (PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC)glewGetProcAddress("glProgramNamedParameter4dvNV")) == NULL; + r = r || (glGetProgramNamedParameterfvNV = (PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC)glewGetProcAddress("glGetProgramNamedParameterfvNV")) == NULL; + r = r || (glGetProgramNamedParameterdvNV = (PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC)glewGetProcAddress("glGetProgramNamedParameterdvNV")) == NULL; #ifndef GL_ARB_vertex_program - r = r || (glProgramLocalParameter4dARB = (glProgramLocalParameter4dARBPROC)glewGetProcAddress("glProgramLocalParameter4dARB")) == NULL; - r = r || (glProgramLocalParameter4dvARB = (glProgramLocalParameter4dvARBPROC)glewGetProcAddress("glProgramLocalParameter4dvARB")) == NULL; - r = r || (glProgramLocalParameter4fARB = (glProgramLocalParameter4fARBPROC)glewGetProcAddress("glProgramLocalParameter4fARB")) == NULL; - r = r || (glProgramLocalParameter4fvARB = (glProgramLocalParameter4fvARBPROC)glewGetProcAddress("glProgramLocalParameter4fvARB")) == NULL; - r = r || (glGetProgramLocalParameterdvARB = (glGetProgramLocalParameterdvARBPROC)glewGetProcAddress("glGetProgramLocalParameterdvARB")) == NULL; - r = r || (glGetProgramLocalParameterfvARB = (glGetProgramLocalParameterfvARBPROC)glewGetProcAddress("glGetProgramLocalParameterfvARB")) == NULL; + r = r || (glProgramLocalParameter4dARB = (PFNGLPROGRAMLOCALPARAMETER4DARBPROC)glewGetProcAddress("glProgramLocalParameter4dARB")) == NULL; + r = r || (glProgramLocalParameter4dvARB = (PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)glewGetProcAddress("glProgramLocalParameter4dvARB")) == NULL; + r = r || (glProgramLocalParameter4fARB = (PFNGLPROGRAMLOCALPARAMETER4FARBPROC)glewGetProcAddress("glProgramLocalParameter4fARB")) == NULL; + r = r || (glProgramLocalParameter4fvARB = (PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)glewGetProcAddress("glProgramLocalParameter4fvARB")) == NULL; + r = r || (glGetProgramLocalParameterdvARB = (PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)glewGetProcAddress("glGetProgramLocalParameterdvARB")) == NULL; + r = r || (glGetProgramLocalParameterfvARB = (PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)glewGetProcAddress("glGetProgramLocalParameterfvARB")) == NULL; #endif /* GL_ARB_vertex_program */ return r; } @@ -1523,24 +1538,24 @@ static GLboolean _glewInit_NV_fragment_program () /* ------------------------------- NV_fence ------------------------------- */ #ifdef GL_NV_fence -glGenFencesNVPROC glGenFencesNV = NULL; -glDeleteFencesNVPROC glDeleteFencesNV = NULL; -glSetFenceNVPROC glSetFenceNV = NULL; -glTestFenceNVPROC glTestFenceNV = NULL; -glFinishFenceNVPROC glFinishFenceNV = NULL; -glIsFenceNVPROC glIsFenceNV = NULL; -glGetFenceivNVPROC glGetFenceivNV = NULL; +PFNGLGENFENCESNVPROC glGenFencesNV = NULL; +PFNGLDELETEFENCESNVPROC glDeleteFencesNV = NULL; +PFNGLSETFENCENVPROC glSetFenceNV = NULL; +PFNGLTESTFENCENVPROC glTestFenceNV = NULL; +PFNGLFINISHFENCENVPROC glFinishFenceNV = NULL; +PFNGLISFENCENVPROC glIsFenceNV = NULL; +PFNGLGETFENCEIVNVPROC glGetFenceivNV = NULL; static GLboolean _glewInit_NV_fence () { GLboolean r = GL_FALSE; - r = r || (glGenFencesNV = (glGenFencesNVPROC)glewGetProcAddress("glGenFencesNV")) == NULL; - r = r || (glDeleteFencesNV = (glDeleteFencesNVPROC)glewGetProcAddress("glDeleteFencesNV")) == NULL; - r = r || (glSetFenceNV = (glSetFenceNVPROC)glewGetProcAddress("glSetFenceNV")) == NULL; - r = r || (glTestFenceNV = (glTestFenceNVPROC)glewGetProcAddress("glTestFenceNV")) == NULL; - r = r || (glFinishFenceNV = (glFinishFenceNVPROC)glewGetProcAddress("glFinishFenceNV")) == NULL; - r = r || (glIsFenceNV = (glIsFenceNVPROC)glewGetProcAddress("glIsFenceNV")) == NULL; - r = r || (glGetFenceivNV = (glGetFenceivNVPROC)glewGetProcAddress("glGetFenceivNV")) == NULL; + r = r || (glGenFencesNV = (PFNGLGENFENCESNVPROC)glewGetProcAddress("glGenFencesNV")) == NULL; + r = r || (glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)glewGetProcAddress("glDeleteFencesNV")) == NULL; + r = r || (glSetFenceNV = (PFNGLSETFENCENVPROC)glewGetProcAddress("glSetFenceNV")) == NULL; + r = r || (glTestFenceNV = (PFNGLTESTFENCENVPROC)glewGetProcAddress("glTestFenceNV")) == NULL; + r = r || (glFinishFenceNV = (PFNGLFINISHFENCENVPROC)glewGetProcAddress("glFinishFenceNV")) == NULL; + r = r || (glIsFenceNV = (PFNGLISFENCENVPROC)glewGetProcAddress("glIsFenceNV")) == NULL; + r = r || (glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)glewGetProcAddress("glGetFenceivNV")) == NULL; return r; } #endif /* GL_NV_fence */ @@ -1548,24 +1563,24 @@ static GLboolean _glewInit_NV_fence () /* -------------------------- NV_occlusion_query -------------------------- */ #ifdef GL_NV_occlusion_query -glGenOcclusionQueriesNVPROC glGenOcclusionQueriesNV = NULL; -glDeleteOcclusionQueriesNVPROC glDeleteOcclusionQueriesNV = NULL; -glIsOcclusionQueryNVPROC glIsOcclusionQueryNV = NULL; -glBeginOcclusionQueryNVPROC glBeginOcclusionQueryNV = NULL; -glEndOcclusionQueryNVPROC glEndOcclusionQueryNV = NULL; -glGetOcclusionQueryivNVPROC glGetOcclusionQueryivNV = NULL; -glGetOcclusionQueryuivNVPROC glGetOcclusionQueryuivNV = NULL; +PFNGLGENOCCLUSIONQUERIESNVPROC glGenOcclusionQueriesNV = NULL; +PFNGLDELETEOCCLUSIONQUERIESNVPROC glDeleteOcclusionQueriesNV = NULL; +PFNGLISOCCLUSIONQUERYNVPROC glIsOcclusionQueryNV = NULL; +PFNGLBEGINOCCLUSIONQUERYNVPROC glBeginOcclusionQueryNV = NULL; +PFNGLENDOCCLUSIONQUERYNVPROC glEndOcclusionQueryNV = NULL; +PFNGLGETOCCLUSIONQUERYIVNVPROC glGetOcclusionQueryivNV = NULL; +PFNGLGETOCCLUSIONQUERYUIVNVPROC glGetOcclusionQueryuivNV = NULL; static GLboolean _glewInit_NV_occlusion_query () { GLboolean r = GL_FALSE; - r = r || (glGenOcclusionQueriesNV = (glGenOcclusionQueriesNVPROC)glewGetProcAddress("glGenOcclusionQueriesNV")) == NULL; - r = r || (glDeleteOcclusionQueriesNV = (glDeleteOcclusionQueriesNVPROC)glewGetProcAddress("glDeleteOcclusionQueriesNV")) == NULL; - r = r || (glIsOcclusionQueryNV = (glIsOcclusionQueryNVPROC)glewGetProcAddress("glIsOcclusionQueryNV")) == NULL; - r = r || (glBeginOcclusionQueryNV = (glBeginOcclusionQueryNVPROC)glewGetProcAddress("glBeginOcclusionQueryNV")) == NULL; - r = r || (glEndOcclusionQueryNV = (glEndOcclusionQueryNVPROC)glewGetProcAddress("glEndOcclusionQueryNV")) == NULL; - r = r || (glGetOcclusionQueryivNV = (glGetOcclusionQueryivNVPROC)glewGetProcAddress("glGetOcclusionQueryivNV")) == NULL; - r = r || (glGetOcclusionQueryuivNV = (glGetOcclusionQueryuivNVPROC)glewGetProcAddress("glGetOcclusionQueryuivNV")) == NULL; + r = r || (glGenOcclusionQueriesNV = (PFNGLGENOCCLUSIONQUERIESNVPROC)glewGetProcAddress("glGenOcclusionQueriesNV")) == NULL; + r = r || (glDeleteOcclusionQueriesNV = (PFNGLDELETEOCCLUSIONQUERIESNVPROC)glewGetProcAddress("glDeleteOcclusionQueriesNV")) == NULL; + r = r || (glIsOcclusionQueryNV = (PFNGLISOCCLUSIONQUERYNVPROC)glewGetProcAddress("glIsOcclusionQueryNV")) == NULL; + r = r || (glBeginOcclusionQueryNV = (PFNGLBEGINOCCLUSIONQUERYNVPROC)glewGetProcAddress("glBeginOcclusionQueryNV")) == NULL; + r = r || (glEndOcclusionQueryNV = (PFNGLENDOCCLUSIONQUERYNVPROC)glewGetProcAddress("glEndOcclusionQueryNV")) == NULL; + r = r || (glGetOcclusionQueryivNV = (PFNGLGETOCCLUSIONQUERYIVNVPROC)glewGetProcAddress("glGetOcclusionQueryivNV")) == NULL; + r = r || (glGetOcclusionQueryuivNV = (PFNGLGETOCCLUSIONQUERYUIVNVPROC)glewGetProcAddress("glGetOcclusionQueryuivNV")) == NULL; return r; } #endif /* GL_NV_occlusion_query */ @@ -1573,14 +1588,14 @@ static GLboolean _glewInit_NV_occlusion_query () /* -------------------------- NV_pixel_data_range ------------------------- */ #ifdef GL_NV_pixel_data_range -glPixelDataRangeNVPROC glPixelDataRangeNV = NULL; -glFlushPixelDataRangeNVPROC glFlushPixelDataRangeNV = NULL; +PFNGLPIXELDATARANGENVPROC glPixelDataRangeNV = NULL; +PFNGLFLUSHPIXELDATARANGENVPROC glFlushPixelDataRangeNV = NULL; static GLboolean _glewInit_NV_pixel_data_range () { GLboolean r = GL_FALSE; - r = r || (glPixelDataRangeNV = (glPixelDataRangeNVPROC)glewGetProcAddress("glPixelDataRangeNV")) == NULL; - r = r || (glFlushPixelDataRangeNV = (glFlushPixelDataRangeNVPROC)glewGetProcAddress("glFlushPixelDataRangeNV")) == NULL; + r = r || (glPixelDataRangeNV = (PFNGLPIXELDATARANGENVPROC)glewGetProcAddress("glPixelDataRangeNV")) == NULL; + r = r || (glFlushPixelDataRangeNV = (PFNGLFLUSHPIXELDATARANGENVPROC)glewGetProcAddress("glFlushPixelDataRangeNV")) == NULL; return r; } #endif /* GL_NV_pixel_data_range */ @@ -1588,14 +1603,14 @@ static GLboolean _glewInit_NV_pixel_data_range () /* ---------------------------- NV_point_sprite --------------------------- */ #ifdef GL_NV_point_sprite -glPointParameteriNVPROC glPointParameteriNV = NULL; -glPointParameterivNVPROC glPointParameterivNV = NULL; +PFNGLPOINTPARAMETERINVPROC glPointParameteriNV = NULL; +PFNGLPOINTPARAMETERIVNVPROC glPointParameterivNV = NULL; static GLboolean _glewInit_NV_point_sprite () { GLboolean r = GL_FALSE; - r = r || (glPointParameteriNV = (glPointParameteriNVPROC)glewGetProcAddress("glPointParameteriNV")) == NULL; - r = r || (glPointParameterivNV = (glPointParameterivNVPROC)glewGetProcAddress("glPointParameterivNV")) == NULL; + r = r || (glPointParameteriNV = (PFNGLPOINTPARAMETERINVPROC)glewGetProcAddress("glPointParameteriNV")) == NULL; + r = r || (glPointParameterivNV = (PFNGLPOINTPARAMETERIVNVPROC)glewGetProcAddress("glPointParameterivNV")) == NULL; return r; } #endif /* GL_NV_point_sprite */ @@ -1603,14 +1618,14 @@ static GLboolean _glewInit_NV_point_sprite () /* ------------------------- NV_primitive_restart ------------------------- */ #ifdef GL_NV_primitive_restart -glPrimitiveRestartNVPROC glPrimitiveRestartNV = NULL; -glPrimitiveRestartIndexNVPROC glPrimitiveRestartIndexNV = NULL; +PFNGLPRIMITIVERESTARTNVPROC glPrimitiveRestartNV = NULL; +PFNGLPRIMITIVERESTARTINDEXNVPROC glPrimitiveRestartIndexNV = NULL; static GLboolean _glewInit_NV_primitive_restart () { GLboolean r = GL_FALSE; - r = r || (glPrimitiveRestartNV = (glPrimitiveRestartNVPROC)glewGetProcAddress("glPrimitiveRestartNV")) == NULL; - r = r || (glPrimitiveRestartIndexNV = (glPrimitiveRestartIndexNVPROC)glewGetProcAddress("glPrimitiveRestartIndexNV")) == NULL; + r = r || (glPrimitiveRestartNV = (PFNGLPRIMITIVERESTARTNVPROC)glewGetProcAddress("glPrimitiveRestartNV")) == NULL; + r = r || (glPrimitiveRestartIndexNV = (PFNGLPRIMITIVERESTARTINDEXNVPROC)glewGetProcAddress("glPrimitiveRestartIndexNV")) == NULL; return r; } #endif /* GL_NV_primitive_restart */ @@ -1618,36 +1633,36 @@ static GLboolean _glewInit_NV_primitive_restart () /* ------------------------- NV_register_combiners ------------------------ */ #ifdef GL_NV_register_combiners -glCombinerParameterfvNVPROC glCombinerParameterfvNV = NULL; -glCombinerParameterfNVPROC glCombinerParameterfNV = NULL; -glCombinerParameterivNVPROC glCombinerParameterivNV = NULL; -glCombinerParameteriNVPROC glCombinerParameteriNV = NULL; -glCombinerInputNVPROC glCombinerInputNV = NULL; -glCombinerOutputNVPROC glCombinerOutputNV = NULL; -glFinalCombinerInputNVPROC glFinalCombinerInputNV = NULL; -glGetCombinerInputParameterfvNVPROC glGetCombinerInputParameterfvNV = NULL; -glGetCombinerInputParameterivNVPROC glGetCombinerInputParameterivNV = NULL; -glGetCombinerOutputParameterfvNVPROC glGetCombinerOutputParameterfvNV = NULL; -glGetCombinerOutputParameterivNVPROC glGetCombinerOutputParameterivNV = NULL; -glGetFinalCombinerInputParameterfvNVPROC glGetFinalCombinerInputParameterfvNV = NULL; -glGetFinalCombinerInputParameterivNVPROC glGetFinalCombinerInputParameterivNV = NULL; +PFNGLCOMBINERPARAMETERFVNVPROC glCombinerParameterfvNV = NULL; +PFNGLCOMBINERPARAMETERFNVPROC glCombinerParameterfNV = NULL; +PFNGLCOMBINERPARAMETERIVNVPROC glCombinerParameterivNV = NULL; +PFNGLCOMBINERPARAMETERINVPROC glCombinerParameteriNV = NULL; +PFNGLCOMBINERINPUTNVPROC glCombinerInputNV = NULL; +PFNGLCOMBINEROUTPUTNVPROC glCombinerOutputNV = NULL; +PFNGLFINALCOMBINERINPUTNVPROC glFinalCombinerInputNV = NULL; +PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC glGetCombinerInputParameterfvNV = NULL; +PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC glGetCombinerInputParameterivNV = NULL; +PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC glGetCombinerOutputParameterfvNV = NULL; +PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC glGetCombinerOutputParameterivNV = NULL; +PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC glGetFinalCombinerInputParameterfvNV = NULL; +PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC glGetFinalCombinerInputParameterivNV = NULL; static GLboolean _glewInit_NV_register_combiners () { GLboolean r = GL_FALSE; - r = r || (glCombinerParameterfvNV = (glCombinerParameterfvNVPROC)glewGetProcAddress("glCombinerParameterfvNV")) == NULL; - r = r || (glCombinerParameterfNV = (glCombinerParameterfNVPROC)glewGetProcAddress("glCombinerParameterfNV")) == NULL; - r = r || (glCombinerParameterivNV = (glCombinerParameterivNVPROC)glewGetProcAddress("glCombinerParameterivNV")) == NULL; - r = r || (glCombinerParameteriNV = (glCombinerParameteriNVPROC)glewGetProcAddress("glCombinerParameteriNV")) == NULL; - r = r || (glCombinerInputNV = (glCombinerInputNVPROC)glewGetProcAddress("glCombinerInputNV")) == NULL; - r = r || (glCombinerOutputNV = (glCombinerOutputNVPROC)glewGetProcAddress("glCombinerOutputNV")) == NULL; - r = r || (glFinalCombinerInputNV = (glFinalCombinerInputNVPROC)glewGetProcAddress("glFinalCombinerInputNV")) == NULL; - r = r || (glGetCombinerInputParameterfvNV = (glGetCombinerInputParameterfvNVPROC)glewGetProcAddress("glGetCombinerInputParameterfvNV")) == NULL; - r = r || (glGetCombinerInputParameterivNV = (glGetCombinerInputParameterivNVPROC)glewGetProcAddress("glGetCombinerInputParameterivNV")) == NULL; - r = r || (glGetCombinerOutputParameterfvNV = (glGetCombinerOutputParameterfvNVPROC)glewGetProcAddress("glGetCombinerOutputParameterfvNV")) == NULL; - r = r || (glGetCombinerOutputParameterivNV = (glGetCombinerOutputParameterivNVPROC)glewGetProcAddress("glGetCombinerOutputParameterivNV")) == NULL; - r = r || (glGetFinalCombinerInputParameterfvNV = (glGetFinalCombinerInputParameterfvNVPROC)glewGetProcAddress("glGetFinalCombinerInputParameterfvNV")) == NULL; - r = r || (glGetFinalCombinerInputParameterivNV = (glGetFinalCombinerInputParameterivNVPROC)glewGetProcAddress("glGetFinalCombinerInputParameterivNV")) == NULL; + r = r || (glCombinerParameterfvNV = (PFNGLCOMBINERPARAMETERFVNVPROC)glewGetProcAddress("glCombinerParameterfvNV")) == NULL; + r = r || (glCombinerParameterfNV = (PFNGLCOMBINERPARAMETERFNVPROC)glewGetProcAddress("glCombinerParameterfNV")) == NULL; + r = r || (glCombinerParameterivNV = (PFNGLCOMBINERPARAMETERIVNVPROC)glewGetProcAddress("glCombinerParameterivNV")) == NULL; + r = r || (glCombinerParameteriNV = (PFNGLCOMBINERPARAMETERINVPROC)glewGetProcAddress("glCombinerParameteriNV")) == NULL; + r = r || (glCombinerInputNV = (PFNGLCOMBINERINPUTNVPROC)glewGetProcAddress("glCombinerInputNV")) == NULL; + r = r || (glCombinerOutputNV = (PFNGLCOMBINEROUTPUTNVPROC)glewGetProcAddress("glCombinerOutputNV")) == NULL; + r = r || (glFinalCombinerInputNV = (PFNGLFINALCOMBINERINPUTNVPROC)glewGetProcAddress("glFinalCombinerInputNV")) == NULL; + r = r || (glGetCombinerInputParameterfvNV = (PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress("glGetCombinerInputParameterfvNV")) == NULL; + r = r || (glGetCombinerInputParameterivNV = (PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress("glGetCombinerInputParameterivNV")) == NULL; + r = r || (glGetCombinerOutputParameterfvNV = (PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)glewGetProcAddress("glGetCombinerOutputParameterfvNV")) == NULL; + r = r || (glGetCombinerOutputParameterivNV = (PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)glewGetProcAddress("glGetCombinerOutputParameterivNV")) == NULL; + r = r || (glGetFinalCombinerInputParameterfvNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress("glGetFinalCombinerInputParameterfvNV")) == NULL; + r = r || (glGetFinalCombinerInputParameterivNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress("glGetFinalCombinerInputParameterivNV")) == NULL; return r; } #endif /* GL_NV_register_combiners */ @@ -1655,14 +1670,14 @@ static GLboolean _glewInit_NV_register_combiners () /* ------------------------ NV_register_combiners2 ------------------------ */ #ifdef GL_NV_register_combiners2 -glCombinerStageParameterfvNVPROC glCombinerStageParameterfvNV = NULL; -glGetCombinerStageParameterfvNVPROC glGetCombinerStageParameterfvNV = NULL; +PFNGLCOMBINERSTAGEPARAMETERFVNVPROC glCombinerStageParameterfvNV = NULL; +PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC glGetCombinerStageParameterfvNV = NULL; static GLboolean _glewInit_NV_register_combiners2 () { GLboolean r = GL_FALSE; - r = r || (glCombinerStageParameterfvNV = (glCombinerStageParameterfvNVPROC)glewGetProcAddress("glCombinerStageParameterfvNV")) == NULL; - r = r || (glGetCombinerStageParameterfvNV = (glGetCombinerStageParameterfvNVPROC)glewGetProcAddress("glGetCombinerStageParameterfvNV")) == NULL; + r = r || (glCombinerStageParameterfvNV = (PFNGLCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress("glCombinerStageParameterfvNV")) == NULL; + r = r || (glGetCombinerStageParameterfvNV = (PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress("glGetCombinerStageParameterfvNV")) == NULL; return r; } #endif /* GL_NV_register_combiners2 */ @@ -1670,14 +1685,14 @@ static GLboolean _glewInit_NV_register_combiners2 () /* ------------------------- NV_vertex_array_range ------------------------ */ #ifdef GL_NV_vertex_array_range -glFlushVertexArrayRangeNVPROC glFlushVertexArrayRangeNV = NULL; -glVertexArrayRangeNVPROC glVertexArrayRangeNV = NULL; +PFNGLFLUSHVERTEXARRAYRANGENVPROC glFlushVertexArrayRangeNV = NULL; +PFNGLVERTEXARRAYRANGENVPROC glVertexArrayRangeNV = NULL; static GLboolean _glewInit_NV_vertex_array_range () { GLboolean r = GL_FALSE; - r = r || (glFlushVertexArrayRangeNV = (glFlushVertexArrayRangeNVPROC)glewGetProcAddress("glFlushVertexArrayRangeNV")) == NULL; - r = r || (glVertexArrayRangeNV = (glVertexArrayRangeNVPROC)glewGetProcAddress("glVertexArrayRangeNV")) == NULL; + r = r || (glFlushVertexArrayRangeNV = (PFNGLFLUSHVERTEXARRAYRANGENVPROC)glewGetProcAddress("glFlushVertexArrayRangeNV")) == NULL; + r = r || (glVertexArrayRangeNV = (PFNGLVERTEXARRAYRANGENVPROC)glewGetProcAddress("glVertexArrayRangeNV")) == NULL; return r; } #endif /* GL_NV_vertex_array_range */ @@ -1685,138 +1700,138 @@ static GLboolean _glewInit_NV_vertex_array_range () /* --------------------------- NV_vertex_program -------------------------- */ #ifdef GL_NV_vertex_program -glBindProgramNVPROC glBindProgramNV = NULL; -glDeleteProgramsNVPROC glDeleteProgramsNV = NULL; -glExecuteProgramNVPROC glExecuteProgramNV = NULL; -glGenProgramsNVPROC glGenProgramsNV = NULL; -glAreProgramsResidentNVPROC glAreProgramsResidentNV = NULL; -glRequestResidentProgramsNVPROC glRequestResidentProgramsNV = NULL; -glGetProgramParameterfvNVPROC glGetProgramParameterfvNV = NULL; -glGetProgramParameterdvNVPROC glGetProgramParameterdvNV = NULL; -glGetProgramivNVPROC glGetProgramivNV = NULL; -glGetProgramStringNVPROC glGetProgramStringNV = NULL; -glGetTrackMatrixivNVPROC glGetTrackMatrixivNV = NULL; -glGetVertexAttribdvNVPROC glGetVertexAttribdvNV = NULL; -glGetVertexAttribfvNVPROC glGetVertexAttribfvNV = NULL; -glGetVertexAttribivNVPROC glGetVertexAttribivNV = NULL; -glGetVertexAttribPointervNVPROC glGetVertexAttribPointervNV = NULL; -glIsProgramNVPROC glIsProgramNV = NULL; -glLoadProgramNVPROC glLoadProgramNV = NULL; -glProgramParameter4fNVPROC glProgramParameter4fNV = NULL; -glProgramParameter4dNVPROC glProgramParameter4dNV = NULL; -glProgramParameter4dvNVPROC glProgramParameter4dvNV = NULL; -glProgramParameter4fvNVPROC glProgramParameter4fvNV = NULL; -glProgramParameters4dvNVPROC glProgramParameters4dvNV = NULL; -glProgramParameters4fvNVPROC glProgramParameters4fvNV = NULL; -glTrackMatrixNVPROC glTrackMatrixNV = NULL; -glVertexAttribPointerNVPROC glVertexAttribPointerNV = NULL; -glVertexAttrib1sNVPROC glVertexAttrib1sNV = NULL; -glVertexAttrib1fNVPROC glVertexAttrib1fNV = NULL; -glVertexAttrib1dNVPROC glVertexAttrib1dNV = NULL; -glVertexAttrib2sNVPROC glVertexAttrib2sNV = NULL; -glVertexAttrib2fNVPROC glVertexAttrib2fNV = NULL; -glVertexAttrib2dNVPROC glVertexAttrib2dNV = NULL; -glVertexAttrib3sNVPROC glVertexAttrib3sNV = NULL; -glVertexAttrib3fNVPROC glVertexAttrib3fNV = NULL; -glVertexAttrib3dNVPROC glVertexAttrib3dNV = NULL; -glVertexAttrib4sNVPROC glVertexAttrib4sNV = NULL; -glVertexAttrib4fNVPROC glVertexAttrib4fNV = NULL; -glVertexAttrib4dNVPROC glVertexAttrib4dNV = NULL; -glVertexAttrib4ubNVPROC glVertexAttrib4ubNV = NULL; -glVertexAttrib1svNVPROC glVertexAttrib1svNV = NULL; -glVertexAttrib1fvNVPROC glVertexAttrib1fvNV = NULL; -glVertexAttrib1dvNVPROC glVertexAttrib1dvNV = NULL; -glVertexAttrib2svNVPROC glVertexAttrib2svNV = NULL; -glVertexAttrib2fvNVPROC glVertexAttrib2fvNV = NULL; -glVertexAttrib2dvNVPROC glVertexAttrib2dvNV = NULL; -glVertexAttrib3svNVPROC glVertexAttrib3svNV = NULL; -glVertexAttrib3fvNVPROC glVertexAttrib3fvNV = NULL; -glVertexAttrib3dvNVPROC glVertexAttrib3dvNV = NULL; -glVertexAttrib4svNVPROC glVertexAttrib4svNV = NULL; -glVertexAttrib4fvNVPROC glVertexAttrib4fvNV = NULL; -glVertexAttrib4dvNVPROC glVertexAttrib4dvNV = NULL; -glVertexAttrib4ubvNVPROC glVertexAttrib4ubvNV = NULL; -glVertexAttribs1svNVPROC glVertexAttribs1svNV = NULL; -glVertexAttribs1fvNVPROC glVertexAttribs1fvNV = NULL; -glVertexAttribs1dvNVPROC glVertexAttribs1dvNV = NULL; -glVertexAttribs2svNVPROC glVertexAttribs2svNV = NULL; -glVertexAttribs2fvNVPROC glVertexAttribs2fvNV = NULL; -glVertexAttribs2dvNVPROC glVertexAttribs2dvNV = NULL; -glVertexAttribs3svNVPROC glVertexAttribs3svNV = NULL; -glVertexAttribs3fvNVPROC glVertexAttribs3fvNV = NULL; -glVertexAttribs3dvNVPROC glVertexAttribs3dvNV = NULL; -glVertexAttribs4svNVPROC glVertexAttribs4svNV = NULL; -glVertexAttribs4fvNVPROC glVertexAttribs4fvNV = NULL; -glVertexAttribs4dvNVPROC glVertexAttribs4dvNV = NULL; -glVertexAttribs4ubvNVPROC glVertexAttribs4ubvNV = NULL; +PFNGLBINDPROGRAMNVPROC glBindProgramNV = NULL; +PFNGLDELETEPROGRAMSNVPROC glDeleteProgramsNV = NULL; +PFNGLEXECUTEPROGRAMNVPROC glExecuteProgramNV = NULL; +PFNGLGENPROGRAMSNVPROC glGenProgramsNV = NULL; +PFNGLAREPROGRAMSRESIDENTNVPROC glAreProgramsResidentNV = NULL; +PFNGLREQUESTRESIDENTPROGRAMSNVPROC glRequestResidentProgramsNV = NULL; +PFNGLGETPROGRAMPARAMETERFVNVPROC glGetProgramParameterfvNV = NULL; +PFNGLGETPROGRAMPARAMETERDVNVPROC glGetProgramParameterdvNV = NULL; +PFNGLGETPROGRAMIVNVPROC glGetProgramivNV = NULL; +PFNGLGETPROGRAMSTRINGNVPROC glGetProgramStringNV = NULL; +PFNGLGETTRACKMATRIXIVNVPROC glGetTrackMatrixivNV = NULL; +PFNGLGETVERTEXATTRIBDVNVPROC glGetVertexAttribdvNV = NULL; +PFNGLGETVERTEXATTRIBFVNVPROC glGetVertexAttribfvNV = NULL; +PFNGLGETVERTEXATTRIBIVNVPROC glGetVertexAttribivNV = NULL; +PFNGLGETVERTEXATTRIBPOINTERVNVPROC glGetVertexAttribPointervNV = NULL; +PFNGLISPROGRAMNVPROC glIsProgramNV = NULL; +PFNGLLOADPROGRAMNVPROC glLoadProgramNV = NULL; +PFNGLPROGRAMPARAMETER4FNVPROC glProgramParameter4fNV = NULL; +PFNGLPROGRAMPARAMETER4DNVPROC glProgramParameter4dNV = NULL; +PFNGLPROGRAMPARAMETER4DVNVPROC glProgramParameter4dvNV = NULL; +PFNGLPROGRAMPARAMETER4FVNVPROC glProgramParameter4fvNV = NULL; +PFNGLPROGRAMPARAMETERS4DVNVPROC glProgramParameters4dvNV = NULL; +PFNGLPROGRAMPARAMETERS4FVNVPROC glProgramParameters4fvNV = NULL; +PFNGLTRACKMATRIXNVPROC glTrackMatrixNV = NULL; +PFNGLVERTEXATTRIBPOINTERNVPROC glVertexAttribPointerNV = NULL; +PFNGLVERTEXATTRIB1SNVPROC glVertexAttrib1sNV = NULL; +PFNGLVERTEXATTRIB1FNVPROC glVertexAttrib1fNV = NULL; +PFNGLVERTEXATTRIB1DNVPROC glVertexAttrib1dNV = NULL; +PFNGLVERTEXATTRIB2SNVPROC glVertexAttrib2sNV = NULL; +PFNGLVERTEXATTRIB2FNVPROC glVertexAttrib2fNV = NULL; +PFNGLVERTEXATTRIB2DNVPROC glVertexAttrib2dNV = NULL; +PFNGLVERTEXATTRIB3SNVPROC glVertexAttrib3sNV = NULL; +PFNGLVERTEXATTRIB3FNVPROC glVertexAttrib3fNV = NULL; +PFNGLVERTEXATTRIB3DNVPROC glVertexAttrib3dNV = NULL; +PFNGLVERTEXATTRIB4SNVPROC glVertexAttrib4sNV = NULL; +PFNGLVERTEXATTRIB4FNVPROC glVertexAttrib4fNV = NULL; +PFNGLVERTEXATTRIB4DNVPROC glVertexAttrib4dNV = NULL; +PFNGLVERTEXATTRIB4UBNVPROC glVertexAttrib4ubNV = NULL; +PFNGLVERTEXATTRIB1SVNVPROC glVertexAttrib1svNV = NULL; +PFNGLVERTEXATTRIB1FVNVPROC glVertexAttrib1fvNV = NULL; +PFNGLVERTEXATTRIB1DVNVPROC glVertexAttrib1dvNV = NULL; +PFNGLVERTEXATTRIB2SVNVPROC glVertexAttrib2svNV = NULL; +PFNGLVERTEXATTRIB2FVNVPROC glVertexAttrib2fvNV = NULL; +PFNGLVERTEXATTRIB2DVNVPROC glVertexAttrib2dvNV = NULL; +PFNGLVERTEXATTRIB3SVNVPROC glVertexAttrib3svNV = NULL; +PFNGLVERTEXATTRIB3FVNVPROC glVertexAttrib3fvNV = NULL; +PFNGLVERTEXATTRIB3DVNVPROC glVertexAttrib3dvNV = NULL; +PFNGLVERTEXATTRIB4SVNVPROC glVertexAttrib4svNV = NULL; +PFNGLVERTEXATTRIB4FVNVPROC glVertexAttrib4fvNV = NULL; +PFNGLVERTEXATTRIB4DVNVPROC glVertexAttrib4dvNV = NULL; +PFNGLVERTEXATTRIB4UBVNVPROC glVertexAttrib4ubvNV = NULL; +PFNGLVERTEXATTRIBS1SVNVPROC glVertexAttribs1svNV = NULL; +PFNGLVERTEXATTRIBS1FVNVPROC glVertexAttribs1fvNV = NULL; +PFNGLVERTEXATTRIBS1DVNVPROC glVertexAttribs1dvNV = NULL; +PFNGLVERTEXATTRIBS2SVNVPROC glVertexAttribs2svNV = NULL; +PFNGLVERTEXATTRIBS2FVNVPROC glVertexAttribs2fvNV = NULL; +PFNGLVERTEXATTRIBS2DVNVPROC glVertexAttribs2dvNV = NULL; +PFNGLVERTEXATTRIBS3SVNVPROC glVertexAttribs3svNV = NULL; +PFNGLVERTEXATTRIBS3FVNVPROC glVertexAttribs3fvNV = NULL; +PFNGLVERTEXATTRIBS3DVNVPROC glVertexAttribs3dvNV = NULL; +PFNGLVERTEXATTRIBS4SVNVPROC glVertexAttribs4svNV = NULL; +PFNGLVERTEXATTRIBS4FVNVPROC glVertexAttribs4fvNV = NULL; +PFNGLVERTEXATTRIBS4DVNVPROC glVertexAttribs4dvNV = NULL; +PFNGLVERTEXATTRIBS4UBVNVPROC glVertexAttribs4ubvNV = NULL; static GLboolean _glewInit_NV_vertex_program () { GLboolean r = GL_FALSE; - r = r || (glBindProgramNV = (glBindProgramNVPROC)glewGetProcAddress("glBindProgramNV")) == NULL; - r = r || (glDeleteProgramsNV = (glDeleteProgramsNVPROC)glewGetProcAddress("glDeleteProgramsNV")) == NULL; - r = r || (glExecuteProgramNV = (glExecuteProgramNVPROC)glewGetProcAddress("glExecuteProgramNV")) == NULL; - r = r || (glGenProgramsNV = (glGenProgramsNVPROC)glewGetProcAddress("glGenProgramsNV")) == NULL; - r = r || (glAreProgramsResidentNV = (glAreProgramsResidentNVPROC)glewGetProcAddress("glAreProgramsResidentNV")) == NULL; - r = r || (glRequestResidentProgramsNV = (glRequestResidentProgramsNVPROC)glewGetProcAddress("glRequestResidentProgramsNV")) == NULL; - r = r || (glGetProgramParameterfvNV = (glGetProgramParameterfvNVPROC)glewGetProcAddress("glGetProgramParameterfvNV")) == NULL; - r = r || (glGetProgramParameterdvNV = (glGetProgramParameterdvNVPROC)glewGetProcAddress("glGetProgramParameterdvNV")) == NULL; - r = r || (glGetProgramivNV = (glGetProgramivNVPROC)glewGetProcAddress("glGetProgramivNV")) == NULL; - r = r || (glGetProgramStringNV = (glGetProgramStringNVPROC)glewGetProcAddress("glGetProgramStringNV")) == NULL; - r = r || (glGetTrackMatrixivNV = (glGetTrackMatrixivNVPROC)glewGetProcAddress("glGetTrackMatrixivNV")) == NULL; - r = r || (glGetVertexAttribdvNV = (glGetVertexAttribdvNVPROC)glewGetProcAddress("glGetVertexAttribdvNV")) == NULL; - r = r || (glGetVertexAttribfvNV = (glGetVertexAttribfvNVPROC)glewGetProcAddress("glGetVertexAttribfvNV")) == NULL; - r = r || (glGetVertexAttribivNV = (glGetVertexAttribivNVPROC)glewGetProcAddress("glGetVertexAttribivNV")) == NULL; - r = r || (glGetVertexAttribPointervNV = (glGetVertexAttribPointervNVPROC)glewGetProcAddress("glGetVertexAttribPointervNV")) == NULL; - r = r || (glIsProgramNV = (glIsProgramNVPROC)glewGetProcAddress("glIsProgramNV")) == NULL; - r = r || (glLoadProgramNV = (glLoadProgramNVPROC)glewGetProcAddress("glLoadProgramNV")) == NULL; - r = r || (glProgramParameter4fNV = (glProgramParameter4fNVPROC)glewGetProcAddress("glProgramParameter4fNV")) == NULL; - r = r || (glProgramParameter4dNV = (glProgramParameter4dNVPROC)glewGetProcAddress("glProgramParameter4dNV")) == NULL; - r = r || (glProgramParameter4dvNV = (glProgramParameter4dvNVPROC)glewGetProcAddress("glProgramParameter4dvNV")) == NULL; - r = r || (glProgramParameter4fvNV = (glProgramParameter4fvNVPROC)glewGetProcAddress("glProgramParameter4fvNV")) == NULL; - r = r || (glProgramParameters4dvNV = (glProgramParameters4dvNVPROC)glewGetProcAddress("glProgramParameters4dvNV")) == NULL; - r = r || (glProgramParameters4fvNV = (glProgramParameters4fvNVPROC)glewGetProcAddress("glProgramParameters4fvNV")) == NULL; - r = r || (glTrackMatrixNV = (glTrackMatrixNVPROC)glewGetProcAddress("glTrackMatrixNV")) == NULL; - r = r || (glVertexAttribPointerNV = (glVertexAttribPointerNVPROC)glewGetProcAddress("glVertexAttribPointerNV")) == NULL; - r = r || (glVertexAttrib1sNV = (glVertexAttrib1sNVPROC)glewGetProcAddress("glVertexAttrib1sNV")) == NULL; - r = r || (glVertexAttrib1fNV = (glVertexAttrib1fNVPROC)glewGetProcAddress("glVertexAttrib1fNV")) == NULL; - r = r || (glVertexAttrib1dNV = (glVertexAttrib1dNVPROC)glewGetProcAddress("glVertexAttrib1dNV")) == NULL; - r = r || (glVertexAttrib2sNV = (glVertexAttrib2sNVPROC)glewGetProcAddress("glVertexAttrib2sNV")) == NULL; - r = r || (glVertexAttrib2fNV = (glVertexAttrib2fNVPROC)glewGetProcAddress("glVertexAttrib2fNV")) == NULL; - r = r || (glVertexAttrib2dNV = (glVertexAttrib2dNVPROC)glewGetProcAddress("glVertexAttrib2dNV")) == NULL; - r = r || (glVertexAttrib3sNV = (glVertexAttrib3sNVPROC)glewGetProcAddress("glVertexAttrib3sNV")) == NULL; - r = r || (glVertexAttrib3fNV = (glVertexAttrib3fNVPROC)glewGetProcAddress("glVertexAttrib3fNV")) == NULL; - r = r || (glVertexAttrib3dNV = (glVertexAttrib3dNVPROC)glewGetProcAddress("glVertexAttrib3dNV")) == NULL; - r = r || (glVertexAttrib4sNV = (glVertexAttrib4sNVPROC)glewGetProcAddress("glVertexAttrib4sNV")) == NULL; - r = r || (glVertexAttrib4fNV = (glVertexAttrib4fNVPROC)glewGetProcAddress("glVertexAttrib4fNV")) == NULL; - r = r || (glVertexAttrib4dNV = (glVertexAttrib4dNVPROC)glewGetProcAddress("glVertexAttrib4dNV")) == NULL; - r = r || (glVertexAttrib4ubNV = (glVertexAttrib4ubNVPROC)glewGetProcAddress("glVertexAttrib4ubNV")) == NULL; - r = r || (glVertexAttrib1svNV = (glVertexAttrib1svNVPROC)glewGetProcAddress("glVertexAttrib1svNV")) == NULL; - r = r || (glVertexAttrib1fvNV = (glVertexAttrib1fvNVPROC)glewGetProcAddress("glVertexAttrib1fvNV")) == NULL; - r = r || (glVertexAttrib1dvNV = (glVertexAttrib1dvNVPROC)glewGetProcAddress("glVertexAttrib1dvNV")) == NULL; - r = r || (glVertexAttrib2svNV = (glVertexAttrib2svNVPROC)glewGetProcAddress("glVertexAttrib2svNV")) == NULL; - r = r || (glVertexAttrib2fvNV = (glVertexAttrib2fvNVPROC)glewGetProcAddress("glVertexAttrib2fvNV")) == NULL; - r = r || (glVertexAttrib2dvNV = (glVertexAttrib2dvNVPROC)glewGetProcAddress("glVertexAttrib2dvNV")) == NULL; - r = r || (glVertexAttrib3svNV = (glVertexAttrib3svNVPROC)glewGetProcAddress("glVertexAttrib3svNV")) == NULL; - r = r || (glVertexAttrib3fvNV = (glVertexAttrib3fvNVPROC)glewGetProcAddress("glVertexAttrib3fvNV")) == NULL; - r = r || (glVertexAttrib3dvNV = (glVertexAttrib3dvNVPROC)glewGetProcAddress("glVertexAttrib3dvNV")) == NULL; - r = r || (glVertexAttrib4svNV = (glVertexAttrib4svNVPROC)glewGetProcAddress("glVertexAttrib4svNV")) == NULL; - r = r || (glVertexAttrib4fvNV = (glVertexAttrib4fvNVPROC)glewGetProcAddress("glVertexAttrib4fvNV")) == NULL; - r = r || (glVertexAttrib4dvNV = (glVertexAttrib4dvNVPROC)glewGetProcAddress("glVertexAttrib4dvNV")) == NULL; - r = r || (glVertexAttrib4ubvNV = (glVertexAttrib4ubvNVPROC)glewGetProcAddress("glVertexAttrib4ubvNV")) == NULL; - r = r || (glVertexAttribs1svNV = (glVertexAttribs1svNVPROC)glewGetProcAddress("glVertexAttribs1svNV")) == NULL; - r = r || (glVertexAttribs1fvNV = (glVertexAttribs1fvNVPROC)glewGetProcAddress("glVertexAttribs1fvNV")) == NULL; - r = r || (glVertexAttribs1dvNV = (glVertexAttribs1dvNVPROC)glewGetProcAddress("glVertexAttribs1dvNV")) == NULL; - r = r || (glVertexAttribs2svNV = (glVertexAttribs2svNVPROC)glewGetProcAddress("glVertexAttribs2svNV")) == NULL; - r = r || (glVertexAttribs2fvNV = (glVertexAttribs2fvNVPROC)glewGetProcAddress("glVertexAttribs2fvNV")) == NULL; - r = r || (glVertexAttribs2dvNV = (glVertexAttribs2dvNVPROC)glewGetProcAddress("glVertexAttribs2dvNV")) == NULL; - r = r || (glVertexAttribs3svNV = (glVertexAttribs3svNVPROC)glewGetProcAddress("glVertexAttribs3svNV")) == NULL; - r = r || (glVertexAttribs3fvNV = (glVertexAttribs3fvNVPROC)glewGetProcAddress("glVertexAttribs3fvNV")) == NULL; - r = r || (glVertexAttribs3dvNV = (glVertexAttribs3dvNVPROC)glewGetProcAddress("glVertexAttribs3dvNV")) == NULL; - r = r || (glVertexAttribs4svNV = (glVertexAttribs4svNVPROC)glewGetProcAddress("glVertexAttribs4svNV")) == NULL; - r = r || (glVertexAttribs4fvNV = (glVertexAttribs4fvNVPROC)glewGetProcAddress("glVertexAttribs4fvNV")) == NULL; - r = r || (glVertexAttribs4dvNV = (glVertexAttribs4dvNVPROC)glewGetProcAddress("glVertexAttribs4dvNV")) == NULL; - r = r || (glVertexAttribs4ubvNV = (glVertexAttribs4ubvNVPROC)glewGetProcAddress("glVertexAttribs4ubvNV")) == NULL; + r = r || (glBindProgramNV = (PFNGLBINDPROGRAMNVPROC)glewGetProcAddress("glBindProgramNV")) == NULL; + r = r || (glDeleteProgramsNV = (PFNGLDELETEPROGRAMSNVPROC)glewGetProcAddress("glDeleteProgramsNV")) == NULL; + r = r || (glExecuteProgramNV = (PFNGLEXECUTEPROGRAMNVPROC)glewGetProcAddress("glExecuteProgramNV")) == NULL; + r = r || (glGenProgramsNV = (PFNGLGENPROGRAMSNVPROC)glewGetProcAddress("glGenProgramsNV")) == NULL; + r = r || (glAreProgramsResidentNV = (PFNGLAREPROGRAMSRESIDENTNVPROC)glewGetProcAddress("glAreProgramsResidentNV")) == NULL; + r = r || (glRequestResidentProgramsNV = (PFNGLREQUESTRESIDENTPROGRAMSNVPROC)glewGetProcAddress("glRequestResidentProgramsNV")) == NULL; + r = r || (glGetProgramParameterfvNV = (PFNGLGETPROGRAMPARAMETERFVNVPROC)glewGetProcAddress("glGetProgramParameterfvNV")) == NULL; + r = r || (glGetProgramParameterdvNV = (PFNGLGETPROGRAMPARAMETERDVNVPROC)glewGetProcAddress("glGetProgramParameterdvNV")) == NULL; + r = r || (glGetProgramivNV = (PFNGLGETPROGRAMIVNVPROC)glewGetProcAddress("glGetProgramivNV")) == NULL; + r = r || (glGetProgramStringNV = (PFNGLGETPROGRAMSTRINGNVPROC)glewGetProcAddress("glGetProgramStringNV")) == NULL; + r = r || (glGetTrackMatrixivNV = (PFNGLGETTRACKMATRIXIVNVPROC)glewGetProcAddress("glGetTrackMatrixivNV")) == NULL; + r = r || (glGetVertexAttribdvNV = (PFNGLGETVERTEXATTRIBDVNVPROC)glewGetProcAddress("glGetVertexAttribdvNV")) == NULL; + r = r || (glGetVertexAttribfvNV = (PFNGLGETVERTEXATTRIBFVNVPROC)glewGetProcAddress("glGetVertexAttribfvNV")) == NULL; + r = r || (glGetVertexAttribivNV = (PFNGLGETVERTEXATTRIBIVNVPROC)glewGetProcAddress("glGetVertexAttribivNV")) == NULL; + r = r || (glGetVertexAttribPointervNV = (PFNGLGETVERTEXATTRIBPOINTERVNVPROC)glewGetProcAddress("glGetVertexAttribPointervNV")) == NULL; + r = r || (glIsProgramNV = (PFNGLISPROGRAMNVPROC)glewGetProcAddress("glIsProgramNV")) == NULL; + r = r || (glLoadProgramNV = (PFNGLLOADPROGRAMNVPROC)glewGetProcAddress("glLoadProgramNV")) == NULL; + r = r || (glProgramParameter4fNV = (PFNGLPROGRAMPARAMETER4FNVPROC)glewGetProcAddress("glProgramParameter4fNV")) == NULL; + r = r || (glProgramParameter4dNV = (PFNGLPROGRAMPARAMETER4DNVPROC)glewGetProcAddress("glProgramParameter4dNV")) == NULL; + r = r || (glProgramParameter4dvNV = (PFNGLPROGRAMPARAMETER4DVNVPROC)glewGetProcAddress("glProgramParameter4dvNV")) == NULL; + r = r || (glProgramParameter4fvNV = (PFNGLPROGRAMPARAMETER4FVNVPROC)glewGetProcAddress("glProgramParameter4fvNV")) == NULL; + r = r || (glProgramParameters4dvNV = (PFNGLPROGRAMPARAMETERS4DVNVPROC)glewGetProcAddress("glProgramParameters4dvNV")) == NULL; + r = r || (glProgramParameters4fvNV = (PFNGLPROGRAMPARAMETERS4FVNVPROC)glewGetProcAddress("glProgramParameters4fvNV")) == NULL; + r = r || (glTrackMatrixNV = (PFNGLTRACKMATRIXNVPROC)glewGetProcAddress("glTrackMatrixNV")) == NULL; + r = r || (glVertexAttribPointerNV = (PFNGLVERTEXATTRIBPOINTERNVPROC)glewGetProcAddress("glVertexAttribPointerNV")) == NULL; + r = r || (glVertexAttrib1sNV = (PFNGLVERTEXATTRIB1SNVPROC)glewGetProcAddress("glVertexAttrib1sNV")) == NULL; + r = r || (glVertexAttrib1fNV = (PFNGLVERTEXATTRIB1FNVPROC)glewGetProcAddress("glVertexAttrib1fNV")) == NULL; + r = r || (glVertexAttrib1dNV = (PFNGLVERTEXATTRIB1DNVPROC)glewGetProcAddress("glVertexAttrib1dNV")) == NULL; + r = r || (glVertexAttrib2sNV = (PFNGLVERTEXATTRIB2SNVPROC)glewGetProcAddress("glVertexAttrib2sNV")) == NULL; + r = r || (glVertexAttrib2fNV = (PFNGLVERTEXATTRIB2FNVPROC)glewGetProcAddress("glVertexAttrib2fNV")) == NULL; + r = r || (glVertexAttrib2dNV = (PFNGLVERTEXATTRIB2DNVPROC)glewGetProcAddress("glVertexAttrib2dNV")) == NULL; + r = r || (glVertexAttrib3sNV = (PFNGLVERTEXATTRIB3SNVPROC)glewGetProcAddress("glVertexAttrib3sNV")) == NULL; + r = r || (glVertexAttrib3fNV = (PFNGLVERTEXATTRIB3FNVPROC)glewGetProcAddress("glVertexAttrib3fNV")) == NULL; + r = r || (glVertexAttrib3dNV = (PFNGLVERTEXATTRIB3DNVPROC)glewGetProcAddress("glVertexAttrib3dNV")) == NULL; + r = r || (glVertexAttrib4sNV = (PFNGLVERTEXATTRIB4SNVPROC)glewGetProcAddress("glVertexAttrib4sNV")) == NULL; + r = r || (glVertexAttrib4fNV = (PFNGLVERTEXATTRIB4FNVPROC)glewGetProcAddress("glVertexAttrib4fNV")) == NULL; + r = r || (glVertexAttrib4dNV = (PFNGLVERTEXATTRIB4DNVPROC)glewGetProcAddress("glVertexAttrib4dNV")) == NULL; + r = r || (glVertexAttrib4ubNV = (PFNGLVERTEXATTRIB4UBNVPROC)glewGetProcAddress("glVertexAttrib4ubNV")) == NULL; + r = r || (glVertexAttrib1svNV = (PFNGLVERTEXATTRIB1SVNVPROC)glewGetProcAddress("glVertexAttrib1svNV")) == NULL; + r = r || (glVertexAttrib1fvNV = (PFNGLVERTEXATTRIB1FVNVPROC)glewGetProcAddress("glVertexAttrib1fvNV")) == NULL; + r = r || (glVertexAttrib1dvNV = (PFNGLVERTEXATTRIB1DVNVPROC)glewGetProcAddress("glVertexAttrib1dvNV")) == NULL; + r = r || (glVertexAttrib2svNV = (PFNGLVERTEXATTRIB2SVNVPROC)glewGetProcAddress("glVertexAttrib2svNV")) == NULL; + r = r || (glVertexAttrib2fvNV = (PFNGLVERTEXATTRIB2FVNVPROC)glewGetProcAddress("glVertexAttrib2fvNV")) == NULL; + r = r || (glVertexAttrib2dvNV = (PFNGLVERTEXATTRIB2DVNVPROC)glewGetProcAddress("glVertexAttrib2dvNV")) == NULL; + r = r || (glVertexAttrib3svNV = (PFNGLVERTEXATTRIB3SVNVPROC)glewGetProcAddress("glVertexAttrib3svNV")) == NULL; + r = r || (glVertexAttrib3fvNV = (PFNGLVERTEXATTRIB3FVNVPROC)glewGetProcAddress("glVertexAttrib3fvNV")) == NULL; + r = r || (glVertexAttrib3dvNV = (PFNGLVERTEXATTRIB3DVNVPROC)glewGetProcAddress("glVertexAttrib3dvNV")) == NULL; + r = r || (glVertexAttrib4svNV = (PFNGLVERTEXATTRIB4SVNVPROC)glewGetProcAddress("glVertexAttrib4svNV")) == NULL; + r = r || (glVertexAttrib4fvNV = (PFNGLVERTEXATTRIB4FVNVPROC)glewGetProcAddress("glVertexAttrib4fvNV")) == NULL; + r = r || (glVertexAttrib4dvNV = (PFNGLVERTEXATTRIB4DVNVPROC)glewGetProcAddress("glVertexAttrib4dvNV")) == NULL; + r = r || (glVertexAttrib4ubvNV = (PFNGLVERTEXATTRIB4UBVNVPROC)glewGetProcAddress("glVertexAttrib4ubvNV")) == NULL; + r = r || (glVertexAttribs1svNV = (PFNGLVERTEXATTRIBS1SVNVPROC)glewGetProcAddress("glVertexAttribs1svNV")) == NULL; + r = r || (glVertexAttribs1fvNV = (PFNGLVERTEXATTRIBS1FVNVPROC)glewGetProcAddress("glVertexAttribs1fvNV")) == NULL; + r = r || (glVertexAttribs1dvNV = (PFNGLVERTEXATTRIBS1DVNVPROC)glewGetProcAddress("glVertexAttribs1dvNV")) == NULL; + r = r || (glVertexAttribs2svNV = (PFNGLVERTEXATTRIBS2SVNVPROC)glewGetProcAddress("glVertexAttribs2svNV")) == NULL; + r = r || (glVertexAttribs2fvNV = (PFNGLVERTEXATTRIBS2FVNVPROC)glewGetProcAddress("glVertexAttribs2fvNV")) == NULL; + r = r || (glVertexAttribs2dvNV = (PFNGLVERTEXATTRIBS2DVNVPROC)glewGetProcAddress("glVertexAttribs2dvNV")) == NULL; + r = r || (glVertexAttribs3svNV = (PFNGLVERTEXATTRIBS3SVNVPROC)glewGetProcAddress("glVertexAttribs3svNV")) == NULL; + r = r || (glVertexAttribs3fvNV = (PFNGLVERTEXATTRIBS3FVNVPROC)glewGetProcAddress("glVertexAttribs3fvNV")) == NULL; + r = r || (glVertexAttribs3dvNV = (PFNGLVERTEXATTRIBS3DVNVPROC)glewGetProcAddress("glVertexAttribs3dvNV")) == NULL; + r = r || (glVertexAttribs4svNV = (PFNGLVERTEXATTRIBS4SVNVPROC)glewGetProcAddress("glVertexAttribs4svNV")) == NULL; + r = r || (glVertexAttribs4fvNV = (PFNGLVERTEXATTRIBS4FVNVPROC)glewGetProcAddress("glVertexAttribs4fvNV")) == NULL; + r = r || (glVertexAttribs4dvNV = (PFNGLVERTEXATTRIBS4DVNVPROC)glewGetProcAddress("glVertexAttribs4dvNV")) == NULL; + r = r || (glVertexAttribs4ubvNV = (PFNGLVERTEXATTRIBS4UBVNVPROC)glewGetProcAddress("glVertexAttribs4ubvNV")) == NULL; return r; } #endif /* GL_NV_vertex_program */ @@ -1826,18 +1841,18 @@ static GLboolean _glewInit_NV_vertex_program () /* ---------------------------- ARB_buffer_region ------------------------- */ #ifdef WGL_ARB_buffer_region -wglCreateBufferRegionARBPROC wglCreateBufferRegionARB = NULL; -wglDeleteBufferRegionARBPROC wglDeleteBufferRegionARB = NULL; -wglSaveBufferRegionARBPROC wglSaveBufferRegionARB = NULL; -wglRestoreBufferRegionARBPROC wglRestoreBufferRegionARB = NULL; +PFNWGLCREATEBUFFERREGIONARBPROC wglCreateBufferRegionARB = NULL; +PFNWGLDELETEBUFFERREGIONARBPROC wglDeleteBufferRegionARB = NULL; +PFNWGLSAVEBUFFERREGIONARBPROC wglSaveBufferRegionARB = NULL; +PFNWGLRESTOREBUFFERREGIONARBPROC wglRestoreBufferRegionARB = NULL; static GLboolean _wglewInit_ARB_buffer_region () { GLboolean r = GL_FALSE; - r = r || (wglCreateBufferRegionARB = (wglCreateBufferRegionARBPROC)glewGetProcAddress("wglCreateBufferRegionARB")) == NULL; - r = r || (wglDeleteBufferRegionARB = (wglDeleteBufferRegionARBPROC)glewGetProcAddress("wglDeleteBufferRegionARB")) == NULL; - r = r || (wglSaveBufferRegionARB = (wglSaveBufferRegionARBPROC)glewGetProcAddress("wglSaveBufferRegionARB")) == NULL; - r = r || (wglRestoreBufferRegionARB = (wglRestoreBufferRegionARBPROC)glewGetProcAddress("wglRestoreBufferRegionARB")) == NULL; + r = r || (wglCreateBufferRegionARB = (PFNWGLCREATEBUFFERREGIONARBPROC)glewGetProcAddress("wglCreateBufferRegionARB")) == NULL; + r = r || (wglDeleteBufferRegionARB = (PFNWGLDELETEBUFFERREGIONARBPROC)glewGetProcAddress("wglDeleteBufferRegionARB")) == NULL; + r = r || (wglSaveBufferRegionARB = (PFNWGLSAVEBUFFERREGIONARBPROC)glewGetProcAddress("wglSaveBufferRegionARB")) == NULL; + r = r || (wglRestoreBufferRegionARB = (PFNWGLRESTOREBUFFERREGIONARBPROC)glewGetProcAddress("wglRestoreBufferRegionARB")) == NULL; return r; } #endif /* WGL_ARB_buffer_region */ @@ -1845,12 +1860,12 @@ static GLboolean _wglewInit_ARB_buffer_region () /* -------------------------- ARB_extensions_string ----------------------- */ #ifdef WGL_ARB_extensions_string -wglGetExtensionsStringARBPROC wglGetExtensionsStringARB = NULL; +PFNWGLGETEXTENSIONSSTRINGARBPROC wglGetExtensionsStringARB = NULL; static GLboolean _wglewInit_ARB_extensions_string () { GLboolean r = GL_FALSE; - r = r || (wglGetExtensionsStringARB = (wglGetExtensionsStringARBPROC)glewGetProcAddress("wglGetExtensionsStringARB")) == NULL; + r = r || (wglGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress("wglGetExtensionsStringARB")) == NULL; return r; } #endif /* WGL_ARB_extensions_string */ @@ -1858,14 +1873,14 @@ static GLboolean _wglewInit_ARB_extensions_string () /* -------------------------- ARB_make_current_read ----------------------- */ #ifdef WGL_ARB_make_current_read -wglMakeContextCurrentARBPROC wglMakeContextCurrentARB = NULL; -wglGetCurrentReadDCARBPROC wglGetCurrentReadDCARB = NULL; +PFNWGLMAKECONTEXTCURRENTARBPROC wglMakeContextCurrentARB = NULL; +PFNWGLGETCURRENTREADDCARBPROC wglGetCurrentReadDCARB = NULL; static GLboolean _wglewInit_ARB_make_current_read () { GLboolean r = GL_FALSE; - r = r || (wglMakeContextCurrentARB = (wglMakeContextCurrentARBPROC)glewGetProcAddress("wglMakeContextCurrentARB")) == NULL; - r = r || (wglGetCurrentReadDCARB = (wglGetCurrentReadDCARBPROC)glewGetProcAddress("wglGetCurrentReadDCARB")) == NULL; + r = r || (wglMakeContextCurrentARB = (PFNWGLMAKECONTEXTCURRENTARBPROC)glewGetProcAddress("wglMakeContextCurrentARB")) == NULL; + r = r || (wglGetCurrentReadDCARB = (PFNWGLGETCURRENTREADDCARBPROC)glewGetProcAddress("wglGetCurrentReadDCARB")) == NULL; return r; } #endif /* WGL_ARB_make_current_read */ @@ -1873,20 +1888,20 @@ static GLboolean _wglewInit_ARB_make_current_read () /* ------------------------------ ARB_pbuffer ----------------------------- */ #ifdef WGL_ARB_pbuffer -wglCreatePbufferARBPROC wglCreatePbufferARB = NULL; -wglGetPbufferDCARBPROC wglGetPbufferDCARB = NULL; -wglReleasePbufferDCARBPROC wglReleasePbufferDCARB = NULL; -wglDestroyPbufferARBPROC wglDestroyPbufferARB = NULL; -wglQueryPbufferARBPROC wglQueryPbufferARB = NULL; +PFNWGLCREATEPBUFFERARBPROC wglCreatePbufferARB = NULL; +PFNWGLGETPBUFFERDCARBPROC wglGetPbufferDCARB = NULL; +PFNWGLRELEASEPBUFFERDCARBPROC wglReleasePbufferDCARB = NULL; +PFNWGLDESTROYPBUFFERARBPROC wglDestroyPbufferARB = NULL; +PFNWGLQUERYPBUFFERARBPROC wglQueryPbufferARB = NULL; static GLboolean _wglewInit_ARB_pbuffer () { GLboolean r = GL_FALSE; - r = r || (wglCreatePbufferARB = (wglCreatePbufferARBPROC)glewGetProcAddress("wglCreatePbufferARB")) == NULL; - r = r || (wglGetPbufferDCARB = (wglGetPbufferDCARBPROC)glewGetProcAddress("wglGetPbufferDCARB")) == NULL; - r = r || (wglReleasePbufferDCARB = (wglReleasePbufferDCARBPROC)glewGetProcAddress("wglReleasePbufferDCARB")) == NULL; - r = r || (wglDestroyPbufferARB = (wglDestroyPbufferARBPROC)glewGetProcAddress("wglDestroyPbufferARB")) == NULL; - r = r || (wglQueryPbufferARB = (wglQueryPbufferARBPROC)glewGetProcAddress("wglQueryPbufferARB")) == NULL; + r = r || (wglCreatePbufferARB = (PFNWGLCREATEPBUFFERARBPROC)glewGetProcAddress("wglCreatePbufferARB")) == NULL; + r = r || (wglGetPbufferDCARB = (PFNWGLGETPBUFFERDCARBPROC)glewGetProcAddress("wglGetPbufferDCARB")) == NULL; + r = r || (wglReleasePbufferDCARB = (PFNWGLRELEASEPBUFFERDCARBPROC)glewGetProcAddress("wglReleasePbufferDCARB")) == NULL; + r = r || (wglDestroyPbufferARB = (PFNWGLDESTROYPBUFFERARBPROC)glewGetProcAddress("wglDestroyPbufferARB")) == NULL; + r = r || (wglQueryPbufferARB = (PFNWGLQUERYPBUFFERARBPROC)glewGetProcAddress("wglQueryPbufferARB")) == NULL; return r; } #endif /* WGL_ARB_pbuffer */ @@ -1894,16 +1909,16 @@ static GLboolean _wglewInit_ARB_pbuffer () /* --------------------------- ARB_pixel_format --------------------------- */ #ifdef WGL_ARB_pixel_format -wglGetPixelFormatAttribivARBPROC wglGetPixelFormatAttribivARB = NULL; -wglGetPixelFormatAttribfvARBPROC wglGetPixelFormatAttribfvARB = NULL; -wglChoosePixelFormatARBPROC wglChoosePixelFormatARB = NULL; +PFNWGLGETPIXELFORMATATTRIBIVARBPROC wglGetPixelFormatAttribivARB = NULL; +PFNWGLGETPIXELFORMATATTRIBFVARBPROC wglGetPixelFormatAttribfvARB = NULL; +PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB = NULL; static GLboolean _wglewInit_ARB_pixel_format () { GLboolean r = GL_FALSE; - r = r || (wglGetPixelFormatAttribivARB = (wglGetPixelFormatAttribivARBPROC)glewGetProcAddress("wglGetPixelFormatAttribivARB")) == NULL; - r = r || (wglGetPixelFormatAttribfvARB = (wglGetPixelFormatAttribfvARBPROC)glewGetProcAddress("wglGetPixelFormatAttribfvARB")) == NULL; - r = r || (wglChoosePixelFormatARB = (wglChoosePixelFormatARBPROC)glewGetProcAddress("wglChoosePixelFormatARB")) == NULL; + r = r || (wglGetPixelFormatAttribivARB = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC)glewGetProcAddress("wglGetPixelFormatAttribivARB")) == NULL; + r = r || (wglGetPixelFormatAttribfvARB = (PFNWGLGETPIXELFORMATATTRIBFVARBPROC)glewGetProcAddress("wglGetPixelFormatAttribfvARB")) == NULL; + r = r || (wglChoosePixelFormatARB = (PFNWGLCHOOSEPIXELFORMATARBPROC)glewGetProcAddress("wglChoosePixelFormatARB")) == NULL; return r; } #endif /* WGL_ARB_pixel_format */ @@ -1911,16 +1926,16 @@ static GLboolean _wglewInit_ARB_pixel_format () /* -------------------------- ARB_render_texture -------------------------- */ #ifdef WGL_ARB_render_texture -wglBindTexImageARBPROC wglBindTexImageARB = NULL; -wglReleaseTexImageARBPROC wglReleaseTexImageARB = NULL; -wglSetPbufferAttribARBPROC wglSetPbufferAttribARB = NULL; +PFNWGLBINDTEXIMAGEARBPROC wglBindTexImageARB = NULL; +PFNWGLRELEASETEXIMAGEARBPROC wglReleaseTexImageARB = NULL; +PFNWGLSETPBUFFERATTRIBARBPROC wglSetPbufferAttribARB = NULL; static GLboolean _wglewInit_ARB_render_texture () { GLboolean r = GL_FALSE; - r = r || (wglBindTexImageARB = (wglBindTexImageARBPROC)glewGetProcAddress("wglBindTexImageARB")) == NULL; - r = r || (wglReleaseTexImageARB = (wglReleaseTexImageARBPROC)glewGetProcAddress("wglReleaseTexImageARB")) == NULL; - r = r || (wglSetPbufferAttribARB = (wglSetPbufferAttribARBPROC)glewGetProcAddress("wglSetPbufferAttribARB")) == NULL; + r = r || (wglBindTexImageARB = (PFNWGLBINDTEXIMAGEARBPROC)glewGetProcAddress("wglBindTexImageARB")) == NULL; + r = r || (wglReleaseTexImageARB = (PFNWGLRELEASETEXIMAGEARBPROC)glewGetProcAddress("wglReleaseTexImageARB")) == NULL; + r = r || (wglSetPbufferAttribARB = (PFNWGLSETPBUFFERATTRIBARBPROC)glewGetProcAddress("wglSetPbufferAttribARB")) == NULL; return r; } #endif /* WGL_ARB_render_texture */ @@ -1929,18 +1944,18 @@ static GLboolean _wglewInit_ARB_render_texture () #ifdef WGL_EXT_display_color_table -wglCreateDisplayColorTableEXTPROC wglCreateDisplayColorTableEXT = NULL; -wglLoadDisplayColorTableEXTPROC wglLoadDisplayColorTableEXT = NULL; -wglBindDisplayColorTableEXTPROC wglBindDisplayColorTableEXT = NULL; -wglDestroyDisplayColorTableEXTPROC wglDestroyDisplayColorTableEXT = NULL; +PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC wglCreateDisplayColorTableEXT = NULL; +PFNWGLLOADDISPLAYCOLORTABLEEXTPROC wglLoadDisplayColorTableEXT = NULL; +PFNWGLBINDDISPLAYCOLORTABLEEXTPROC wglBindDisplayColorTableEXT = NULL; +PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC wglDestroyDisplayColorTableEXT = NULL; static GLboolean _wglewInit_EXT_display_color_table () { GLboolean r = GL_FALSE; - r = r || (wglCreateDisplayColorTableEXT = (wglCreateDisplayColorTableEXTPROC)glewGetProcAddress("wglCreateDisplayColorTableEXT")) == NULL; - r = r || (wglLoadDisplayColorTableEXT = (wglLoadDisplayColorTableEXTPROC)glewGetProcAddress("wglLoadDisplayColorTableEXT")) == NULL; - r = r || (wglBindDisplayColorTableEXT = (wglBindDisplayColorTableEXTPROC)glewGetProcAddress("wglBindDisplayColorTableEXT")) == NULL; - r = r || (wglDestroyDisplayColorTableEXT = (wglDestroyDisplayColorTableEXTPROC)glewGetProcAddress("wglDestroyDisplayColorTableEXT")) == NULL; + r = r || (wglCreateDisplayColorTableEXT = (PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress("wglCreateDisplayColorTableEXT")) == NULL; + r = r || (wglLoadDisplayColorTableEXT = (PFNWGLLOADDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress("wglLoadDisplayColorTableEXT")) == NULL; + r = r || (wglBindDisplayColorTableEXT = (PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress("wglBindDisplayColorTableEXT")) == NULL; + r = r || (wglDestroyDisplayColorTableEXT = (PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress("wglDestroyDisplayColorTableEXT")) == NULL; return r; } #endif /* WGL_EXT_display_color_table */ @@ -1949,14 +1964,14 @@ static GLboolean _wglewInit_EXT_display_color_table () #ifdef WGL_EXT_make_current_read -wglMakeContextCurrentEXTPROC wglMakeContextCurrentEXT = NULL; -wglGetCurrentReadDCEXTPROC wglGetCurrentReadDCEXT = NULL; +PFNWGLMAKECONTEXTCURRENTEXTPROC wglMakeContextCurrentEXT = NULL; +PFNWGLGETCURRENTREADDCEXTPROC wglGetCurrentReadDCEXT = NULL; static GLboolean _wglewInit_EXT_make_current_read () { GLboolean r = GL_FALSE; - r = r || (wglMakeContextCurrentEXT = (wglMakeContextCurrentEXTPROC)glewGetProcAddress("wglMakeContextCurrentEXT")) == NULL; - r = r || (wglGetCurrentReadDCEXT = (wglGetCurrentReadDCEXTPROC)glewGetProcAddress("wglGetCurrentReadDCEXT")) == NULL; + r = r || (wglMakeContextCurrentEXT = (PFNWGLMAKECONTEXTCURRENTEXTPROC)glewGetProcAddress("wglMakeContextCurrentEXT")) == NULL; + r = r || (wglGetCurrentReadDCEXT = (PFNWGLGETCURRENTREADDCEXTPROC)glewGetProcAddress("wglGetCurrentReadDCEXT")) == NULL; return r; } #endif /* WGL_EXT_make_current_read */ @@ -1964,12 +1979,12 @@ static GLboolean _wglewInit_EXT_make_current_read () /* ------------------------- EXT_extensions_string ------------------------ */ #ifdef WGL_EXT_extensions_string -wglGetExtensionsStringEXTPROC wglGetExtensionsStringEXT = NULL; +PFNWGLGETEXTENSIONSSTRINGEXTPROC wglGetExtensionsStringEXT = NULL; static GLboolean _wglewInit_EXT_extensions_string () { GLboolean r = GL_FALSE; - r = r || (wglGetExtensionsStringEXT = (wglGetExtensionsStringEXTPROC)glewGetProcAddress("wglGetExtensionsStringEXT")) == NULL; + r = r || (wglGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress("wglGetExtensionsStringEXT")) == NULL; return r; } #endif /* WGL_EXT_extensions_string */ @@ -1978,16 +1993,16 @@ static GLboolean _wglewInit_EXT_extensions_string () #ifdef WGL_EXT_pixel_format -wglGetPixelFormatAttribivEXTPROC wglGetPixelFormatAttribivEXT = NULL; -wglGetPixelFormatAttribfvEXTPROC wglGetPixelFormatAttribfvEXT = NULL; -wglChoosePixelFormatEXTPROC wglChoosePixelFormatEXT = NULL; +PFNWGLGETPIXELFORMATATTRIBIVEXTPROC wglGetPixelFormatAttribivEXT = NULL; +PFNWGLGETPIXELFORMATATTRIBFVEXTPROC wglGetPixelFormatAttribfvEXT = NULL; +PFNWGLCHOOSEPIXELFORMATEXTPROC wglChoosePixelFormatEXT = NULL; static GLboolean _wglewInit_EXT_pixel_format () { GLboolean r = GL_FALSE; - r = r || (wglGetPixelFormatAttribivEXT = (wglGetPixelFormatAttribivEXTPROC)glewGetProcAddress("wglGetPixelFormatAttribivEXT")) == NULL; - r = r || (wglGetPixelFormatAttribfvEXT = (wglGetPixelFormatAttribfvEXTPROC)glewGetProcAddress("wglGetPixelFormatAttribfvEXT")) == NULL; - r = r || (wglChoosePixelFormatEXT = (wglChoosePixelFormatEXTPROC)glewGetProcAddress("wglChoosePixelFormatEXT")) == NULL; + r = r || (wglGetPixelFormatAttribivEXT = (PFNWGLGETPIXELFORMATATTRIBIVEXTPROC)glewGetProcAddress("wglGetPixelFormatAttribivEXT")) == NULL; + r = r || (wglGetPixelFormatAttribfvEXT = (PFNWGLGETPIXELFORMATATTRIBFVEXTPROC)glewGetProcAddress("wglGetPixelFormatAttribfvEXT")) == NULL; + r = r || (wglChoosePixelFormatEXT = (PFNWGLCHOOSEPIXELFORMATEXTPROC)glewGetProcAddress("wglChoosePixelFormatEXT")) == NULL; return r; } @@ -1997,20 +2012,20 @@ static GLboolean _wglewInit_EXT_pixel_format () #ifdef WGL_EXT_pbuffer -wglCreatePbufferEXTPROC wglCreatePbufferEXT = NULL; -wglGetPbufferDCEXTPROC wglGetPbufferDCEXT = NULL; -wglReleasePbufferDCEXTPROC wglReleasePbufferDCEXT = NULL; -wglDestroyPbufferEXTPROC wglDestroyPbufferEXT = NULL; -wglQueryPbufferEXTPROC wglQueryPbufferEXT = NULL; +PFNWGLCREATEPBUFFEREXTPROC wglCreatePbufferEXT = NULL; +PFNWGLGETPBUFFERDCEXTPROC wglGetPbufferDCEXT = NULL; +PFNWGLRELEASEPBUFFERDCEXTPROC wglReleasePbufferDCEXT = NULL; +PFNWGLDESTROYPBUFFEREXTPROC wglDestroyPbufferEXT = NULL; +PFNWGLQUERYPBUFFEREXTPROC wglQueryPbufferEXT = NULL; static GLboolean _wglewInit_EXT_pbuffer () { GLboolean r = GL_FALSE; - r = r || (wglCreatePbufferEXT = (wglCreatePbufferEXTPROC)glewGetProcAddress("wglCreatePbufferEXT")) == NULL; - r = r || (wglGetPbufferDCEXT = (wglGetPbufferDCEXTPROC)glewGetProcAddress("wglGetPbufferDCEXT")) == NULL; - r = r || (wglReleasePbufferDCEXT = (wglReleasePbufferDCEXTPROC)glewGetProcAddress("wglReleasePbufferDCEXT")) == NULL; - r = r || (wglDestroyPbufferEXT = (wglDestroyPbufferEXTPROC)glewGetProcAddress("wglDestroyPbufferEXT")) == NULL; - r = r || (wglQueryPbufferEXT = (wglQueryPbufferEXTPROC)glewGetProcAddress("wglQueryPbufferEXT")) == NULL; + r = r || (wglCreatePbufferEXT = (PFNWGLCREATEPBUFFEREXTPROC)glewGetProcAddress("wglCreatePbufferEXT")) == NULL; + r = r || (wglGetPbufferDCEXT = (PFNWGLGETPBUFFERDCEXTPROC)glewGetProcAddress("wglGetPbufferDCEXT")) == NULL; + r = r || (wglReleasePbufferDCEXT = (PFNWGLRELEASEPBUFFERDCEXTPROC)glewGetProcAddress("wglReleasePbufferDCEXT")) == NULL; + r = r || (wglDestroyPbufferEXT = (PFNWGLDESTROYPBUFFEREXTPROC)glewGetProcAddress("wglDestroyPbufferEXT")) == NULL; + r = r || (wglQueryPbufferEXT = (PFNWGLQUERYPBUFFEREXTPROC)glewGetProcAddress("wglQueryPbufferEXT")) == NULL; return r; } @@ -2019,14 +2034,14 @@ static GLboolean _wglewInit_EXT_pbuffer () /* --------------------------- EXT_swap_control --------------------------- */ #ifdef WGL_EXT_swap_control -wglSwapIntervalEXTPROC wglSwapIntervalEXT = NULL; -wglGetSwapIntervalEXTPROC wglGetSwapIntervalEXT = NULL; +PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT = NULL; +PFNWGLGETSWAPINTERVALEXTPROC wglGetSwapIntervalEXT = NULL; static GLboolean _wglewInit_EXT_swap_control () { GLboolean r = GL_FALSE; - r = r || (wglSwapIntervalEXT = (wglSwapIntervalEXTPROC)glewGetProcAddress("wglSwapIntervalEXT")) == NULL; - r = r || (wglGetSwapIntervalEXT = (wglGetSwapIntervalEXTPROC)glewGetProcAddress("wglGetSwapIntervalEXT")) == NULL; + r = r || (wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC)glewGetProcAddress("wglSwapIntervalEXT")) == NULL; + r = r || (wglGetSwapIntervalEXT = (PFNWGLGETSWAPINTERVALEXTPROC)glewGetProcAddress("wglGetSwapIntervalEXT")) == NULL; return r; } #endif /* WGL_EXT_swap_control */ @@ -2034,14 +2049,14 @@ static GLboolean _wglewInit_EXT_swap_control () /* ------------------------ I3D_digital_video_control --------------------- */ #ifdef WGL_I3D_digital_video_control -wglGetDigitalVideoParametersI3DPROC wglGetDigitalVideoParametersI3D = NULL; -wglSetDigitalVideoParametersI3DPROC wglSetDigitalVideoParametersI3D = NULL; +PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC wglGetDigitalVideoParametersI3D = NULL; +PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC wglSetDigitalVideoParametersI3D = NULL; static GLboolean _wglewInit_I3D_digital_video_control () { GLboolean r = GL_FALSE; - r = r || (wglGetDigitalVideoParametersI3D = (wglGetDigitalVideoParametersI3DPROC)glewGetProcAddress("wglGetDigitalVideoParametersI3D")) == NULL; - r = r || (wglSetDigitalVideoParametersI3D = (wglSetDigitalVideoParametersI3DPROC)glewGetProcAddress("wglSetDigitalVideoParametersI3D")) == NULL; + r = r || (wglGetDigitalVideoParametersI3D = (PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress("wglGetDigitalVideoParametersI3D")) == NULL; + r = r || (wglSetDigitalVideoParametersI3D = (PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress("wglSetDigitalVideoParametersI3D")) == NULL; return r; } #endif /* WGL_I3D_digital_video_control */ @@ -2049,18 +2064,18 @@ static GLboolean _wglewInit_I3D_digital_video_control () /* -------------------------------- I3D_gamma ----------------------------- */ #ifdef WGL_I3D_gamma -wglGetGammaTableParametersI3DPROC wglGetGammaTableParametersI3D = NULL; -wglSetGammaTableParametersI3DPROC wglSetGammaTableParametersI3D = NULL; -wglGetGammaTableI3DPROC wglGetGammaTableI3D = NULL; -wglSetGammaTableI3DPROC wglSetGammaTableI3D = NULL; +PFNWGLGETGAMMATABLEPARAMETERSI3DPROC wglGetGammaTableParametersI3D = NULL; +PFNWGLSETGAMMATABLEPARAMETERSI3DPROC wglSetGammaTableParametersI3D = NULL; +PFNWGLGETGAMMATABLEI3DPROC wglGetGammaTableI3D = NULL; +PFNWGLSETGAMMATABLEI3DPROC wglSetGammaTableI3D = NULL; static GLboolean _wglewInit_I3D_gamma () { GLboolean r = GL_FALSE; - r = r || (wglGetGammaTableParametersI3D = (wglGetGammaTableParametersI3DPROC)glewGetProcAddress("wglGetGammaTableParametersI3D")) == NULL; - r = r || (wglSetGammaTableParametersI3D = (wglSetGammaTableParametersI3DPROC)glewGetProcAddress("wglSetGammaTableParametersI3D")) == NULL; - r = r || (wglGetGammaTableI3D = (wglGetGammaTableI3DPROC)glewGetProcAddress("wglGetGammaTableI3D")) == NULL; - r = r || (wglSetGammaTableI3D = (wglSetGammaTableI3DPROC)glewGetProcAddress("wglSetGammaTableI3D")) == NULL; + r = r || (wglGetGammaTableParametersI3D = (PFNWGLGETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress("wglGetGammaTableParametersI3D")) == NULL; + r = r || (wglSetGammaTableParametersI3D = (PFNWGLSETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress("wglSetGammaTableParametersI3D")) == NULL; + r = r || (wglGetGammaTableI3D = (PFNWGLGETGAMMATABLEI3DPROC)glewGetProcAddress("wglGetGammaTableI3D")) == NULL; + r = r || (wglSetGammaTableI3D = (PFNWGLSETGAMMATABLEI3DPROC)glewGetProcAddress("wglSetGammaTableI3D")) == NULL; return r; } #endif /* WGL_I3D_gamma */ @@ -2068,34 +2083,34 @@ static GLboolean _wglewInit_I3D_gamma () /* ------------------------------- I3D_genlock ---------------------------- */ #ifdef WGL_I3D_genlock -wglEnableGenlockI3DPROC wglEnableGenlockI3D = NULL; -wglDisableGenlockI3DPROC wglDisableGenlockI3D = NULL; -wglIsEnabledGenlockI3DPROC wglIsEnabledGenlockI3D = NULL; -wglGenlockSourceI3DPROC wglGenlockSourceI3D = NULL; -wglGetGenlockSourceI3DPROC wglGetGenlockSourceI3D = NULL; -wglGenlockSourceEdgeI3DPROC wglGenlockSourceEdgeI3D = NULL; -wglGetGenlockSourceEdgeI3DPROC wglGetGenlockSourceEdgeI3D = NULL; -wglGenlockSampleRateI3DPROC wglGenlockSampleRateI3D = NULL; -wglGetGenlockSampleRateI3DPROC wglGetGenlockSampleRateI3D = NULL; -wglGenlockSourceDelayI3DPROC wglGenlockSourceDelayI3D = NULL; -wglGetGenlockSourceDelayI3DPROC wglGetGenlockSourceDelayI3D = NULL; -wglQueryGenlockMaxSourceDelayI3DPROC wglQueryGenlockMaxSourceDelayI3D = NULL; +PFNWGLENABLEGENLOCKI3DPROC wglEnableGenlockI3D = NULL; +PFNWGLDISABLEGENLOCKI3DPROC wglDisableGenlockI3D = NULL; +PFNWGLISENABLEDGENLOCKI3DPROC wglIsEnabledGenlockI3D = NULL; +PFNWGLGENLOCKSOURCEI3DPROC wglGenlockSourceI3D = NULL; +PFNWGLGETGENLOCKSOURCEI3DPROC wglGetGenlockSourceI3D = NULL; +PFNWGLGENLOCKSOURCEEDGEI3DPROC wglGenlockSourceEdgeI3D = NULL; +PFNWGLGETGENLOCKSOURCEEDGEI3DPROC wglGetGenlockSourceEdgeI3D = NULL; +PFNWGLGENLOCKSAMPLERATEI3DPROC wglGenlockSampleRateI3D = NULL; +PFNWGLGETGENLOCKSAMPLERATEI3DPROC wglGetGenlockSampleRateI3D = NULL; +PFNWGLGENLOCKSOURCEDELAYI3DPROC wglGenlockSourceDelayI3D = NULL; +PFNWGLGETGENLOCKSOURCEDELAYI3DPROC wglGetGenlockSourceDelayI3D = NULL; +PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC wglQueryGenlockMaxSourceDelayI3D = NULL; static GLboolean _wglewInit_I3D_genlock () { GLboolean r = GL_FALSE; - r = r || (wglEnableGenlockI3D = (wglEnableGenlockI3DPROC)glewGetProcAddress("wglEnableGenlockI3D")) == NULL; - r = r || (wglDisableGenlockI3D = (wglDisableGenlockI3DPROC)glewGetProcAddress("wglDisableGenlockI3D")) == NULL; - r = r || (wglIsEnabledGenlockI3D = (wglIsEnabledGenlockI3DPROC)glewGetProcAddress("wglIsEnabledGenlockI3D")) == NULL; - r = r || (wglGenlockSourceI3D = (wglGenlockSourceI3DPROC)glewGetProcAddress("wglGenlockSourceI3D")) == NULL; - r = r || (wglGetGenlockSourceI3D = (wglGetGenlockSourceI3DPROC)glewGetProcAddress("wglGetGenlockSourceI3D")) == NULL; - r = r || (wglGenlockSourceEdgeI3D = (wglGenlockSourceEdgeI3DPROC)glewGetProcAddress("wglGenlockSourceEdgeI3D")) == NULL; - r = r || (wglGetGenlockSourceEdgeI3D = (wglGetGenlockSourceEdgeI3DPROC)glewGetProcAddress("wglGetGenlockSourceEdgeI3D")) == NULL; - r = r || (wglGenlockSampleRateI3D = (wglGenlockSampleRateI3DPROC)glewGetProcAddress("wglGenlockSampleRateI3D")) == NULL; - r = r || (wglGetGenlockSampleRateI3D = (wglGetGenlockSampleRateI3DPROC)glewGetProcAddress("wglGetGenlockSampleRateI3D")) == NULL; - r = r || (wglGenlockSourceDelayI3D = (wglGenlockSourceDelayI3DPROC)glewGetProcAddress("wglGenlockSourceDelayI3D")) == NULL; - r = r || (wglGetGenlockSourceDelayI3D = (wglGetGenlockSourceDelayI3DPROC)glewGetProcAddress("wglGetGenlockSourceDelayI3D")) == NULL; - r = r || (wglQueryGenlockMaxSourceDelayI3D = (wglQueryGenlockMaxSourceDelayI3DPROC)glewGetProcAddress("wglQueryGenlockMaxSourceDelayI3D")) == NULL; + r = r || (wglEnableGenlockI3D = (PFNWGLENABLEGENLOCKI3DPROC)glewGetProcAddress("wglEnableGenlockI3D")) == NULL; + r = r || (wglDisableGenlockI3D = (PFNWGLDISABLEGENLOCKI3DPROC)glewGetProcAddress("wglDisableGenlockI3D")) == NULL; + r = r || (wglIsEnabledGenlockI3D = (PFNWGLISENABLEDGENLOCKI3DPROC)glewGetProcAddress("wglIsEnabledGenlockI3D")) == NULL; + r = r || (wglGenlockSourceI3D = (PFNWGLGENLOCKSOURCEI3DPROC)glewGetProcAddress("wglGenlockSourceI3D")) == NULL; + r = r || (wglGetGenlockSourceI3D = (PFNWGLGETGENLOCKSOURCEI3DPROC)glewGetProcAddress("wglGetGenlockSourceI3D")) == NULL; + r = r || (wglGenlockSourceEdgeI3D = (PFNWGLGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress("wglGenlockSourceEdgeI3D")) == NULL; + r = r || (wglGetGenlockSourceEdgeI3D = (PFNWGLGETGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress("wglGetGenlockSourceEdgeI3D")) == NULL; + r = r || (wglGenlockSampleRateI3D = (PFNWGLGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress("wglGenlockSampleRateI3D")) == NULL; + r = r || (wglGetGenlockSampleRateI3D = (PFNWGLGETGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress("wglGetGenlockSampleRateI3D")) == NULL; + r = r || (wglGenlockSourceDelayI3D = (PFNWGLGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress("wglGenlockSourceDelayI3D")) == NULL; + r = r || (wglGetGenlockSourceDelayI3D = (PFNWGLGETGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress("wglGetGenlockSourceDelayI3D")) == NULL; + r = r || (wglQueryGenlockMaxSourceDelayI3D = (PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC)glewGetProcAddress("wglQueryGenlockMaxSourceDelayI3D")) == NULL; return r; } #endif /* WGL_I3D_genlock */ @@ -2103,18 +2118,18 @@ static GLboolean _wglewInit_I3D_genlock () /* ---------------------------- I3D_image_buffer -------------------------- */ #ifdef WGL_I3D_image_buffer -wglCreateImageBufferI3DPROC wglCreateImageBufferI3D = NULL; -wglDestroyImageBufferI3DPROC wglDestroyImageBufferI3D = NULL; -wglAssociateImageBufferEventsI3DPROC wglAssociateImageBufferEventsI3D = NULL; -wglReleaseImageBufferEventsI3DPROC wglReleaseImageBufferEventsI3D = NULL; +PFNWGLCREATEIMAGEBUFFERI3DPROC wglCreateImageBufferI3D = NULL; +PFNWGLDESTROYIMAGEBUFFERI3DPROC wglDestroyImageBufferI3D = NULL; +PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC wglAssociateImageBufferEventsI3D = NULL; +PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC wglReleaseImageBufferEventsI3D = NULL; static GLboolean _wglewInit_I3D_image_buffer () { GLboolean r = GL_FALSE; - r = r || (wglCreateImageBufferI3D = (wglCreateImageBufferI3DPROC)glewGetProcAddress("wglCreateImageBufferI3D")) == NULL; - r = r || (wglDestroyImageBufferI3D = (wglDestroyImageBufferI3DPROC)glewGetProcAddress("wglDestroyImageBufferI3D")) == NULL; - r = r || (wglAssociateImageBufferEventsI3D = (wglAssociateImageBufferEventsI3DPROC)glewGetProcAddress("wglAssociateImageBufferEventsI3D")) == NULL; - r = r || (wglReleaseImageBufferEventsI3D = (wglReleaseImageBufferEventsI3DPROC)glewGetProcAddress("wglReleaseImageBufferEventsI3D")) == NULL; + r = r || (wglCreateImageBufferI3D = (PFNWGLCREATEIMAGEBUFFERI3DPROC)glewGetProcAddress("wglCreateImageBufferI3D")) == NULL; + r = r || (wglDestroyImageBufferI3D = (PFNWGLDESTROYIMAGEBUFFERI3DPROC)glewGetProcAddress("wglDestroyImageBufferI3D")) == NULL; + r = r || (wglAssociateImageBufferEventsI3D = (PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress("wglAssociateImageBufferEventsI3D")) == NULL; + r = r || (wglReleaseImageBufferEventsI3D = (PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress("wglReleaseImageBufferEventsI3D")) == NULL; return r; } #endif /* WGL_I3D_image_buffer */ @@ -2122,18 +2137,18 @@ static GLboolean _wglewInit_I3D_image_buffer () /* --------------------------- I3D_swap_frame_lock ------------------------ */ #ifdef WGL_I3D_swap_frame_lock -wglEnableFrameLockI3DPROC wglEnableFrameLockI3D = NULL; -wglDisableFrameLockI3DPROC wglDisableFrameLockI3D = NULL; -wglIsEnabledFrameLockI3DPROC wglIsEnabledFrameLockI3D = NULL; -wglQueryFrameLockMasterI3DPROC wglQueryFrameLockMasterI3D = NULL; +PFNWGLENABLEFRAMELOCKI3DPROC wglEnableFrameLockI3D = NULL; +PFNWGLDISABLEFRAMELOCKI3DPROC wglDisableFrameLockI3D = NULL; +PFNWGLISENABLEDFRAMELOCKI3DPROC wglIsEnabledFrameLockI3D = NULL; +PFNWGLQUERYFRAMELOCKMASTERI3DPROC wglQueryFrameLockMasterI3D = NULL; static GLboolean _wglewInit_I3D_swap_frame_lock () { GLboolean r = GL_FALSE; - r = r || (wglEnableFrameLockI3D = (wglEnableFrameLockI3DPROC)glewGetProcAddress("wglEnableFrameLockI3D")) == NULL; - r = r || (wglDisableFrameLockI3D = (wglDisableFrameLockI3DPROC)glewGetProcAddress("wglDisableFrameLockI3D")) == NULL; - r = r || (wglIsEnabledFrameLockI3D = (wglIsEnabledFrameLockI3DPROC)glewGetProcAddress("wglIsEnabledFrameLockI3D")) == NULL; - r = r || (wglQueryFrameLockMasterI3D = (wglQueryFrameLockMasterI3DPROC)glewGetProcAddress("wglQueryFrameLockMasterI3D")) == NULL; + r = r || (wglEnableFrameLockI3D = (PFNWGLENABLEFRAMELOCKI3DPROC)glewGetProcAddress("wglEnableFrameLockI3D")) == NULL; + r = r || (wglDisableFrameLockI3D = (PFNWGLDISABLEFRAMELOCKI3DPROC)glewGetProcAddress("wglDisableFrameLockI3D")) == NULL; + r = r || (wglIsEnabledFrameLockI3D = (PFNWGLISENABLEDFRAMELOCKI3DPROC)glewGetProcAddress("wglIsEnabledFrameLockI3D")) == NULL; + r = r || (wglQueryFrameLockMasterI3D = (PFNWGLQUERYFRAMELOCKMASTERI3DPROC)glewGetProcAddress("wglQueryFrameLockMasterI3D")) == NULL; return r; } #endif /* WGL_I3D_swap_frame_lock */ @@ -2141,18 +2156,18 @@ static GLboolean _wglewInit_I3D_swap_frame_lock () /* -------------------------- I3D_swap_frame_usage ------------------------ */ #ifdef WGL_I3D_swap_frame_usage -wglGetFrameUsageI3DPROC wglGetFrameUsageI3D = NULL; -wglBeginFrameTrackingI3DPROC wglBeginFrameTrackingI3D = NULL; -wglEndFrameTrackingI3DPROC wglEndFrameTrackingI3D = NULL; -wglQueryFrameTrackingI3DPROC wglQueryFrameTrackingI3D = NULL; +PFNWGLGETFRAMEUSAGEI3DPROC wglGetFrameUsageI3D = NULL; +PFNWGLBEGINFRAMETRACKINGI3DPROC wglBeginFrameTrackingI3D = NULL; +PFNWGLENDFRAMETRACKINGI3DPROC wglEndFrameTrackingI3D = NULL; +PFNWGLQUERYFRAMETRACKINGI3DPROC wglQueryFrameTrackingI3D = NULL; static GLboolean _wglewInit_I3D_swap_frame_usage () { GLboolean r = GL_FALSE; - r = r || (wglGetFrameUsageI3D = (wglGetFrameUsageI3DPROC)glewGetProcAddress("wglGetFrameUsageI3D")) == NULL; - r = r || (wglBeginFrameTrackingI3D = (wglBeginFrameTrackingI3DPROC)glewGetProcAddress("wglBeginFrameTrackingI3D")) == NULL; - r = r || (wglEndFrameTrackingI3D = (wglEndFrameTrackingI3DPROC)glewGetProcAddress("wglEndFrameTrackingI3D")) == NULL; - r = r || (wglQueryFrameTrackingI3D = (wglQueryFrameTrackingI3DPROC)glewGetProcAddress("wglQueryFrameTrackingI3D")) == NULL; + r = r || (wglGetFrameUsageI3D = (PFNWGLGETFRAMEUSAGEI3DPROC)glewGetProcAddress("wglGetFrameUsageI3D")) == NULL; + r = r || (wglBeginFrameTrackingI3D = (PFNWGLBEGINFRAMETRACKINGI3DPROC)glewGetProcAddress("wglBeginFrameTrackingI3D")) == NULL; + r = r || (wglEndFrameTrackingI3D = (PFNWGLENDFRAMETRACKINGI3DPROC)glewGetProcAddress("wglEndFrameTrackingI3D")) == NULL; + r = r || (wglQueryFrameTrackingI3D = (PFNWGLQUERYFRAMETRACKINGI3DPROC)glewGetProcAddress("wglQueryFrameTrackingI3D")) == NULL; return r; } #endif /* WGL_I3D_swap_frame_usage */ @@ -2160,22 +2175,22 @@ static GLboolean _wglewInit_I3D_swap_frame_usage () /* ---------------------------- OML_sync_control -------------------------- */ #ifdef WGL_OML_sync_control -wglGetSyncValuesOMLPROC wglGetSyncValuesOML = NULL; -wglGetMscRateOMLPROC wglGetMscRateOML = NULL; -wglSwapBuffersMscOMLPROC wglSwapBuffersMscOML = NULL; -wglSwapLayerBuffersMscOMLPROC wglSwapLayerBuffersMscOML = NULL; -wglWaitForMscOMLPROC wglWaitForMscOML = NULL; -wglWaitForSbcOMLPROC wglWaitForSbcOML = NULL; +PFNWGLGETSYNCVALUESOMLPROC wglGetSyncValuesOML = NULL; +PFNWGLGETMSCRATEOMLPROC wglGetMscRateOML = NULL; +PFNWGLSWAPBUFFERSMSCOMLPROC wglSwapBuffersMscOML = NULL; +PFNWGLSWAPLAYERBUFFERSMSCOMLPROC wglSwapLayerBuffersMscOML = NULL; +PFNWGLWAITFORMSCOMLPROC wglWaitForMscOML = NULL; +PFNWGLWAITFORSBCOMLPROC wglWaitForSbcOML = NULL; static GLboolean _wglewInit_OML_sync_control () { GLboolean r = GL_FALSE; - r = r || (wglGetSyncValuesOML = (wglGetSyncValuesOMLPROC)glewGetProcAddress("wglGetSyncValuesOML")) == NULL; - r = r || (wglGetMscRateOML = (wglGetMscRateOMLPROC)glewGetProcAddress("wglGetMscRateOML")) == NULL; - r = r || (wglSwapBuffersMscOML = (wglSwapBuffersMscOMLPROC)glewGetProcAddress("wglSwapBuffersMscOML")) == NULL; - r = r || (wglSwapLayerBuffersMscOML = (wglSwapLayerBuffersMscOMLPROC)glewGetProcAddress("wglSwapLayerBuffersMscOML")) == NULL; - r = r || (wglWaitForMscOML = (wglWaitForMscOMLPROC)glewGetProcAddress("wglWaitForMscOML")) == NULL; - r = r || (wglWaitForSbcOML = (wglWaitForSbcOMLPROC)glewGetProcAddress("wglWaitForSbcOML")) == NULL; + r = r || (wglGetSyncValuesOML = (PFNWGLGETSYNCVALUESOMLPROC)glewGetProcAddress("wglGetSyncValuesOML")) == NULL; + r = r || (wglGetMscRateOML = (PFNWGLGETMSCRATEOMLPROC)glewGetProcAddress("wglGetMscRateOML")) == NULL; + r = r || (wglSwapBuffersMscOML = (PFNWGLSWAPBUFFERSMSCOMLPROC)glewGetProcAddress("wglSwapBuffersMscOML")) == NULL; + r = r || (wglSwapLayerBuffersMscOML = (PFNWGLSWAPLAYERBUFFERSMSCOMLPROC)glewGetProcAddress("wglSwapLayerBuffersMscOML")) == NULL; + r = r || (wglWaitForMscOML = (PFNWGLWAITFORMSCOMLPROC)glewGetProcAddress("wglWaitForMscOML")) == NULL; + r = r || (wglWaitForSbcOML = (PFNWGLWAITFORSBCOMLPROC)glewGetProcAddress("wglWaitForSbcOML")) == NULL; return r; } #endif /* WGL_OML_sync_control */ @@ -2183,14 +2198,14 @@ static GLboolean _wglewInit_OML_sync_control () /* ------------------------- NV_vertex_array_range ------------------------ */ #ifdef WGL_NV_vertex_array_range -wglAllocateMemoryNVPROC wglAllocateMemoryNV = NULL; -wglFreeMemoryNVPROC wglFreeMemoryNV = NULL; +PFNWGLALLOCATEMEMORYNVPROC wglAllocateMemoryNV = NULL; +PFNWGLFREEMEMORYNVPROC wglFreeMemoryNV = NULL; static GLboolean _wglewInit_NV_vertex_array_range () { GLboolean r = GL_FALSE; - r = r || (wglAllocateMemoryNV = (wglAllocateMemoryNVPROC)glewGetProcAddress("wglAllocateMemoryNV")) == NULL; - r = r || (wglFreeMemoryNV = (wglFreeMemoryNVPROC)glewGetProcAddress("wglFreeMemoryNV")) == NULL; + r = r || (wglAllocateMemoryNV = (PFNWGLALLOCATEMEMORYNVPROC)glewGetProcAddress("wglAllocateMemoryNV")) == NULL; + r = r || (wglFreeMemoryNV = (PFNWGLFREEMEMORYNVPROC)glewGetProcAddress("wglFreeMemoryNV")) == NULL; return r; } #endif /* WGL_NV_vertex_array_range */ @@ -2201,46 +2216,46 @@ static GLboolean _wglewInit_NV_vertex_array_range () #ifdef GLX_VERSION_1_0 #ifdef GLEW_PROTOTYPES -glXQueryExtensionPROC glXQueryExtension = NULL; -glXQueryVersionPROC glXQueryVersion = NULL; -glXGetConfigPROC glXGetConfig = NULL; -glXChooseVisualPROC glXChooseVisual = NULL; -glXCreateGLXPixmapPROC glXCreateGLXPixmap = NULL; -glXDestroyGLXPixmapPROC glXDestroyGLXPixmap = NULL; -glXCreateContextPROC glXCreateContext = NULL; -glXDestroyContextPROC glXDestroyContext = NULL; -glXIsDirectPROC glXIsDirect = NULL; -glXCopyContextPROC glXCopyContext = NULL; -glXMakeCurrentPROC glXMakeCurrent = NULL; -glXGetCurrentContextPROC glXGetCurrentContext = NULL; -glXGetCurrentDrawablePROC glXGetCurrentDrawable = NULL; -glXWaitGLPROC glXWaitGL = NULL; -glXWaitXPROC glXWaitX = NULL; -glXSwapBuffersPROC glXSwapBuffers = NULL; -glXUseXFontPROC glXUseXFont = NULL; +PFNGLXQUERYEXTENSIONPROC glXQueryExtension = NULL; +PFNGLXQUERYVERSIONPROC glXQueryVersion = NULL; +PFNGLXGETCONFIGPROC glXGetConfig = NULL; +PFNGLXCHOOSEVISUALPROC glXChooseVisual = NULL; +PFNGLXCREATEGLXPIXMAPPROC glXCreateGLXPixmap = NULL; +PFNGLXDESTROYGLXPIXMAPPROC glXDestroyGLXPixmap = NULL; +PFNGLXCREATECONTEXTPROC glXCreateContext = NULL; +PFNGLXDESTROYCONTEXTPROC glXDestroyContext = NULL; +PFNGLXISDIRECTPROC glXIsDirect = NULL; +PFNGLXCOPYCONTEXTPROC glXCopyContext = NULL; +PFNGLXMAKECURRENTPROC glXMakeCurrent = NULL; +PFNGLXGETCURRENTCONTEXTPROC glXGetCurrentContext = NULL; +PFNGLXGETCURRENTDRAWABLEPROC glXGetCurrentDrawable = NULL; +PFNGLXWAITGLPROC glXWaitGL = NULL; +PFNGLXWAITXPROC glXWaitX = NULL; +PFNGLXSWAPBUFFERSPROC glXSwapBuffers = NULL; +PFNGLXUSEXFONTPROC glXUseXFont = NULL; #endif static GLboolean _glxewInit_10 () { GLboolean r = GL_FALSE; #ifdef GLEW_PROTOTYPES - r = r || (glXQueryExtension = (glXQueryExtensionPROC)glewGetProcAddress("glXQueryExtension")) == NULL; - r = r || (glXQueryVersion = (glXQueryVersionPROC)glewGetProcAddress("glXQueryVersion")) == NULL; - r = r || (glXGetConfig = (glXGetConfigPROC)glewGetProcAddress("glXGetConfig")) == NULL; - r = r || (glXChooseVisual = (glXChooseVisualPROC)glewGetProcAddress("glXChooseVisual")) == NULL; - r = r || (glXCreateGLXPixmap = (glXCreateGLXPixmapPROC)glewGetProcAddress("glXCreateGLXPixmap")) == NULL; - r = r || (glXDestroyGLXPixmap = (glXDestroyGLXPixmapPROC)glewGetProcAddress("glXDestroyGLXPixmap")) == NULL; - r = r || (glXCreateContext = (glXCreateContextPROC)glewGetProcAddress("glXCreateContext")) == NULL; - r = r || (glXDestroyContext = (glXDestroyContextPROC)glewGetProcAddress("glXDestroyContext")) == NULL; - r = r || (glXIsDirect = (glXIsDirectPROC)glewGetProcAddress("glXIsDirect")) == NULL; - r = r || (glXCopyContext = (glXCopyContextPROC)glewGetProcAddress("glXCopyContext")) == NULL; - r = r || (glXMakeCurrent = (glXMakeCurrentPROC)glewGetProcAddress("glXMakeCurrent")) == NULL; - r = r || (glXGetCurrentContext = (glXGetCurrentContextPROC)glewGetProcAddress("glXGetCurrentContext")) == NULL; - r = r || (glXGetCurrentDrawable = (glXGetCurrentDrawablePROC)glewGetProcAddress("glXGetCurrentDrawable")) == NULL; - r = r || (glXWaitGL = (glXWaitGLPROC)glewGetProcAddress("glXWaitGL")) == NULL; - r = r || (glXWaitX = (glXWaitXPROC)glewGetProcAddress("glXWaitX")) == NULL; - r = r || (glXSwapBuffers = (glXSwapBuffersPROC)glewGetProcAddress("glXSwapBuffers")) == NULL; - r = r || (glXUseXFont = (glXUseXFontPROC)glewGetProcAddress("glXUseXFont")) == NULL; + r = r || (glXQueryExtension = (PFNGLXQUERYEXTENSIONPROC)glewGetProcAddress("glXQueryExtension")) == NULL; + r = r || (glXQueryVersion = (PFNGLXQUERYVERSIONPROC)glewGetProcAddress("glXQueryVersion")) == NULL; + r = r || (glXGetConfig = (PFNGLXGETCONFIGPROC)glewGetProcAddress("glXGetConfig")) == NULL; + r = r || (glXChooseVisual = (PFNGLXCHOOSEVISUALPROC)glewGetProcAddress("glXChooseVisual")) == NULL; + r = r || (glXCreateGLXPixmap = (PFNGLXCREATEGLXPIXMAPPROC)glewGetProcAddress("glXCreateGLXPixmap")) == NULL; + r = r || (glXDestroyGLXPixmap = (PFNGLXDESTROYGLXPIXMAPPROC)glewGetProcAddress("glXDestroyGLXPixmap")) == NULL; + r = r || (glXCreateContext = (PFNGLXCREATECONTEXTPROC)glewGetProcAddress("glXCreateContext")) == NULL; + r = r || (glXDestroyContext = (PFNGLXDESTROYCONTEXTPROC)glewGetProcAddress("glXDestroyContext")) == NULL; + r = r || (glXIsDirect = (PFNGLXISDIRECTPROC)glewGetProcAddress("glXIsDirect")) == NULL; + r = r || (glXCopyContext = (PFNGLXCOPYCONTEXTPROC)glewGetProcAddress("glXCopyContext")) == NULL; + r = r || (glXMakeCurrent = (PFNGLXMAKECURRENTPROC)glewGetProcAddress("glXMakeCurrent")) == NULL; + r = r || (glXGetCurrentContext = (PFNGLXGETCURRENTCONTEXTPROC)glewGetProcAddress("glXGetCurrentContext")) == NULL; + r = r || (glXGetCurrentDrawable = (PFNGLXGETCURRENTDRAWABLEPROC)glewGetProcAddress("glXGetCurrentDrawable")) == NULL; + r = r || (glXWaitGL = (PFNGLXWAITGLPROC)glewGetProcAddress("glXWaitGL")) == NULL; + r = r || (glXWaitX = (PFNGLXWAITXPROC)glewGetProcAddress("glXWaitX")) == NULL; + r = r || (glXSwapBuffers = (PFNGLXSWAPBUFFERSPROC)glewGetProcAddress("glXSwapBuffers")) == NULL; + r = r || (glXUseXFont = (PFNGLXUSEXFONTPROC)glewGetProcAddress("glXUseXFont")) == NULL; #endif return r; } @@ -2250,18 +2265,18 @@ static GLboolean _glxewInit_10 () #ifdef GLX_VERSION_1_1 #ifdef GLEW_PROTOTYPES -glXQueryExtensionsStringPROC glXQueryExtensionsString = NULL; -glXGetClientStringPROC glXGetClientString = NULL; -glXQueryServerStringPROC glXQueryServerString = NULL; +PFNGLXQUERYEXTENSIONSSTRINGPROC glXQueryExtensionsString = NULL; +PFNGLXGETCLIENTSTRINGPROC glXGetClientString = NULL; +PFNGLXQUERYSERVERSTRINGPROC glXQueryServerString = NULL; #endif static GLboolean _glxewInit_11 () { GLboolean r = GL_FALSE; #ifdef GLEW_PROTOTYPES - r = r || (glXQueryExtensionsString = (glXQueryExtensionsStringPROC)glewGetProcAddress("glXQueryExtensionsString")) == NULL; - r = r || (glXGetClientString = (glXGetClientStringPROC)glewGetProcAddress("glXGetClientString")) == NULL; - r = r || (glXQueryServerString = (glXQueryServerStringPROC)glewGetProcAddress("glXQueryServerString")) == NULL; + r = r || (glXQueryExtensionsString = (PFNGLXQUERYEXTENSIONSSTRINGPROC)glewGetProcAddress("glXQueryExtensionsString")) == NULL; + r = r || (glXGetClientString = (PFNGLXGETCLIENTSTRINGPROC)glewGetProcAddress("glXGetClientString")) == NULL; + r = r || (glXQueryServerString = (PFNGLXQUERYSERVERSTRINGPROC)glewGetProcAddress("glXQueryServerString")) == NULL; #endif return r; } @@ -2270,12 +2285,12 @@ static GLboolean _glxewInit_11 () /* -------------------------------- GLX 1.2 ------------------------------- */ #ifdef GLX_VERSION_1_2 -glXGetCurrentDisplayPROC glXGetCurrentDisplay = NULL; +PFNGLXGETCURRENTDISPLAYPROC glXGetCurrentDisplay = NULL; static GLboolean _glxewInit_12 () { GLboolean r = GL_FALSE; - r = r || (glXGetCurrentDisplay = (glXGetCurrentDisplayPROC)glewGetProcAddress("glXGetCurrentDisplay")) == NULL; + r = r || (glXGetCurrentDisplay = (PFNGLXGETCURRENTDISPLAYPROC)glewGetProcAddress("glXGetCurrentDisplay")) == NULL; return r; } #endif /* GLX_VERSION_1_2 */ @@ -2283,44 +2298,44 @@ static GLboolean _glxewInit_12 () /* -------------------------------- GLX 1.3 ------------------------------- */ #ifdef GLX_VERSION_1_3 -glXChooseFBConfigPROC glXChooseFBConfig = NULL; -glXGetFBConfigsPROC glXGetFBConfigs = NULL; -glXGetVisualFromFBConfigPROC glXGetVisualFromFBConfig = NULL; -glXGetFBConfigAttribPROC glXGetFBConfigAttrib = NULL; -glXCreateWindowPROC glXCreateWindow = NULL; -glXDestroyWindowPROC glXDestroyWindow = NULL; -glXCreatePixmapPROC glXCreatePixmap = NULL; -glXDestroyPixmapPROC glXDestroyPixmap = NULL; -glXCreatePbufferPROC glXCreatePbuffer = NULL; -glXDestroyPbufferPROC glXDestroyPbuffer = NULL; -glXQueryDrawablePROC glXQueryDrawable = NULL; -glXCreateNewContextPROC glXCreateNewContext = NULL; -glXMakeContextCurrentPROC glXMakeContextCurrent = NULL; -glXGetCurrentReadDrawablePROC glXGetCurrentReadDrawable = NULL; -glXQueryContextPROC glXQueryContext = NULL; -glXSelectEventPROC glXSelectEvent = NULL; -glXGetSelectedEventPROC glXGetSelectedEvent = NULL; +PFNGLXCHOOSEFBCONFIGPROC glXChooseFBConfig = NULL; +PFNGLXGETFBCONFIGSPROC glXGetFBConfigs = NULL; +PFNGLXGETVISUALFROMFBCONFIGPROC glXGetVisualFromFBConfig = NULL; +PFNGLXGETFBCONFIGATTRIBPROC glXGetFBConfigAttrib = NULL; +PFNGLXCREATEWINDOWPROC glXCreateWindow = NULL; +PFNGLXDESTROYWINDOWPROC glXDestroyWindow = NULL; +PFNGLXCREATEPIXMAPPROC glXCreatePixmap = NULL; +PFNGLXDESTROYPIXMAPPROC glXDestroyPixmap = NULL; +PFNGLXCREATEPBUFFERPROC glXCreatePbuffer = NULL; +PFNGLXDESTROYPBUFFERPROC glXDestroyPbuffer = NULL; +PFNGLXQUERYDRAWABLEPROC glXQueryDrawable = NULL; +PFNGLXCREATENEWCONTEXTPROC glXCreateNewContext = NULL; +PFNGLXMAKECONTEXTCURRENTPROC glXMakeContextCurrent = NULL; +PFNGLXGETCURRENTREADDRAWABLEPROC glXGetCurrentReadDrawable = NULL; +PFNGLXQUERYCONTEXTPROC glXQueryContext = NULL; +PFNGLXSELECTEVENTPROC glXSelectEvent = NULL; +PFNGLXGETSELECTEDEVENTPROC glXGetSelectedEvent = NULL; static GLboolean _glxewInit_13 () { GLboolean r = GL_FALSE; - r = r || (glXChooseFBConfig = (glXChooseFBConfigPROC)glewGetProcAddress("glXChooseFBConfig")) == NULL; - r = r || (glXGetFBConfigs = (glXGetFBConfigsPROC)glewGetProcAddress("glXGetFBConfigs")) == NULL; - r = r || (glXGetVisualFromFBConfig = (glXGetVisualFromFBConfigPROC)glewGetProcAddress("glXGetVisualFromFBConfig")) == NULL; - r = r || (glXGetFBConfigAttrib = (glXGetFBConfigAttribPROC)glewGetProcAddress("glXGetFBConfigAttrib")) == NULL; - r = r || (glXCreateWindow = (glXCreateWindowPROC)glewGetProcAddress("glXCreateWindow")) == NULL; - r = r || (glXDestroyWindow = (glXDestroyWindowPROC)glewGetProcAddress("glXDestroyWindow")) == NULL; - r = r || (glXCreatePixmap = (glXCreatePixmapPROC)glewGetProcAddress("glXCreatePixmap")) == NULL; - r = r || (glXDestroyPixmap = (glXDestroyPixmapPROC)glewGetProcAddress("glXDestroyPixmap")) == NULL; - r = r || (glXCreatePbuffer = (glXCreatePbufferPROC)glewGetProcAddress("glXCreatePbuffer")) == NULL; - r = r || (glXDestroyPbuffer = (glXDestroyPbufferPROC)glewGetProcAddress("glXDestroyPbuffer")) == NULL; - r = r || (glXQueryDrawable = (glXQueryDrawablePROC)glewGetProcAddress("glXQueryDrawable")) == NULL; - r = r || (glXCreateNewContext = (glXCreateNewContextPROC)glewGetProcAddress("glXCreateNewContext")) == NULL; - r = r || (glXMakeContextCurrent = (glXMakeContextCurrentPROC)glewGetProcAddress("glXMakeContextCurrent")) == NULL; - r = r || (glXGetCurrentReadDrawable = (glXGetCurrentReadDrawablePROC)glewGetProcAddress("glXGetCurrentReadDrawable")) == NULL; - r = r || (glXQueryContext = (glXQueryContextPROC)glewGetProcAddress("glXQueryContext")) == NULL; - r = r || (glXSelectEvent = (glXSelectEventPROC)glewGetProcAddress("glXSelectEvent")) == NULL; - r = r || (glXGetSelectedEvent = (glXGetSelectedEventPROC)glewGetProcAddress("glXGetSelectedEvent")) == NULL; + r = r || (glXChooseFBConfig = (PFNGLXCHOOSEFBCONFIGPROC)glewGetProcAddress("glXChooseFBConfig")) == NULL; + r = r || (glXGetFBConfigs = (PFNGLXGETFBCONFIGSPROC)glewGetProcAddress("glXGetFBConfigs")) == NULL; + r = r || (glXGetVisualFromFBConfig = (PFNGLXGETVISUALFROMFBCONFIGPROC)glewGetProcAddress("glXGetVisualFromFBConfig")) == NULL; + r = r || (glXGetFBConfigAttrib = (PFNGLXGETFBCONFIGATTRIBPROC)glewGetProcAddress("glXGetFBConfigAttrib")) == NULL; + r = r || (glXCreateWindow = (PFNGLXCREATEWINDOWPROC)glewGetProcAddress("glXCreateWindow")) == NULL; + r = r || (glXDestroyWindow = (PFNGLXDESTROYWINDOWPROC)glewGetProcAddress("glXDestroyWindow")) == NULL; + r = r || (glXCreatePixmap = (PFNGLXCREATEPIXMAPPROC)glewGetProcAddress("glXCreatePixmap")) == NULL; + r = r || (glXDestroyPixmap = (PFNGLXDESTROYPIXMAPPROC)glewGetProcAddress("glXDestroyPixmap")) == NULL; + r = r || (glXCreatePbuffer = (PFNGLXCREATEPBUFFERPROC)glewGetProcAddress("glXCreatePbuffer")) == NULL; + r = r || (glXDestroyPbuffer = (PFNGLXDESTROYPBUFFERPROC)glewGetProcAddress("glXDestroyPbuffer")) == NULL; + r = r || (glXQueryDrawable = (PFNGLXQUERYDRAWABLEPROC)glewGetProcAddress("glXQueryDrawable")) == NULL; + r = r || (glXCreateNewContext = (PFNGLXCREATENEWCONTEXTPROC)glewGetProcAddress("glXCreateNewContext")) == NULL; + r = r || (glXMakeContextCurrent = (PFNGLXMAKECONTEXTCURRENTPROC)glewGetProcAddress("glXMakeContextCurrent")) == NULL; + r = r || (glXGetCurrentReadDrawable = (PFNGLXGETCURRENTREADDRAWABLEPROC)glewGetProcAddress("glXGetCurrentReadDrawable")) == NULL; + r = r || (glXQueryContext = (PFNGLXQUERYCONTEXTPROC)glewGetProcAddress("glXQueryContext")) == NULL; + r = r || (glXSelectEvent = (PFNGLXSELECTEVENTPROC)glewGetProcAddress("glXSelectEvent")) == NULL; + r = r || (glXGetSelectedEvent = (PFNGLXGETSELECTEDEVENTPROC)glewGetProcAddress("glXGetSelectedEvent")) == NULL; return r; } #endif /* GLX_VERSION_1_3 */ @@ -2328,20 +2343,20 @@ static GLboolean _glxewInit_13 () /* --------------------------- EXT_import_context -------------------------- */ #ifdef GLX_EXT_import_context -glXGetCurrentDisplayEXTPROC glXGetCurrentDisplayEXT = NULL; -glXQueryContextInfoEXTPROC glXQueryContextInfoEXT = NULL; -glXGetContextIDEXTPROC glXGetContextIDEXT = NULL; -glXImportContextEXTPROC glXImportContextEXT = NULL; -glXFreeContextEXTPROC glXFreeContextEXT = NULL; +PFNGLXGETCURRENTDISPLAYEXTPROC glXGetCurrentDisplayEXT = NULL; +PFNGLXQUERYCONTEXTINFOEXTPROC glXQueryContextInfoEXT = NULL; +PFNGLXGETCONTEXTIDEXTPROC glXGetContextIDEXT = NULL; +PFNGLXIMPORTCONTEXTEXTPROC glXImportContextEXT = NULL; +PFNGLXFREECONTEXTEXTPROC glXFreeContextEXT = NULL; static GLboolean _glxewInit_EXT_import_context () { GLboolean r = GL_FALSE; - r = r || (glXGetCurrentDisplayEXT = (glXGetCurrentDisplayEXTPROC)glewGetProcAddress("glXGetCurrentDisplayEXT")) == NULL; - r = r || (glXQueryContextInfoEXT = (glXQueryContextInfoEXTPROC)glewGetProcAddress("glXQueryContextInfoEXT")) == NULL; - r = r || (glXGetContextIDEXT = (glXGetContextIDEXTPROC)glewGetProcAddress("glXGetContextIDEXT")) == NULL; - r = r || (glXImportContextEXT = (glXImportContextEXTPROC)glewGetProcAddress("glXImportContextEXT")) == NULL; - r = r || (glXFreeContextEXT = (glXFreeContextEXTPROC)glewGetProcAddress("glXFreeContextEXT")) == NULL; + r = r || (glXGetCurrentDisplayEXT = (PFNGLXGETCURRENTDISPLAYEXTPROC)glewGetProcAddress("glXGetCurrentDisplayEXT")) == NULL; + r = r || (glXQueryContextInfoEXT = (PFNGLXQUERYCONTEXTINFOEXTPROC)glewGetProcAddress("glXQueryContextInfoEXT")) == NULL; + r = r || (glXGetContextIDEXT = (PFNGLXGETCONTEXTIDEXTPROC)glewGetProcAddress("glXGetContextIDEXT")) == NULL; + r = r || (glXImportContextEXT = (PFNGLXIMPORTCONTEXTEXTPROC)glewGetProcAddress("glXImportContextEXT")) == NULL; + r = r || (glXFreeContextEXT = (PFNGLXFREECONTEXTEXTPROC)glewGetProcAddress("glXFreeContextEXT")) == NULL; return r; } #endif /* GLX_EXT_import_context */ @@ -2349,12 +2364,12 @@ static GLboolean _glxewInit_EXT_import_context () /* --------------------------- MESA_copy_sub_buffer ----------------------- */ #ifdef GLX_MESA_copy_sub_buffer -glXCopySubBufferMESAPROC glXCopySubBufferMESA = NULL; +PFNGLXCOPYSUBBUFFERMESAPROC glXCopySubBufferMESA = NULL; static GLboolean _glxewInit_MESA_copy_sub_buffer () { GLboolean r = GL_FALSE; - r = r || (glXCopySubBufferMESA = (glXCopySubBufferMESAPROC)glewGetProcAddress("glXCopySubBufferMESA")) == NULL; + r = r || (glXCopySubBufferMESA = (PFNGLXCOPYSUBBUFFERMESAPROC)glewGetProcAddress("glXCopySubBufferMESA")) == NULL; return r; } #endif /* GLX_MESA_copy_sub_buffer */ @@ -2362,12 +2377,12 @@ static GLboolean _glxewInit_MESA_copy_sub_buffer () /* -------------------------- MESA_pixmap_colormap ------------------------ */ #ifdef GLX_MESA_pixmap_colormap -glXCreateGLXPixmapMESAPROC glXCreateGLXPixmapMESA = NULL; +PFNGLXCREATEGLXPIXMAPMESAPROC glXCreateGLXPixmapMESA = NULL; static GLboolean _glxewInit_MESA_pixmap_colormap () { GLboolean r = GL_FALSE; - r = r || (glXCreateGLXPixmapMESA = (glXCreateGLXPixmapMESAPROC)glewGetProcAddress("glXCreateGLXPixmapMESA")) == NULL; + r = r || (glXCreateGLXPixmapMESA = (PFNGLXCREATEGLXPIXMAPMESAPROC)glewGetProcAddress("glXCreateGLXPixmapMESA")) == NULL; return r; } #endif /* GLX_MESA_pixmap_colormap */ @@ -2375,12 +2390,12 @@ static GLboolean _glxewInit_MESA_pixmap_colormap () /* -------------------------- MESA_release_buffers ------------------------ */ #ifdef GLX_MESA_release_buffers -glXReleaseBuffersMESAPROC glXReleaseBuffersMESA = NULL; +PFNGLXRELEASEBUFFERSMESAPROC glXReleaseBuffersMESA = NULL; static GLboolean _glxewInit_MESA_release_buffers () { GLboolean r = GL_FALSE; - r = r || (glXReleaseBuffersMESA = (glXReleaseBuffersMESAPROC)glewGetProcAddress("glXReleaseBuffersMESA")) == NULL; + r = r || (glXReleaseBuffersMESA = (PFNGLXRELEASEBUFFERSMESAPROC)glewGetProcAddress("glXReleaseBuffersMESA")) == NULL; return r; } #endif /* GLX_MESA_release_buffers */ @@ -2388,12 +2403,12 @@ static GLboolean _glxewInit_MESA_release_buffers () /* --------------------------- MESA_set_3dfx_mode ------------------------- */ #ifdef GLX_MESA_set_3dfx_mode -glXSet3DfxModeMESAPROC glXSet3DfxModeMESA = NULL; +PFNGLXSET3DFXMODEMESAPROC glXSet3DfxModeMESA = NULL; static GLboolean _glxewInit_MESA_set_3dfx_mode () { GLboolean r = GL_FALSE; - r = r || (glXSet3DfxModeMESA = (glXSet3DfxModeMESAPROC)glewGetProcAddress("glXSet3DfxModeMESA")) == NULL; + r = r || (glXSet3DfxModeMESA = (PFNGLXSET3DFXMODEMESAPROC)glewGetProcAddress("glXSet3DfxModeMESA")) == NULL; return r; } #endif /* GLX_MESA_set_3dfx_mode */ @@ -2401,14 +2416,14 @@ static GLboolean _glxewInit_MESA_set_3dfx_mode () /* ------------------------- NV_vertex_array_range ------------------------ */ #ifdef GLX_NV_vertex_array_range -glXAllocateMemoryNVPROC glXAllocateMemoryNV = NULL; -glXFreeMemoryNVPROC glXFreeMemoryNV = NULL; +PFNGLXALLOCATEMEMORYNVPROC glXAllocateMemoryNV = NULL; +PFNGLXFREEMEMORYNVPROC glXFreeMemoryNV = NULL; static GLboolean _glxewInit_NV_vertex_array_range () { GLboolean r = GL_FALSE; - r = r || (glXAllocateMemoryNV = (glXAllocateMemoryNVPROC)glewGetProcAddress("glXAllocateMemoryNV")) == NULL; - r = r || (glXFreeMemoryNV = (glXFreeMemoryNVPROC)glewGetProcAddress("glXFreeMemoryNV")) == NULL; + r = r || (glXAllocateMemoryNV = (PFNGLXALLOCATEMEMORYNVPROC)glewGetProcAddress("glXAllocateMemoryNV")) == NULL; + r = r || (glXFreeMemoryNV = (PFNGLXFREEMEMORYNVPROC)glewGetProcAddress("glXFreeMemoryNV")) == NULL; return r; } #endif /* GLX_NV_vertex_array_range */ @@ -2417,20 +2432,20 @@ static GLboolean _glxewInit_NV_vertex_array_range () #ifdef GLX_OML_sync_control #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) -glXGetSyncValuesOMLPROC glXGetSyncValuesOML = NULL; -glXGetMscRateOMLPROC glXGetMscRateOML = NULL; -glXSwapBuffersMscOMLPROC glXSwapBuffersMscOML = NULL; -glXWaitForMscOMLPROC glXWaitForMscOML = NULL; -glXWaitForSbcOMLPROC glXWaitForSbcOML = NULL; +PFNGLXGETSYNCVALUESOMLPROC glXGetSyncValuesOML = NULL; +PFNGLXGETMSCRATEOMLPROC glXGetMscRateOML = NULL; +PFNGLXSWAPBUFFERSMSCOMLPROC glXSwapBuffersMscOML = NULL; +PFNGLXWAITFORMSCOMLPROC glXWaitForMscOML = NULL; +PFNGLXWAITFORSBCOMLPROC glXWaitForSbcOML = NULL; static GLboolean _glxewInit_OML_sync_control () { GLboolean r = GL_FALSE; - r = r || (glXGetSyncValuesOML = (glXGetSyncValuesOMLPROC)glewGetProcAddress("glXGetSyncValuesOML")) == NULL; - r = r || (glXGetMscRateOML = (glXGetMscRateOMLPROC)glewGetProcAddress("glXGetMscRateOML")) == NULL; - r = r || (glXSwapBuffersMscOML = (glXSwapBuffersMscOMLPROC)glewGetProcAddress("glXSwapBuffersMscOML")) == NULL; - r = r || (glXWaitForMscOML = (glXWaitForMscOMLPROC)glewGetProcAddress("glXWaitForMscOML")) == NULL; - r = r || (glXWaitForSbcOML = (glXWaitForSbcOMLPROC)glewGetProcAddress("glXWaitForSbcOML")) == NULL; + r = r || (glXGetSyncValuesOML = (PFNGLXGETSYNCVALUESOMLPROC)glewGetProcAddress("glXGetSyncValuesOML")) == NULL; + r = r || (glXGetMscRateOML = (PFNGLXGETMSCRATEOMLPROC)glewGetProcAddress("glXGetMscRateOML")) == NULL; + r = r || (glXSwapBuffersMscOML = (PFNGLXSWAPBUFFERSMSCOMLPROC)glewGetProcAddress("glXSwapBuffersMscOML")) == NULL; + r = r || (glXWaitForMscOML = (PFNGLXWAITFORMSCOMLPROC)glewGetProcAddress("glXWaitForMscOML")) == NULL; + r = r || (glXWaitForSbcOML = (PFNGLXWAITFORSBCOMLPROC)glewGetProcAddress("glXWaitForSbcOML")) == NULL; return r; } #endif /* __STDC_VERSION__ */ @@ -2439,12 +2454,12 @@ static GLboolean _glxewInit_OML_sync_control () /* ------------------------------- SGI_cushion ---------------------------- */ #ifdef GLX_SGI_cushion -glXCushionSGIPROC glXCushionSGI = NULL; +PFNGLXCUSHIONSGIPROC glXCushionSGI = NULL; static GLboolean _glxewInit_SGI_cushion () { GLboolean r = GL_FALSE; - r = r || (glXCushionSGI = (glXCushionSGIPROC)glewGetProcAddress("glXCushionSGI")) == NULL; + r = r || (glXCushionSGI = (PFNGLXCUSHIONSGIPROC)glewGetProcAddress("glXCushionSGI")) == NULL; return r; } #endif /* GLX_SGI_cushion */ @@ -2452,14 +2467,14 @@ static GLboolean _glxewInit_SGI_cushion () /* -------------------------- SGI_make_current_read ----------------------- */ #ifdef GLX_SGI_make_current_read -glXMakeCurrentReadSGIPROC glXMakeCurrentReadSGI = NULL; -glXGetCurrentReadDrawableSGIPROC glXGetCurrentReadDrawableSGI = NULL; +PFNGLXMAKECURRENTREADSGIPROC glXMakeCurrentReadSGI = NULL; +PFNGLXGETCURRENTREADDRAWABLESGIPROC glXGetCurrentReadDrawableSGI = NULL; static GLboolean _glxewInit_SGI_make_current_read () { GLboolean r = GL_FALSE; - r = r || (glXMakeCurrentReadSGI = (glXMakeCurrentReadSGIPROC)glewGetProcAddress("glXMakeCurrentReadSGI")) == NULL; - r = r || (glXGetCurrentReadDrawableSGI = (glXGetCurrentReadDrawableSGIPROC)glewGetProcAddress("glXGetCurrentReadDrawableSGI")) == NULL; + r = r || (glXMakeCurrentReadSGI = (PFNGLXMAKECURRENTREADSGIPROC)glewGetProcAddress("glXMakeCurrentReadSGI")) == NULL; + r = r || (glXGetCurrentReadDrawableSGI = (PFNGLXGETCURRENTREADDRAWABLESGIPROC)glewGetProcAddress("glXGetCurrentReadDrawableSGI")) == NULL; return r; } #endif /* GLX_SGI_make_current_read */ @@ -2467,12 +2482,12 @@ static GLboolean _glxewInit_SGI_make_current_read () /* ---------------------------- SGI_swap_control -------------------------- */ #ifdef GLX_SGI_swap_control -glXSwapIntervalSGIPROC glXSwapIntervalSGI = NULL; +PFNGLXSWAPINTERVALSGIPROC glXSwapIntervalSGI = NULL; static GLboolean _glxewInit_SGI_swap_control () { GLboolean r = GL_FALSE; - r = r || (glXSwapIntervalSGI = (glXSwapIntervalSGIPROC)glewGetProcAddress("glXSwapIntervalSGI")) == NULL; + r = r || (glXSwapIntervalSGI = (PFNGLXSWAPINTERVALSGIPROC)glewGetProcAddress("glXSwapIntervalSGI")) == NULL; return r; } #endif /* GLX_SGI_swap_control */ @@ -2480,16 +2495,16 @@ static GLboolean _glxewInit_SGI_swap_control () /* ----------------------------- SGI_video_sync --------------------------- */ #ifdef GLX_SGI_video_sync -glXGetVideoSyncSGIPROC glXGetVideoSyncSGI = NULL; -glXWaitVideoSyncSGIPROC glXWaitVideoSyncSGI = NULL; -glXGetRefreshRateSGIPROC glXGetRefreshRateSGI = NULL; +PFNGLXGETVIDEOSYNCSGIPROC glXGetVideoSyncSGI = NULL; +PFNGLXWAITVIDEOSYNCSGIPROC glXWaitVideoSyncSGI = NULL; +PFNGLXGETREFRESHRATESGIPROC glXGetRefreshRateSGI = NULL; static GLboolean _glxewInit_SGI_video_sync () { GLboolean r = GL_FALSE; - r = r || (glXGetVideoSyncSGI = (glXGetVideoSyncSGIPROC)glewGetProcAddress("glXGetVideoSyncSGI")) == NULL; - r = r || (glXWaitVideoSyncSGI = (glXWaitVideoSyncSGIPROC)glewGetProcAddress("glXWaitVideoSyncSGI")) == NULL; - r = r || (glXGetRefreshRateSGI = (glXGetRefreshRateSGIPROC)glewGetProcAddress("glXGetRefreshRateSGI")) == NULL; + r = r || (glXGetVideoSyncSGI = (PFNGLXGETVIDEOSYNCSGIPROC)glewGetProcAddress("glXGetVideoSyncSGI")) == NULL; + r = r || (glXWaitVideoSyncSGI = (PFNGLXWAITVIDEOSYNCSGIPROC)glewGetProcAddress("glXWaitVideoSyncSGI")) == NULL; + r = r || (glXGetRefreshRateSGI = (PFNGLXGETREFRESHRATESGIPROC)glewGetProcAddress("glXGetRefreshRateSGI")) == NULL; return r; } #endif /* GLX_SGI_video_sync */ @@ -2497,22 +2512,22 @@ static GLboolean _glxewInit_SGI_video_sync () /* ------------------------------ SGIX_fbconfig --------------------------- */ #ifdef GLX_SGIX_fbconfig -glXGetFBConfigAttribSGIXPROC glXGetFBConfigAttribSGIX = NULL; -glXChooseFBConfigSGIXPROC glXChooseFBConfigSGIX = NULL; -glXCreateGLXPixmapWithConfigSGIXPROC glXCreateGLXPixmapWithConfigSGIX = NULL; -glXCreateContextWithConfigSGIXPROC glXCreateContextWithConfigSGIX = NULL; -glXGetVisualFromFBConfigSGIXPROC glXGetVisualFromFBConfigSGIX = NULL; -glXGetFBConfigFromVisualSGIXPROC glXGetFBConfigFromVisualSGIX = NULL; +PFNGLXGETFBCONFIGATTRIBSGIXPROC glXGetFBConfigAttribSGIX = NULL; +PFNGLXCHOOSEFBCONFIGSGIXPROC glXChooseFBConfigSGIX = NULL; +PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC glXCreateGLXPixmapWithConfigSGIX = NULL; +PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC glXCreateContextWithConfigSGIX = NULL; +PFNGLXGETVISUALFROMFBCONFIGSGIXPROC glXGetVisualFromFBConfigSGIX = NULL; +PFNGLXGETFBCONFIGFROMVISUALSGIXPROC glXGetFBConfigFromVisualSGIX = NULL; static GLboolean _glxewInit_SGIX_fbconfig () { GLboolean r = GL_FALSE; - r = r || (glXGetFBConfigAttribSGIX = (glXGetFBConfigAttribSGIXPROC)glewGetProcAddress("glXGetFBConfigAttribSGIX")) == NULL; - r = r || (glXChooseFBConfigSGIX = (glXChooseFBConfigSGIXPROC)glewGetProcAddress("glXChooseFBConfigSGIX")) == NULL; - r = r || (glXCreateGLXPixmapWithConfigSGIX = (glXCreateGLXPixmapWithConfigSGIXPROC)glewGetProcAddress("glXCreateGLXPixmapWithConfigSGIX")) == NULL; - r = r || (glXCreateContextWithConfigSGIX = (glXCreateContextWithConfigSGIXPROC)glewGetProcAddress("glXCreateContextWithConfigSGIX")) == NULL; - r = r || (glXGetVisualFromFBConfigSGIX = (glXGetVisualFromFBConfigSGIXPROC)glewGetProcAddress("glXGetVisualFromFBConfigSGIX")) == NULL; - r = r || (glXGetFBConfigFromVisualSGIX = (glXGetFBConfigFromVisualSGIXPROC)glewGetProcAddress("glXGetFBConfigFromVisualSGIX")) == NULL; + r = r || (glXGetFBConfigAttribSGIX = (PFNGLXGETFBCONFIGATTRIBSGIXPROC)glewGetProcAddress("glXGetFBConfigAttribSGIX")) == NULL; + r = r || (glXChooseFBConfigSGIX = (PFNGLXCHOOSEFBCONFIGSGIXPROC)glewGetProcAddress("glXChooseFBConfigSGIX")) == NULL; + r = r || (glXCreateGLXPixmapWithConfigSGIX = (PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)glewGetProcAddress("glXCreateGLXPixmapWithConfigSGIX")) == NULL; + r = r || (glXCreateContextWithConfigSGIX = (PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)glewGetProcAddress("glXCreateContextWithConfigSGIX")) == NULL; + r = r || (glXGetVisualFromFBConfigSGIX = (PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)glewGetProcAddress("glXGetVisualFromFBConfigSGIX")) == NULL; + r = r || (glXGetFBConfigFromVisualSGIX = (PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)glewGetProcAddress("glXGetFBConfigFromVisualSGIX")) == NULL; return r; } #endif /* GLX_SGIX_fbconfig */ @@ -2520,20 +2535,20 @@ static GLboolean _glxewInit_SGIX_fbconfig () /* ------------------------------- SGIX_pbuffer --------------------------- */ #ifdef GLX_SGIX_pbuffer -glXCreateGLXPbufferSGIXPROC glXCreateGLXPbufferSGIX = NULL; -glXDestroyGLXPbufferSGIXPROC glXDestroyGLXPbufferSGIX = NULL; -glXQueryGLXPbufferSGIXPROC glXQueryGLXPbufferSGIX = NULL; -glXSelectEventSGIXPROC glXSelectEventSGIX = NULL; -glXGetSelectedEventSGIXPROC glXGetSelectedEventSGIX = NULL; +PFNGLXCREATEGLXPBUFFERSGIXPROC glXCreateGLXPbufferSGIX = NULL; +PFNGLXDESTROYGLXPBUFFERSGIXPROC glXDestroyGLXPbufferSGIX = NULL; +PFNGLXQUERYGLXPBUFFERSGIXPROC glXQueryGLXPbufferSGIX = NULL; +PFNGLXSELECTEVENTSGIXPROC glXSelectEventSGIX = NULL; +PFNGLXGETSELECTEDEVENTSGIXPROC glXGetSelectedEventSGIX = NULL; static GLboolean _glxewInit_SGIX_pbuffer () { GLboolean r = GL_FALSE; - r = r || (glXCreateGLXPbufferSGIX = (glXCreateGLXPbufferSGIXPROC)glewGetProcAddress("glXCreateGLXPbufferSGIX")) == NULL; - r = r || (glXDestroyGLXPbufferSGIX = (glXDestroyGLXPbufferSGIXPROC)glewGetProcAddress("glXDestroyGLXPbufferSGIX")) == NULL; - r = r || (glXQueryGLXPbufferSGIX = (glXQueryGLXPbufferSGIXPROC)glewGetProcAddress("glXQueryGLXPbufferSGIX")) == NULL; - r = r || (glXSelectEventSGIX = (glXSelectEventSGIXPROC)glewGetProcAddress("glXSelectEventSGIX")) == NULL; - r = r || (glXGetSelectedEventSGIX = (glXGetSelectedEventSGIXPROC)glewGetProcAddress("glXGetSelectedEventSGIX")) == NULL; + r = r || (glXCreateGLXPbufferSGIX = (PFNGLXCREATEGLXPBUFFERSGIXPROC)glewGetProcAddress("glXCreateGLXPbufferSGIX")) == NULL; + r = r || (glXDestroyGLXPbufferSGIX = (PFNGLXDESTROYGLXPBUFFERSGIXPROC)glewGetProcAddress("glXDestroyGLXPbufferSGIX")) == NULL; + r = r || (glXQueryGLXPbufferSGIX = (PFNGLXQUERYGLXPBUFFERSGIXPROC)glewGetProcAddress("glXQueryGLXPbufferSGIX")) == NULL; + r = r || (glXSelectEventSGIX = (PFNGLXSELECTEVENTSGIXPROC)glewGetProcAddress("glXSelectEventSGIX")) == NULL; + r = r || (glXGetSelectedEventSGIX = (PFNGLXGETSELECTEDEVENTSGIXPROC)glewGetProcAddress("glXGetSelectedEventSGIX")) == NULL; return r; } #endif /* GLX_SGIX_pbuffer */ @@ -2541,14 +2556,14 @@ static GLboolean _glxewInit_SGIX_pbuffer () /* ---------------------------- SGIX_swap_barrier ------------------------- */ #ifdef GLX_SGIX_swap_barrier -glXBindSwapBarrierSGIXPROC glXBindSwapBarrierSGIX = NULL; -glXQueryMaxSwapBarriersSGIXPROC glXQueryMaxSwapBarriersSGIX = NULL; +PFNGLXBINDSWAPBARRIERSGIXPROC glXBindSwapBarrierSGIX = NULL; +PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC glXQueryMaxSwapBarriersSGIX = NULL; static GLboolean _glxewInit_SGIX_swap_barrier () { GLboolean r = GL_FALSE; - r = r || (glXBindSwapBarrierSGIX = (glXBindSwapBarrierSGIXPROC)glewGetProcAddress("glXBindSwapBarrierSGIX")) == NULL; - r = r || (glXQueryMaxSwapBarriersSGIX = (glXQueryMaxSwapBarriersSGIXPROC)glewGetProcAddress("glXQueryMaxSwapBarriersSGIX")) == NULL; + r = r || (glXBindSwapBarrierSGIX = (PFNGLXBINDSWAPBARRIERSGIXPROC)glewGetProcAddress("glXBindSwapBarrierSGIX")) == NULL; + r = r || (glXQueryMaxSwapBarriersSGIX = (PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)glewGetProcAddress("glXQueryMaxSwapBarriersSGIX")) == NULL; return r; } #endif /* GLX_SGIX_swap_barrier */ @@ -2556,12 +2571,12 @@ static GLboolean _glxewInit_SGIX_swap_barrier () /* ----------------------------- SGIX_swap_group -------------------------- */ #ifdef GLX_SGIX_swap_group -glXJoinSwapGroupSGIXPROC glXJoinSwapGroupSGIX = NULL; +PFNGLXJOINSWAPGROUPSGIXPROC glXJoinSwapGroupSGIX = NULL; static GLboolean _glxewInit_SGIX_swap_group () { GLboolean r = GL_FALSE; - r = r || (glXJoinSwapGroupSGIX = (glXJoinSwapGroupSGIXPROC)glewGetProcAddress("glXJoinSwapGroupSGIX")) == NULL; + r = r || (glXJoinSwapGroupSGIX = (PFNGLXJOINSWAPGROUPSGIXPROC)glewGetProcAddress("glXJoinSwapGroupSGIX")) == NULL; return r; } #endif /* GLX_SGIX_swap_group */ @@ -2569,12 +2584,12 @@ static GLboolean _glxewInit_SGIX_swap_group () /* ------------------------ SUN_get_transparent_index --------------------- */ #ifdef GLX_SUN_get_transparent_index -glXGetTransparentIndexSUNPROC glXGetTransparentIndexSUN = NULL; +PFNGLXGETTRANSPARENTINDEXSUNPROC glXGetTransparentIndexSUN = NULL; static GLboolean _glxewInit_SUN_get_transparent_index () { GLboolean r = GL_FALSE; - r = r || (glXGetTransparentIndexSUN = (glXGetTransparentIndexSUNPROC)glewGetProcAddress("glXGetTransparentIndexSUN")) == NULL; + r = r || (glXGetTransparentIndexSUN = (PFNGLXGETTRANSPARENTINDEXSUNPROC)glewGetProcAddress("glXGetTransparentIndexSUN")) == NULL; return r; } #endif /* GLX_SUN_get_transparent_index */ @@ -2843,6 +2858,10 @@ static GLint _glewInit () #ifdef GL_EXT_texture_rectangle glew.EXT_texture_rectangle = glewGetExtension("GL_EXT_texture_rectangle"); #endif +#ifdef GL_EXT_texture3D + glew.EXT_texture3D = glewGetExtension("GL_EXT_texture3D"); + if (glewExperimental || glew.EXT_texture3D) glew.EXT_texture3D = !_glewInit_EXT_texture3D(); +#endif #ifdef GL_EXT_vertex_shader glew.EXT_vertex_shader = glewGetExtension("GL_EXT_vertex_shader"); if (glewExperimental || glew.EXT_vertex_shader) glew.EXT_vertex_shader = !_glewInit_EXT_vertex_shader(); diff --git a/src/glewinfo.c b/src/glewinfo.c index 5bb647b..b5553c4 100644 --- a/src/glewinfo.c +++ b/src/glewinfo.c @@ -644,6 +644,17 @@ static void glewInfo_EXT_stencil_two_side () } #endif /* GL_EXT_stencil_two_side */ +/* ----------------------------- EXT_texture3D ---------------------------- */ + +#ifdef GL_EXT_texture3D +static void glewInfo_EXT_texture3D () +{ + char me[] = "GL_EXT_texture3D"; glewPrintExt(me, glew.EXT_texture3D); + glewInfoFunc(glTexImage3DEXT == NULL, "glTexImage3DEXT"); + glewInfoFunc(glTexSubImage3DEXT == NULL, "glTexSubImage3DEXT"); +} +#endif /* GL_EXT_texture3D */ + /* --------------------------- EXT_vertex_shader -------------------------- */ #ifdef GL_EXT_vertex_shader @@ -1826,6 +1837,9 @@ static void glewInfo () #ifdef GL_EXT_texture_rectangle glewPrintExt("GL_EXT_texture_rectangle", glew.EXT_texture_rectangle); #endif +#ifdef GL_EXT_texture3D + glewInfo_EXT_texture3D(); +#endif #ifdef GL_EXT_vertex_shader glewInfo_EXT_vertex_shader(); #endif