-
Notifications
You must be signed in to change notification settings - Fork 17
/
Glextensions.h
49 lines (40 loc) · 2.09 KB
/
Glextensions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//**************************************************************
//* OpenGLide - Glide to OpenGL Wrapper
//* http://openglide.sourceforge.net
//*
//* OpenGL Extensions Header
//*
//* OpenGLide is OpenSource under LGPL license
//* Originally made by Fabio Barros
//* Modified by Paul for Glidos (http://www.glidos.net)
//* Linux version by Simon White
//**************************************************************
#ifndef __GLEXTENSIONS__
#define __GLEXTENSIONS__
#ifndef GL_GLEXT_VERSION
#include <GL/glext.h>
#endif
void ValidateUserConfig();
// Extensions Functions Declarations
// This cannot have the same name as the prototype functions
// in glext.h, else compiler complains about object being
// redeclared as different type of symbol (func->variable).
extern PFNGLCLIENTACTIVETEXTUREARBPROC p_glClientActiveTexture;
extern PFNGLMULTITEXCOORD4FARBPROC p_glMultiTexCoord4fARB;
extern PFNGLMULTITEXCOORD4FVARBPROC p_glMultiTexCoord4fvARB;
extern PFNGLACTIVETEXTUREARBPROC p_glActiveTextureARB;
extern PFNGLSECONDARYCOLOR3UBVEXTPROC p_glSecondaryColor3ubvEXT;
extern PFNGLSECONDARYCOLOR3UBEXTPROC p_glSecondaryColor3ubEXT;
extern PFNGLSECONDARYCOLORPOINTEREXTPROC p_glSecondaryColorPointerEXT;
extern PFNGLFOGCOORDFEXTPROC p_glFogCoordfEXT;
extern PFNGLFOGCOORDPOINTEREXTPROC p_glFogCoordPointerEXT;
extern PFNGLSECONDARYCOLOR3FVEXTPROC p_glSecondaryColor3fvEXT;
extern PFNGLSECONDARYCOLOR3FEXTPROC p_glSecondaryColor3fEXT;
extern PFNGLCOLORTABLEEXTPROC p_glColorTableEXT;
extern PFNGLCOLORSUBTABLEEXTPROC p_glColorSubTableEXT;
extern PFNGLGETCOLORTABLEEXTPROC p_glGetColorTableEXT;
extern PFNGLGETCOLORTABLEPARAMETERIVEXTPROC p_glGetColorTableParameterivEXT;
extern PFNGLGETCOLORTABLEPARAMETERFVEXTPROC p_glGetColorTableParameterfvEXT;
extern PFNGLBLENDFUNCSEPARATEEXTPROC p_glBlendFuncSeparateEXT;
void APIENTRY DummyV( const void *a );
#endif