10 typedef void (GL_APIENTRY* PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type,
const GLvoid *pixels);
11 typedef void (GL_APIENTRY* PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type,
const GLvoid *pixels);
12 typedef void (GL_APIENTRY* PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize,
const GLvoid *data);
13 typedef void (GL_APIENTRY* PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize,
const GLvoid *data);
14 typedef void (GL_APIENTRY* PFNGLGENERATEMIPMAPPROC) (GLenum target);
17 extern PFNGLTEXIMAGE1DPROC glTexImage1D;
18 extern PFNGLTEXIMAGE3DPROC glTexImage3D;
19 extern PFNGLCOMPRESSEDTEXIMAGE1DPROC glCompressedTexImage1D;
20 extern PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D;
21 extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap;
24 #define DECLARE_GL_FUNCPTRS \
25 PFNGLTEXIMAGE1DPROC glTexImage1D = 0; \
26 PFNGLTEXIMAGE3DPROC glTexImage3D = 0; \
27 PFNGLCOMPRESSEDTEXIMAGE1DPROC glCompressedTexImage1D = 0; \
28 PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D = 0; \
29 PFNGLGENERATEMIPMAPPROC glGenerateMipmap = 0;
32 extern int GLEW_OES_compressed_ETC1_RGB8_texture;
35 #define DECLARE_GL_EXTGLOBALS \
36 int GLEW_OES_compressed_ETC1_RGB8_texture = 0;