version 1.4 | | version 1.5 |
---|
| | |
#define GL_MAX_TEXTURES_SGIS 0x835D
| | #define GL_MAX_TEXTURES_SGIS 0x835D
|
#endif
| | #endif
|
| |
|
| | #ifndef GL_EXT_paletted_texture
|
| | #define GL_EXT_paletted_texture 1
|
| | #define GL_COLOR_INDEX8_EXT 0x80E5
|
| | #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
|
| | #endif
|
| |
|
#ifdef _cplusplus
| | #ifdef _cplusplus
|
#define OEXTERN extern "C"
| | #define OEXTERN extern "C"
|
| | |
#define glMultiTexCoord2fSGIS dglMultiTexCoord2fSGIS
| | #define glMultiTexCoord2fSGIS dglMultiTexCoord2fSGIS
|
#define glSelectTextureSGIS dglSelectTextureSGIS
| | #define glSelectTextureSGIS dglSelectTextureSGIS
|
| |
|
| | #define glColorTableEXT dglColorTableEXT
|
| |
|
#ifdef WIN32
| | #ifdef WIN32
|
#define wglCopyContext dwglCopyContext
| | #define wglCopyContext dwglCopyContext
|
#define wglCreateContext dwglCreateContext
| | #define wglCreateContext dwglCreateContext
|
| | |
typedef void (OGLFUNCCALL *glActiveTextureARB_fp)(GLenum target);
| | typedef void (OGLFUNCCALL *glActiveTextureARB_fp)(GLenum target);
|
typedef void (OGLFUNCCALL *glMultiTexCoord2fSGIS_fp)(GLenum target, GLfloat s, GLfloat t);
| | typedef void (OGLFUNCCALL *glMultiTexCoord2fSGIS_fp)(GLenum target, GLfloat s, GLfloat t);
|
typedef void (OGLFUNCCALL *glSelectTextureSGIS_fp)(GLenum target);
| | typedef void (OGLFUNCCALL *glSelectTextureSGIS_fp)(GLenum target);
|
| | typedef void (OGLFUNCCALL *glColorTableEXT_fp)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
|
| |
|
#ifdef WIN32
| | #ifdef WIN32
|
typedef BOOL (OGLFUNCCALL *wglCopyContext_fp)(HGLRC, HGLRC, UINT);
| | typedef BOOL (OGLFUNCCALL *wglCopyContext_fp)(HGLRC, HGLRC, UINT);
|
| | |
DEFVAR glActiveTextureARB_fp dglActiveTextureARB;
| | DEFVAR glActiveTextureARB_fp dglActiveTextureARB;
|
DEFVAR glMultiTexCoord2fSGIS_fp dglMultiTexCoord2fSGIS;
| | DEFVAR glMultiTexCoord2fSGIS_fp dglMultiTexCoord2fSGIS;
|
DEFVAR glSelectTextureSGIS_fp dglSelectTextureSGIS;
| | DEFVAR glSelectTextureSGIS_fp dglSelectTextureSGIS;
|
| | DEFVAR glColorTableEXT_fp dglColorTableEXT;
|
| |
|
#ifdef WIN32
| | #ifdef WIN32
|
DEFVAR wglCopyContext_fp dwglCopyContext;
| | DEFVAR wglCopyContext_fp dwglCopyContext;
|
| | |
dglActiveTextureARB = NULL;
| | dglActiveTextureARB = NULL;
|
dglMultiTexCoord2fSGIS = NULL;
| | dglMultiTexCoord2fSGIS = NULL;
|
dglSelectTextureSGIS = NULL;
| | dglSelectTextureSGIS = NULL;
|
| |
|
| | dglColorTableEXT = NULL;
|
| |
|
#ifdef WIN32
| | #ifdef WIN32
|
dwglCopyContext = NULL;
| | dwglCopyContext = NULL;
|