Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

QGL_WIN.CPP

Go to the documentation of this file.
00001 /*
00002 ===========================================================================
00003 Copyright (C) 1999-2005 Id Software, Inc.
00004 
00005 This file is part of Quake III Arena source code.
00006 
00007 Quake III Arena source code is free software; you can redistribute it
00008 and/or modify it under the terms of the GNU General Public License as
00009 published by the Free Software Foundation; either version 2 of the License,
00010 or (at your option) any later version.
00011 
00012 Quake III Arena source code is distributed in the hope that it will be
00013 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Foobar; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020 ===========================================================================
00021 */
00022 /*
00023 ** QGL_WIN.C
00024 **
00025 ** This file implements the operating system binding of GL to QGL function
00026 ** pointers.  When doing a port of Quake2 you must implement the following
00027 ** two functions:
00028 **
00029 ** QGL_Init() - loads libraries, assigns function pointers, etc.
00030 ** QGL_Shutdown() - unloads libraries, NULLs function pointers
00031 */
00032 #include "stdafx.h"
00033 #include <float.h>
00034 
00035 HMODULE g_hGLDLL = NULL;
00036 
00037 #   pragma warning (disable : 4113 4133 4047 )
00038 
00039 int   ( WINAPI * qwglChoosePixelFormat )(HDC, CONST PIXELFORMATDESCRIPTOR *);
00040 int   ( WINAPI * qwglDescribePixelFormat) (HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
00041 int   ( WINAPI * qwglGetPixelFormat)(HDC);
00042 BOOL  ( WINAPI * qwglSetPixelFormat)(HDC, int, CONST PIXELFORMATDESCRIPTOR *);
00043 BOOL  ( WINAPI * qwglSwapBuffers)(HDC);
00044 
00045 BOOL  ( WINAPI * qwglCopyContext)(HGLRC, HGLRC, UINT);
00046 HGLRC ( WINAPI * qwglCreateContext)(HDC);
00047 HGLRC ( WINAPI * qwglCreateLayerContext)(HDC, int);
00048 BOOL  ( WINAPI * qwglDeleteContext)(HGLRC);
00049 HGLRC ( WINAPI * qwglGetCurrentContext)(VOID);
00050 HDC   ( WINAPI * qwglGetCurrentDC)(VOID);
00051 PROC  ( WINAPI * qwglGetProcAddress)(LPCSTR);
00052 BOOL  ( WINAPI * qwglMakeCurrent)(HDC, HGLRC);
00053 BOOL  ( WINAPI * qwglShareLists)(HGLRC, HGLRC);
00054 BOOL  ( WINAPI * qwglUseFontBitmaps)(HDC, DWORD, DWORD, DWORD);
00055 
00056 BOOL  ( WINAPI * qwglUseFontOutlines)(HDC, DWORD, DWORD, DWORD, FLOAT,
00057                                            FLOAT, int, LPGLYPHMETRICSFLOAT);
00058 
00059 BOOL ( WINAPI * qwglDescribeLayerPlane)(HDC, int, int, UINT,
00060                                             LPLAYERPLANEDESCRIPTOR);
00061 int  ( WINAPI * qwglSetLayerPaletteEntries)(HDC, int, int, int,
00062                                                 CONST COLORREF *);
00063 int  ( WINAPI * qwglGetLayerPaletteEntries)(HDC, int, int, int,
00064                                                 COLORREF *);
00065 BOOL ( WINAPI * qwglRealizeLayerPalette)(HDC, int, BOOL);
00066 BOOL ( WINAPI * qwglSwapLayerBuffers)(HDC, UINT);
00067 
00068 void ( APIENTRY * qglAccum )(GLenum op, GLfloat value);
00069 void ( APIENTRY * qglAlphaFunc )(GLenum func, GLclampf ref);
00070 GLboolean ( APIENTRY * qglAreTexturesResident )(GLsizei n, const GLuint *textures, GLboolean *residences);
00071 void ( APIENTRY * qglArrayElement )(GLint i);
00072 void ( APIENTRY * qglBegin )(GLenum mode);
00073 void ( APIENTRY * qglBindTexture )(GLenum target, GLuint texture);
00074 void ( APIENTRY * qglBitmap )(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
00075 void ( APIENTRY * qglBlendFunc )(GLenum sfactor, GLenum dfactor);
00076 void ( APIENTRY * qglCallList )(GLuint list);
00077 void ( APIENTRY * qglCallLists )(GLsizei n, GLenum type, const GLvoid *lists);
00078 void ( APIENTRY * qglClear )(GLbitfield mask);
00079 void ( APIENTRY * qglClearAccum )(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
00080 void ( APIENTRY * qglClearColor )(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
00081 void ( APIENTRY * qglClearDepth )(GLclampd depth);
00082 void ( APIENTRY * qglClearIndex )(GLfloat c);
00083 void ( APIENTRY * qglClearStencil )(GLint s);
00084 void ( APIENTRY * qglClipPlane )(GLenum plane, const GLdouble *equation);
00085 void ( APIENTRY * qglColor3b )(GLbyte red, GLbyte green, GLbyte blue);
00086 void ( APIENTRY * qglColor3bv )(const GLbyte *v);
00087 void ( APIENTRY * qglColor3d )(GLdouble red, GLdouble green, GLdouble blue);
00088 void ( APIENTRY * qglColor3dv )(const GLdouble *v);
00089 void ( APIENTRY * qglColor3f )(GLfloat red, GLfloat green, GLfloat blue);
00090 void ( APIENTRY * qglColor3fv )(const GLfloat *v);
00091 void ( APIENTRY * qglColor3i )(GLint red, GLint green, GLint blue);
00092 void ( APIENTRY * qglColor3iv )(const GLint *v);
00093 void ( APIENTRY * qglColor3s )(GLshort red, GLshort green, GLshort blue);
00094 void ( APIENTRY * qglColor3sv )(const GLshort *v);
00095 void ( APIENTRY * qglColor3ub )(GLubyte red, GLubyte green, GLubyte blue);
00096 void ( APIENTRY * qglColor3ubv )(const GLubyte *v);
00097 void ( APIENTRY * qglColor3ui )(GLuint red, GLuint green, GLuint blue);
00098 void ( APIENTRY * qglColor3uiv )(const GLuint *v);
00099 void ( APIENTRY * qglColor3us )(GLushort red, GLushort green, GLushort blue);
00100 void ( APIENTRY * qglColor3usv )(const GLushort *v);
00101 void ( APIENTRY * qglColor4b )(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
00102 void ( APIENTRY * qglColor4bv )(const GLbyte *v);
00103 void ( APIENTRY * qglColor4d )(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
00104 void ( APIENTRY * qglColor4dv )(const GLdouble *v);
00105 void ( APIENTRY * qglColor4f )(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
00106 void ( APIENTRY * qglColor4fv )(const GLfloat *v);
00107 void ( APIENTRY * qglColor4i )(GLint red, GLint green, GLint blue, GLint alpha);
00108 void ( APIENTRY * qglColor4iv )(const GLint *v);
00109 void ( APIENTRY * qglColor4s )(GLshort red, GLshort green, GLshort blue, GLshort alpha);
00110 void ( APIENTRY * qglColor4sv )(const GLshort *v);
00111 void ( APIENTRY * qglColor4ub )(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
00112 void ( APIENTRY * qglColor4ubv )(const GLubyte *v);
00113 void ( APIENTRY * qglColor4ui )(GLuint red, GLuint green, GLuint blue, GLuint alpha);
00114 void ( APIENTRY * qglColor4uiv )(const GLuint *v);
00115 void ( APIENTRY * qglColor4us )(GLushort red, GLushort green, GLushort blue, GLushort alpha);
00116 void ( APIENTRY * qglColor4usv )(const GLushort *v);
00117 void ( APIENTRY * qglColorMask )(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
00118 void ( APIENTRY * qglColorMaterial )(GLenum face, GLenum mode);
00119 void ( APIENTRY * qglColorPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
00120 void ( APIENTRY * qglCopyPixels )(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
00121 void ( APIENTRY * qglCopyTexImage1D )(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
00122 void ( APIENTRY * qglCopyTexImage2D )(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
00123 void ( APIENTRY * qglCopyTexSubImage1D )(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
00124 void ( APIENTRY * qglCopyTexSubImage2D )(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
00125 void ( APIENTRY * qglCullFace )(GLenum mode);
00126 void ( APIENTRY * qglDeleteLists )(GLuint list, GLsizei range);
00127 void ( APIENTRY * qglDeleteTextures )(GLsizei n, const GLuint *textures);
00128 void ( APIENTRY * qglDepthFunc )(GLenum func);
00129 void ( APIENTRY * qglDepthMask )(GLboolean flag);
00130 void ( APIENTRY * qglDepthRange )(GLclampd zNear, GLclampd zFar);
00131 void ( APIENTRY * qglDisable )(GLenum cap);
00132 void ( APIENTRY * qglDisableClientState )(GLenum array);
00133 void ( APIENTRY * qglDrawArrays )(GLenum mode, GLint first, GLsizei count);
00134 void ( APIENTRY * qglDrawBuffer )(GLenum mode);
00135 void ( APIENTRY * qglDrawElements )(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
00136 void ( APIENTRY * qglDrawPixels )(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
00137 void ( APIENTRY * qglEdgeFlag )(GLboolean flag);
00138 void ( APIENTRY * qglEdgeFlagPointer )(GLsizei stride, const GLvoid *pointer);
00139 void ( APIENTRY * qglEdgeFlagv )(const GLboolean *flag);
00140 void ( APIENTRY * qglEnable )(GLenum cap);
00141 void ( APIENTRY * qglEnableClientState )(GLenum array);
00142 void ( APIENTRY * qglEnd )(void);
00143 void ( APIENTRY * qglEndList )(void);
00144 void ( APIENTRY * qglEvalCoord1d )(GLdouble u);
00145 void ( APIENTRY * qglEvalCoord1dv )(const GLdouble *u);
00146 void ( APIENTRY * qglEvalCoord1f )(GLfloat u);
00147 void ( APIENTRY * qglEvalCoord1fv )(const GLfloat *u);
00148 void ( APIENTRY * qglEvalCoord2d )(GLdouble u, GLdouble v);
00149 void ( APIENTRY * qglEvalCoord2dv )(const GLdouble *u);
00150 void ( APIENTRY * qglEvalCoord2f )(GLfloat u, GLfloat v);
00151 void ( APIENTRY * qglEvalCoord2fv )(const GLfloat *u);
00152 void ( APIENTRY * qglEvalMesh1 )(GLenum mode, GLint i1, GLint i2);
00153 void ( APIENTRY * qglEvalMesh2 )(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
00154 void ( APIENTRY * qglEvalPoint1 )(GLint i);
00155 void ( APIENTRY * qglEvalPoint2 )(GLint i, GLint j);
00156 void ( APIENTRY * qglFeedbackBuffer )(GLsizei size, GLenum type, GLfloat *buffer);
00157 void ( APIENTRY * qglFinish )(void);
00158 void ( APIENTRY * qglFlush )(void);
00159 void ( APIENTRY * qglFogf )(GLenum pname, GLfloat param);
00160 void ( APIENTRY * qglFogfv )(GLenum pname, const GLfloat *params);
00161 void ( APIENTRY * qglFogi )(GLenum pname, GLint param);
00162 void ( APIENTRY * qglFogiv )(GLenum pname, const GLint *params);
00163 void ( APIENTRY * qglFrontFace )(GLenum mode);
00164 void ( APIENTRY * qglFrustum )(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
00165 GLuint ( APIENTRY * qglGenLists )(GLsizei range);
00166 void ( APIENTRY * qglGenTextures )(GLsizei n, GLuint *textures);
00167 void ( APIENTRY * qglGetBooleanv )(GLenum pname, GLboolean *params);
00168 void ( APIENTRY * qglGetClipPlane )(GLenum plane, GLdouble *equation);
00169 void ( APIENTRY * qglGetDoublev )(GLenum pname, GLdouble *params);
00170 GLenum ( APIENTRY * qglGetError )(void);
00171 void ( APIENTRY * qglGetFloatv )(GLenum pname, GLfloat *params);
00172 void ( APIENTRY * qglGetIntegerv )(GLenum pname, GLint *params);
00173 void ( APIENTRY * qglGetLightfv )(GLenum light, GLenum pname, GLfloat *params);
00174 void ( APIENTRY * qglGetLightiv )(GLenum light, GLenum pname, GLint *params);
00175 void ( APIENTRY * qglGetMapdv )(GLenum target, GLenum query, GLdouble *v);
00176 void ( APIENTRY * qglGetMapfv )(GLenum target, GLenum query, GLfloat *v);
00177 void ( APIENTRY * qglGetMapiv )(GLenum target, GLenum query, GLint *v);
00178 void ( APIENTRY * qglGetMaterialfv )(GLenum face, GLenum pname, GLfloat *params);
00179 void ( APIENTRY * qglGetMaterialiv )(GLenum face, GLenum pname, GLint *params);
00180 void ( APIENTRY * qglGetPixelMapfv )(GLenum map, GLfloat *values);
00181 void ( APIENTRY * qglGetPixelMapuiv )(GLenum map, GLuint *values);
00182 void ( APIENTRY * qglGetPixelMapusv )(GLenum map, GLushort *values);
00183 void ( APIENTRY * qglGetPointerv )(GLenum pname, GLvoid* *params);
00184 void ( APIENTRY * qglGetPolygonStipple )(GLubyte *mask);
00185 const GLubyte * ( APIENTRY * qglGetString )(GLenum name);
00186 void ( APIENTRY * qglGetTexEnvfv )(GLenum target, GLenum pname, GLfloat *params);
00187 void ( APIENTRY * qglGetTexEnviv )(GLenum target, GLenum pname, GLint *params);
00188 void ( APIENTRY * qglGetTexGendv )(GLenum coord, GLenum pname, GLdouble *params);
00189 void ( APIENTRY * qglGetTexGenfv )(GLenum coord, GLenum pname, GLfloat *params);
00190 void ( APIENTRY * qglGetTexGeniv )(GLenum coord, GLenum pname, GLint *params);
00191 void ( APIENTRY * qglGetTexImage )(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
00192 void ( APIENTRY * qglGetTexLevelParameterfv )(GLenum target, GLint level, GLenum pname, GLfloat *params);
00193 void ( APIENTRY * qglGetTexLevelParameteriv )(GLenum target, GLint level, GLenum pname, GLint *params);
00194 void ( APIENTRY * qglGetTexParameterfv )(GLenum target, GLenum pname, GLfloat *params);
00195 void ( APIENTRY * qglGetTexParameteriv )(GLenum target, GLenum pname, GLint *params);
00196 void ( APIENTRY * qglHint )(GLenum target, GLenum mode);
00197 void ( APIENTRY * qglIndexMask )(GLuint mask);
00198 void ( APIENTRY * qglIndexPointer )(GLenum type, GLsizei stride, const GLvoid *pointer);
00199 void ( APIENTRY * qglIndexd )(GLdouble c);
00200 void ( APIENTRY * qglIndexdv )(const GLdouble *c);
00201 void ( APIENTRY * qglIndexf )(GLfloat c);
00202 void ( APIENTRY * qglIndexfv )(const GLfloat *c);
00203 void ( APIENTRY * qglIndexi )(GLint c);
00204 void ( APIENTRY * qglIndexiv )(const GLint *c);
00205 void ( APIENTRY * qglIndexs )(GLshort c);
00206 void ( APIENTRY * qglIndexsv )(const GLshort *c);
00207 void ( APIENTRY * qglIndexub )(GLubyte c);
00208 void ( APIENTRY * qglIndexubv )(const GLubyte *c);
00209 void ( APIENTRY * qglInitNames )(void);
00210 void ( APIENTRY * qglInterleavedArrays )(GLenum format, GLsizei stride, const GLvoid *pointer);
00211 GLboolean ( APIENTRY * qglIsEnabled )(GLenum cap);
00212 GLboolean ( APIENTRY * qglIsList )(GLuint list);
00213 GLboolean ( APIENTRY * qglIsTexture )(GLuint texture);
00214 void ( APIENTRY * qglLightModelf )(GLenum pname, GLfloat param);
00215 void ( APIENTRY * qglLightModelfv )(GLenum pname, const GLfloat *params);
00216 void ( APIENTRY * qglLightModeli )(GLenum pname, GLint param);
00217 void ( APIENTRY * qglLightModeliv )(GLenum pname, const GLint *params);
00218 void ( APIENTRY * qglLightf )(GLenum light, GLenum pname, GLfloat param);
00219 void ( APIENTRY * qglLightfv )(GLenum light, GLenum pname, const GLfloat *params);
00220 void ( APIENTRY * qglLighti )(GLenum light, GLenum pname, GLint param);
00221 void ( APIENTRY * qglLightiv )(GLenum light, GLenum pname, const GLint *params);
00222 void ( APIENTRY * qglLineStipple )(GLint factor, GLushort pattern);
00223 void ( APIENTRY * qglLineWidth )(GLfloat width);
00224 void ( APIENTRY * qglListBase )(GLuint base);
00225 void ( APIENTRY * qglLoadIdentity )(void);
00226 void ( APIENTRY * qglLoadMatrixd )(const GLdouble *m);
00227 void ( APIENTRY * qglLoadMatrixf )(const GLfloat *m);
00228 void ( APIENTRY * qglLoadName )(GLuint name);
00229 void ( APIENTRY * qglLogicOp )(GLenum opcode);
00230 void ( APIENTRY * qglMap1d )(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
00231 void ( APIENTRY * qglMap1f )(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
00232 void ( APIENTRY * qglMap2d )(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
00233 void ( APIENTRY * qglMap2f )(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
00234 void ( APIENTRY * qglMapGrid1d )(GLint un, GLdouble u1, GLdouble u2);
00235 void ( APIENTRY * qglMapGrid1f )(GLint un, GLfloat u1, GLfloat u2);
00236 void ( APIENTRY * qglMapGrid2d )(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
00237 void ( APIENTRY * qglMapGrid2f )(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
00238 void ( APIENTRY * qglMaterialf )(GLenum face, GLenum pname, GLfloat param);
00239 void ( APIENTRY * qglMaterialfv )(GLenum face, GLenum pname, const GLfloat *params);
00240 void ( APIENTRY * qglMateriali )(GLenum face, GLenum pname, GLint param);
00241 void ( APIENTRY * qglMaterialiv )(GLenum face, GLenum pname, const GLint *params);
00242 void ( APIENTRY * qglMatrixMode )(GLenum mode);
00243 void ( APIENTRY * qglMultMatrixd )(const GLdouble *m);
00244 void ( APIENTRY * qglMultMatrixf )(const GLfloat *m);
00245 void ( APIENTRY * qglNewList )(GLuint list, GLenum mode);
00246 void ( APIENTRY * qglNormal3b )(GLbyte nx, GLbyte ny, GLbyte nz);
00247 void ( APIENTRY * qglNormal3bv )(const GLbyte *v);
00248 void ( APIENTRY * qglNormal3d )(GLdouble nx, GLdouble ny, GLdouble nz);
00249 void ( APIENTRY * qglNormal3dv )(const GLdouble *v);
00250 void ( APIENTRY * qglNormal3f )(GLfloat nx, GLfloat ny, GLfloat nz);
00251 void ( APIENTRY * qglNormal3fv )(const GLfloat *v);
00252 void ( APIENTRY * qglNormal3i )(GLint nx, GLint ny, GLint nz);
00253 void ( APIENTRY * qglNormal3iv )(const GLint *v);
00254 void ( APIENTRY * qglNormal3s )(GLshort nx, GLshort ny, GLshort nz);
00255 void ( APIENTRY * qglNormal3sv )(const GLshort *v);
00256 void ( APIENTRY * qglNormalPointer )(GLenum type, GLsizei stride, const GLvoid *pointer);
00257 void ( APIENTRY * qglOrtho )(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
00258 void ( APIENTRY * qglPassThrough )(GLfloat token);
00259 void ( APIENTRY * qglPixelMapfv )(GLenum map, GLsizei mapsize, const GLfloat *values);
00260 void ( APIENTRY * qglPixelMapuiv )(GLenum map, GLsizei mapsize, const GLuint *values);
00261 void ( APIENTRY * qglPixelMapusv )(GLenum map, GLsizei mapsize, const GLushort *values);
00262 void ( APIENTRY * qglPixelStoref )(GLenum pname, GLfloat param);
00263 void ( APIENTRY * qglPixelStorei )(GLenum pname, GLint param);
00264 void ( APIENTRY * qglPixelTransferf )(GLenum pname, GLfloat param);
00265 void ( APIENTRY * qglPixelTransferi )(GLenum pname, GLint param);
00266 void ( APIENTRY * qglPixelZoom )(GLfloat xfactor, GLfloat yfactor);
00267 void ( APIENTRY * qglPointSize )(GLfloat size);
00268 void ( APIENTRY * qglPolygonMode )(GLenum face, GLenum mode);
00269 void ( APIENTRY * qglPolygonOffset )(GLfloat factor, GLfloat units);
00270 void ( APIENTRY * qglPolygonStipple )(const GLubyte *mask);
00271 void ( APIENTRY * qglPopAttrib )(void);
00272 void ( APIENTRY * qglPopClientAttrib )(void);
00273 void ( APIENTRY * qglPopMatrix )(void);
00274 void ( APIENTRY * qglPopName )(void);
00275 void ( APIENTRY * qglPrioritizeTextures )(GLsizei n, const GLuint *textures, const GLclampf *priorities);
00276 void ( APIENTRY * qglPushAttrib )(GLbitfield mask);
00277 void ( APIENTRY * qglPushClientAttrib )(GLbitfield mask);
00278 void ( APIENTRY * qglPushMatrix )(void);
00279 void ( APIENTRY * qglPushName )(GLuint name);
00280 void ( APIENTRY * qglRasterPos2d )(GLdouble x, GLdouble y);
00281 void ( APIENTRY * qglRasterPos2dv )(const GLdouble *v);
00282 void ( APIENTRY * qglRasterPos2f )(GLfloat x, GLfloat y);
00283 void ( APIENTRY * qglRasterPos2fv )(const GLfloat *v);
00284 void ( APIENTRY * qglRasterPos2i )(GLint x, GLint y);
00285 void ( APIENTRY * qglRasterPos2iv )(const GLint *v);
00286 void ( APIENTRY * qglRasterPos2s )(GLshort x, GLshort y);
00287 void ( APIENTRY * qglRasterPos2sv )(const GLshort *v);
00288 void ( APIENTRY * qglRasterPos3d )(GLdouble x, GLdouble y, GLdouble z);
00289 void ( APIENTRY * qglRasterPos3dv )(const GLdouble *v);
00290 void ( APIENTRY * qglRasterPos3f )(GLfloat x, GLfloat y, GLfloat z);
00291 void ( APIENTRY * qglRasterPos3fv )(const GLfloat *v);
00292 void ( APIENTRY * qglRasterPos3i )(GLint x, GLint y, GLint z);
00293 void ( APIENTRY * qglRasterPos3iv )(const GLint *v);
00294 void ( APIENTRY * qglRasterPos3s )(GLshort x, GLshort y, GLshort z);
00295 void ( APIENTRY * qglRasterPos3sv )(const GLshort *v);
00296 void ( APIENTRY * qglRasterPos4d )(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
00297 void ( APIENTRY * qglRasterPos4dv )(const GLdouble *v);
00298 void ( APIENTRY * qglRasterPos4f )(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
00299 void ( APIENTRY * qglRasterPos4fv )(const GLfloat *v);
00300 void ( APIENTRY * qglRasterPos4i )(GLint x, GLint y, GLint z, GLint w);
00301 void ( APIENTRY * qglRasterPos4iv )(const GLint *v);
00302 void ( APIENTRY * qglRasterPos4s )(GLshort x, GLshort y, GLshort z, GLshort w);
00303 void ( APIENTRY * qglRasterPos4sv )(const GLshort *v);
00304 void ( APIENTRY * qglReadBuffer )(GLenum mode);
00305 void ( APIENTRY * qglReadPixels )(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
00306 void ( APIENTRY * qglRectd )(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
00307 void ( APIENTRY * qglRectdv )(const GLdouble *v1, const GLdouble *v2);
00308 void ( APIENTRY * qglRectf )(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
00309 void ( APIENTRY * qglRectfv )(const GLfloat *v1, const GLfloat *v2);
00310 void ( APIENTRY * qglRecti )(GLint x1, GLint y1, GLint x2, GLint y2);
00311 void ( APIENTRY * qglRectiv )(const GLint *v1, const GLint *v2);
00312 void ( APIENTRY * qglRects )(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
00313 void ( APIENTRY * qglRectsv )(const GLshort *v1, const GLshort *v2);
00314 GLint ( APIENTRY * qglRenderMode )(GLenum mode);
00315 void ( APIENTRY * qglRotated )(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
00316 void ( APIENTRY * qglRotatef )(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
00317 void ( APIENTRY * qglScaled )(GLdouble x, GLdouble y, GLdouble z);
00318 void ( APIENTRY * qglScalef )(GLfloat x, GLfloat y, GLfloat z);
00319 void ( APIENTRY * qglScissor )(GLint x, GLint y, GLsizei width, GLsizei height);
00320 void ( APIENTRY * qglSelectBuffer )(GLsizei size, GLuint *buffer);
00321 void ( APIENTRY * qglShadeModel )(GLenum mode);
00322 void ( APIENTRY * qglStencilFunc )(GLenum func, GLint ref, GLuint mask);
00323 void ( APIENTRY * qglStencilMask )(GLuint mask);
00324 void ( APIENTRY * qglStencilOp )(GLenum fail, GLenum zfail, GLenum zpass);
00325 void ( APIENTRY * qglTexCoord1d )(GLdouble s);
00326 void ( APIENTRY * qglTexCoord1dv )(const GLdouble *v);
00327 void ( APIENTRY * qglTexCoord1f )(GLfloat s);
00328 void ( APIENTRY * qglTexCoord1fv )(const GLfloat *v);
00329 void ( APIENTRY * qglTexCoord1i )(GLint s);
00330 void ( APIENTRY * qglTexCoord1iv )(const GLint *v);
00331 void ( APIENTRY * qglTexCoord1s )(GLshort s);
00332 void ( APIENTRY * qglTexCoord1sv )(const GLshort *v);
00333 void ( APIENTRY * qglTexCoord2d )(GLdouble s, GLdouble t);
00334 void ( APIENTRY * qglTexCoord2dv )(const GLdouble *v);
00335 void ( APIENTRY * qglTexCoord2f )(GLfloat s, GLfloat t);
00336 void ( APIENTRY * qglTexCoord2fv )(const GLfloat *v);
00337 void ( APIENTRY * qglTexCoord2i )(GLint s, GLint t);
00338 void ( APIENTRY * qglTexCoord2iv )(const GLint *v);
00339 void ( APIENTRY * qglTexCoord2s )(GLshort s, GLshort t);
00340 void ( APIENTRY * qglTexCoord2sv )(const GLshort *v);
00341 void ( APIENTRY * qglTexCoord3d )(GLdouble s, GLdouble t, GLdouble r);
00342 void ( APIENTRY * qglTexCoord3dv )(const GLdouble *v);
00343 void ( APIENTRY * qglTexCoord3f )(GLfloat s, GLfloat t, GLfloat r);
00344 void ( APIENTRY * qglTexCoord3fv )(const GLfloat *v);
00345 void ( APIENTRY * qglTexCoord3i )(GLint s, GLint t, GLint r);
00346 void ( APIENTRY * qglTexCoord3iv )(const GLint *v);
00347 void ( APIENTRY * qglTexCoord3s )(GLshort s, GLshort t, GLshort r);
00348 void ( APIENTRY * qglTexCoord3sv )(const GLshort *v);
00349 void ( APIENTRY * qglTexCoord4d )(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
00350 void ( APIENTRY * qglTexCoord4dv )(const GLdouble *v);
00351 void ( APIENTRY * qglTexCoord4f )(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
00352 void ( APIENTRY * qglTexCoord4fv )(const GLfloat *v);
00353 void ( APIENTRY * qglTexCoord4i )(GLint s, GLint t, GLint r, GLint q);
00354 void ( APIENTRY * qglTexCoord4iv )(const GLint *v);
00355 void ( APIENTRY * qglTexCoord4s )(GLshort s, GLshort t, GLshort r, GLshort q);
00356 void ( APIENTRY * qglTexCoord4sv )(const GLshort *v);
00357 void ( APIENTRY * qglTexCoordPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
00358 void ( APIENTRY * qglTexEnvf )(GLenum target, GLenum pname, GLfloat param);
00359 void ( APIENTRY * qglTexEnvfv )(GLenum target, GLenum pname, const GLfloat *params);
00360 void ( APIENTRY * qglTexEnvi )(GLenum target, GLenum pname, GLint param);
00361 void ( APIENTRY * qglTexEnviv )(GLenum target, GLenum pname, const GLint *params);
00362 void ( APIENTRY * qglTexGend )(GLenum coord, GLenum pname, GLdouble param);
00363 void ( APIENTRY * qglTexGendv )(GLenum coord, GLenum pname, const GLdouble *params);
00364 void ( APIENTRY * qglTexGenf )(GLenum coord, GLenum pname, GLfloat param);
00365 void ( APIENTRY * qglTexGenfv )(GLenum coord, GLenum pname, const GLfloat *params);
00366 void ( APIENTRY * qglTexGeni )(GLenum coord, GLenum pname, GLint param);
00367 void ( APIENTRY * qglTexGeniv )(GLenum coord, GLenum pname, const GLint *params);
00368 void ( APIENTRY * qglTexImage1D )(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
00369 void ( APIENTRY * qglTexImage2D )(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
00370 void ( APIENTRY * qglTexParameterf )(GLenum target, GLenum pname, GLfloat param);
00371 void ( APIENTRY * qglTexParameterfv )(GLenum target, GLenum pname, const GLfloat *params);
00372 void ( APIENTRY * qglTexParameteri )(GLenum target, GLenum pname, GLint param);
00373 void ( APIENTRY * qglTexParameteriv )(GLenum target, GLenum pname, const GLint *params);
00374 void ( APIENTRY * qglTexSubImage1D )(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
00375 void ( APIENTRY * qglTexSubImage2D )(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
00376 void ( APIENTRY * qglTranslated )(GLdouble x, GLdouble y, GLdouble z);
00377 void ( APIENTRY * qglTranslatef )(GLfloat x, GLfloat y, GLfloat z);
00378 void ( APIENTRY * qglVertex2d )(GLdouble x, GLdouble y);
00379 void ( APIENTRY * qglVertex2dv )(const GLdouble *v);
00380 void ( APIENTRY * qglVertex2f )(GLfloat x, GLfloat y);
00381 void ( APIENTRY * qglVertex2fv )(const GLfloat *v);
00382 void ( APIENTRY * qglVertex2i )(GLint x, GLint y);
00383 void ( APIENTRY * qglVertex2iv )(const GLint *v);
00384 void ( APIENTRY * qglVertex2s )(GLshort x, GLshort y);
00385 void ( APIENTRY * qglVertex2sv )(const GLshort *v);
00386 void ( APIENTRY * qglVertex3d )(GLdouble x, GLdouble y, GLdouble z);
00387 void ( APIENTRY * qglVertex3dv )(const GLdouble *v);
00388 void ( APIENTRY * qglVertex3f )(GLfloat x, GLfloat y, GLfloat z);
00389 void ( APIENTRY * qglVertex3fv )(const GLfloat *v);
00390 void ( APIENTRY * qglVertex3i )(GLint x, GLint y, GLint z);
00391 void ( APIENTRY * qglVertex3iv )(const GLint *v);
00392 void ( APIENTRY * qglVertex3s )(GLshort x, GLshort y, GLshort z);
00393 void ( APIENTRY * qglVertex3sv )(const GLshort *v);
00394 void ( APIENTRY * qglVertex4d )(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
00395 void ( APIENTRY * qglVertex4dv )(const GLdouble *v);
00396 void ( APIENTRY * qglVertex4f )(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
00397 void ( APIENTRY * qglVertex4fv )(const GLfloat *v);
00398 void ( APIENTRY * qglVertex4i )(GLint x, GLint y, GLint z, GLint w);
00399 void ( APIENTRY * qglVertex4iv )(const GLint *v);
00400 void ( APIENTRY * qglVertex4s )(GLshort x, GLshort y, GLshort z, GLshort w);
00401 void ( APIENTRY * qglVertex4sv )(const GLshort *v);
00402 void ( APIENTRY * qglVertexPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
00403 void ( APIENTRY * qglViewport )(GLint x, GLint y, GLsizei width, GLsizei height);
00404 
00405 BOOL ( WINAPI * qwglSwapIntervalEXT)( int interval );
00406 BOOL ( WINAPI * qwglGetDeviceGammaRampEXT)( unsigned char *, unsigned char *, unsigned char * );
00407 BOOL ( WINAPI * qwglSetDeviceGammaRampEXT)( const unsigned char *, const unsigned char *, const unsigned char * );
00408 void ( APIENTRY * qglPointParameterfEXT)( GLenum param, GLfloat value );
00409 void ( APIENTRY * qglPointParameterfvEXT)( GLenum param, const GLfloat *value );
00410 void ( APIENTRY * qglColorTableEXT)( int, int, int, int, int, const void * );
00411 void ( APIENTRY * qglSelectTextureSGIS)( GLenum );
00412 void ( APIENTRY * qglMTexCoord2fSGIS)( GLenum, GLfloat, GLfloat );
00413 
00414 static void ( APIENTRY * dllAccum )(GLenum op, GLfloat value);
00415 static void ( APIENTRY * dllAlphaFunc )(GLenum func, GLclampf ref);
00416 GLboolean ( APIENTRY * dllAreTexturesResident )(GLsizei n, const GLuint *textures, GLboolean *residences);
00417 static void ( APIENTRY * dllArrayElement )(GLint i);
00418 static void ( APIENTRY * dllBegin )(GLenum mode);
00419 static void ( APIENTRY * dllBindTexture )(GLenum target, GLuint texture);
00420 static void ( APIENTRY * dllBitmap )(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
00421 static void ( APIENTRY * dllBlendFunc )(GLenum sfactor, GLenum dfactor);
00422 static void ( APIENTRY * dllCallList )(GLuint list);
00423 static void ( APIENTRY * dllCallLists )(GLsizei n, GLenum type, const GLvoid *lists);
00424 static void ( APIENTRY * dllClear )(GLbitfield mask);
00425 static void ( APIENTRY * dllClearAccum )(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
00426 static void ( APIENTRY * dllClearColor )(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
00427 static void ( APIENTRY * dllClearDepth )(GLclampd depth);
00428 static void ( APIENTRY * dllClearIndex )(GLfloat c);
00429 static void ( APIENTRY * dllClearStencil )(GLint s);
00430 static void ( APIENTRY * dllClipPlane )(GLenum plane, const GLdouble *equation);
00431 static void ( APIENTRY * dllColor3b )(GLbyte red, GLbyte green, GLbyte blue);
00432 static void ( APIENTRY * dllColor3bv )(const GLbyte *v);
00433 static void ( APIENTRY * dllColor3d )(GLdouble red, GLdouble green, GLdouble blue);
00434 static void ( APIENTRY * dllColor3dv )(const GLdouble *v);
00435 static void ( APIENTRY * dllColor3f )(GLfloat red, GLfloat green, GLfloat blue);
00436 static void ( APIENTRY * dllColor3fv )(const GLfloat *v);
00437 static void ( APIENTRY * dllColor3i )(GLint red, GLint green, GLint blue);
00438 static void ( APIENTRY * dllColor3iv )(const GLint *v);
00439 static void ( APIENTRY * dllColor3s )(GLshort red, GLshort green, GLshort blue);
00440 static void ( APIENTRY * dllColor3sv )(const GLshort *v);
00441 static void ( APIENTRY * dllColor3ub )(GLubyte red, GLubyte green, GLubyte blue);
00442 static void ( APIENTRY * dllColor3ubv )(const GLubyte *v);
00443 static void ( APIENTRY * dllColor3ui )(GLuint red, GLuint green, GLuint blue);
00444 static void ( APIENTRY * dllColor3uiv )(const GLuint *v);
00445 static void ( APIENTRY * dllColor3us )(GLushort red, GLushort green, GLushort blue);
00446 static void ( APIENTRY * dllColor3usv )(const GLushort *v);
00447 static void ( APIENTRY * dllColor4b )(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
00448 static void ( APIENTRY * dllColor4bv )(const GLbyte *v);
00449 static void ( APIENTRY * dllColor4d )(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
00450 static void ( APIENTRY * dllColor4dv )(const GLdouble *v);
00451 static void ( APIENTRY * dllColor4f )(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
00452 static void ( APIENTRY * dllColor4fv )(const GLfloat *v);
00453 static void ( APIENTRY * dllColor4i )(GLint red, GLint green, GLint blue, GLint alpha);
00454 static void ( APIENTRY * dllColor4iv )(const GLint *v);
00455 static void ( APIENTRY * dllColor4s )(GLshort red, GLshort green, GLshort blue, GLshort alpha);
00456 static void ( APIENTRY * dllColor4sv )(const GLshort *v);
00457 static void ( APIENTRY * dllColor4ub )(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
00458 static void ( APIENTRY * dllColor4ubv )(const GLubyte *v);
00459 static void ( APIENTRY * dllColor4ui )(GLuint red, GLuint green, GLuint blue, GLuint alpha);
00460 static void ( APIENTRY * dllColor4uiv )(const GLuint *v);
00461 static void ( APIENTRY * dllColor4us )(GLushort red, GLushort green, GLushort blue, GLushort alpha);
00462 static void ( APIENTRY * dllColor4usv )(const GLushort *v);
00463 static void ( APIENTRY * dllColorMask )(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
00464 static void ( APIENTRY * dllColorMaterial )(GLenum face, GLenum mode);
00465 static void ( APIENTRY * dllColorPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
00466 static void ( APIENTRY * dllCopyPixels )(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
00467 static void ( APIENTRY * dllCopyTexImage1D )(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
00468 static void ( APIENTRY * dllCopyTexImage2D )(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
00469 static void ( APIENTRY * dllCopyTexSubImage1D )(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
00470 static void ( APIENTRY * dllCopyTexSubImage2D )(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
00471 static void ( APIENTRY * dllCullFace )(GLenum mode);
00472 static void ( APIENTRY * dllDeleteLists )(GLuint list, GLsizei range);
00473 static void ( APIENTRY * dllDeleteTextures )(GLsizei n, const GLuint *textures);
00474 static void ( APIENTRY * dllDepthFunc )(GLenum func);
00475 static void ( APIENTRY * dllDepthMask )(GLboolean flag);
00476 static void ( APIENTRY * dllDepthRange )(GLclampd zNear, GLclampd zFar);
00477 static void ( APIENTRY * dllDisable )(GLenum cap);
00478 static void ( APIENTRY * dllDisableClientState )(GLenum array);
00479 static void ( APIENTRY * dllDrawArrays )(GLenum mode, GLint first, GLsizei count);
00480 static void ( APIENTRY * dllDrawBuffer )(GLenum mode);
00481 static void ( APIENTRY * dllDrawElements )(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
00482 static void ( APIENTRY * dllDrawPixels )(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
00483 static void ( APIENTRY * dllEdgeFlag )(GLboolean flag);
00484 static void ( APIENTRY * dllEdgeFlagPointer )(GLsizei stride, const GLvoid *pointer);
00485 static void ( APIENTRY * dllEdgeFlagv )(const GLboolean *flag);
00486 static void ( APIENTRY * dllEnable )(GLenum cap);
00487 static void ( APIENTRY * dllEnableClientState )(GLenum array);
00488 static void ( APIENTRY * dllEnd )(void);
00489 static void ( APIENTRY * dllEndList )(void);
00490 static void ( APIENTRY * dllEvalCoord1d )(GLdouble u);
00491 static void ( APIENTRY * dllEvalCoord1dv )(const GLdouble *u);
00492 static void ( APIENTRY * dllEvalCoord1f )(GLfloat u);
00493 static void ( APIENTRY * dllEvalCoord1fv )(const GLfloat *u);
00494 static void ( APIENTRY * dllEvalCoord2d )(GLdouble u, GLdouble v);
00495 static void ( APIENTRY * dllEvalCoord2dv )(const GLdouble *u);
00496 static void ( APIENTRY * dllEvalCoord2f )(GLfloat u, GLfloat v);
00497 static void ( APIENTRY * dllEvalCoord2fv )(const GLfloat *u);
00498 static void ( APIENTRY * dllEvalMesh1 )(GLenum mode, GLint i1, GLint i2);
00499 static void ( APIENTRY * dllEvalMesh2 )(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
00500 static void ( APIENTRY * dllEvalPoint1 )(GLint i);
00501 static void ( APIENTRY * dllEvalPoint2 )(GLint i, GLint j);
00502 static void ( APIENTRY * dllFeedbackBuffer )(GLsizei size, GLenum type, GLfloat *buffer);
00503 static void ( APIENTRY * dllFinish )(void);
00504 static void ( APIENTRY * dllFlush )(void);
00505 static void ( APIENTRY * dllFogf )(GLenum pname, GLfloat param);
00506 static void ( APIENTRY * dllFogfv )(GLenum pname, const GLfloat *params);
00507 static void ( APIENTRY * dllFogi )(GLenum pname, GLint param);
00508 static void ( APIENTRY * dllFogiv )(GLenum pname, const GLint *params);
00509 static void ( APIENTRY * dllFrontFace )(GLenum mode);
00510 static void ( APIENTRY * dllFrustum )(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
00511 GLuint ( APIENTRY * dllGenLists )(GLsizei range);
00512 static void ( APIENTRY * dllGenTextures )(GLsizei n, GLuint *textures);
00513 static void ( APIENTRY * dllGetBooleanv )(GLenum pname, GLboolean *params);
00514 static void ( APIENTRY * dllGetClipPlane )(GLenum plane, GLdouble *equation);
00515 static void ( APIENTRY * dllGetDoublev )(GLenum pname, GLdouble *params);
00516 GLenum ( APIENTRY * dllGetError )(void);
00517 static void ( APIENTRY * dllGetFloatv )(GLenum pname, GLfloat *params);
00518 static void ( APIENTRY * dllGetIntegerv )(GLenum pname, GLint *params);
00519 static void ( APIENTRY * dllGetLightfv )(GLenum light, GLenum pname, GLfloat *params);
00520 static void ( APIENTRY * dllGetLightiv )(GLenum light, GLenum pname, GLint *params);
00521 static void ( APIENTRY * dllGetMapdv )(GLenum target, GLenum query, GLdouble *v);
00522 static void ( APIENTRY * dllGetMapfv )(GLenum target, GLenum query, GLfloat *v);
00523 static void ( APIENTRY * dllGetMapiv )(GLenum target, GLenum query, GLint *v);
00524 static void ( APIENTRY * dllGetMaterialfv )(GLenum face, GLenum pname, GLfloat *params);
00525 static void ( APIENTRY * dllGetMaterialiv )(GLenum face, GLenum pname, GLint *params);
00526 static void ( APIENTRY * dllGetPixelMapfv )(GLenum map, GLfloat *values);
00527 static void ( APIENTRY * dllGetPixelMapuiv )(GLenum map, GLuint *values);
00528 static void ( APIENTRY * dllGetPixelMapusv )(GLenum map, GLushort *values);
00529 static void ( APIENTRY * dllGetPointerv )(GLenum pname, GLvoid* *params);
00530 static void ( APIENTRY * dllGetPolygonStipple )(GLubyte *mask);
00531 const GLubyte * ( APIENTRY * dllGetString )(GLenum name);
00532 static void ( APIENTRY * dllGetTexEnvfv )(GLenum target, GLenum pname, GLfloat *params);
00533 static void ( APIENTRY * dllGetTexEnviv )(GLenum target, GLenum pname, GLint *params);
00534 static void ( APIENTRY * dllGetTexGendv )(GLenum coord, GLenum pname, GLdouble *params);
00535 static void ( APIENTRY * dllGetTexGenfv )(GLenum coord, GLenum pname, GLfloat *params);
00536 static void ( APIENTRY * dllGetTexGeniv )(GLenum coord, GLenum pname, GLint *params);
00537 static void ( APIENTRY * dllGetTexImage )(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
00538 static void ( APIENTRY * dllGetTexLevelParameterfv )(GLenum target, GLint level, GLenum pname, GLfloat *params);
00539 static void ( APIENTRY * dllGetTexLevelParameteriv )(GLenum target, GLint level, GLenum pname, GLint *params);
00540 static void ( APIENTRY * dllGetTexParameterfv )(GLenum target, GLenum pname, GLfloat *params);
00541 static void ( APIENTRY * dllGetTexParameteriv )(GLenum target, GLenum pname, GLint *params);
00542 static void ( APIENTRY * dllHint )(GLenum target, GLenum mode);
00543 static void ( APIENTRY * dllIndexMask )(GLuint mask);
00544 static void ( APIENTRY * dllIndexPointer )(GLenum type, GLsizei stride, const GLvoid *pointer);
00545 static void ( APIENTRY * dllIndexd )(GLdouble c);
00546 static void ( APIENTRY * dllIndexdv )(const GLdouble *c);
00547 static void ( APIENTRY * dllIndexf )(GLfloat c);
00548 static void ( APIENTRY * dllIndexfv )(const GLfloat *c);
00549 static void ( APIENTRY * dllIndexi )(GLint c);
00550 static void ( APIENTRY * dllIndexiv )(const GLint *c);
00551 static void ( APIENTRY * dllIndexs )(GLshort c);
00552 static void ( APIENTRY * dllIndexsv )(const GLshort *c);
00553 static void ( APIENTRY * dllIndexub )(GLubyte c);
00554 static void ( APIENTRY * dllIndexubv )(const GLubyte *c);
00555 static void ( APIENTRY * dllInitNames )(void);
00556 static void ( APIENTRY * dllInterleavedArrays )(GLenum format, GLsizei stride, const GLvoid *pointer);
00557 GLboolean ( APIENTRY * dllIsEnabled )(GLenum cap);
00558 GLboolean ( APIENTRY * dllIsList )(GLuint list);
00559 GLboolean ( APIENTRY * dllIsTexture )(GLuint texture);
00560 static void ( APIENTRY * dllLightModelf )(GLenum pname, GLfloat param);
00561 static void ( APIENTRY * dllLightModelfv )(GLenum pname, const GLfloat *params);
00562 static void ( APIENTRY * dllLightModeli )(GLenum pname, GLint param);
00563 static void ( APIENTRY * dllLightModeliv )(GLenum pname, const GLint *params);
00564 static void ( APIENTRY * dllLightf )(GLenum light, GLenum pname, GLfloat param);
00565 static void ( APIENTRY * dllLightfv )(GLenum light, GLenum pname, const GLfloat *params);
00566 static void ( APIENTRY * dllLighti )(GLenum light, GLenum pname, GLint param);
00567 static void ( APIENTRY * dllLightiv )(GLenum light, GLenum pname, const GLint *params);
00568 static void ( APIENTRY * dllLineStipple )(GLint factor, GLushort pattern);
00569 static void ( APIENTRY * dllLineWidth )(GLfloat width);
00570 static void ( APIENTRY * dllListBase )(GLuint base);
00571 static void ( APIENTRY * dllLoadIdentity )(void);
00572 static void ( APIENTRY * dllLoadMatrixd )(const GLdouble *m);
00573 static void ( APIENTRY * dllLoadMatrixf )(const GLfloat *m);
00574 static void ( APIENTRY * dllLoadName )(GLuint name);
00575 static void ( APIENTRY * dllLogicOp )(GLenum opcode);
00576 static void ( APIENTRY * dllMap1d )(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
00577 static void ( APIENTRY * dllMap1f )(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
00578 static void ( APIENTRY * dllMap2d )(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
00579 static void ( APIENTRY * dllMap2f )(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
00580 static void ( APIENTRY * dllMapGrid1d )(GLint un, GLdouble u1, GLdouble u2);
00581 static void ( APIENTRY * dllMapGrid1f )(GLint un, GLfloat u1, GLfloat u2);
00582 static void ( APIENTRY * dllMapGrid2d )(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
00583 static void ( APIENTRY * dllMapGrid2f )(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
00584 static void ( APIENTRY * dllMaterialf )(GLenum face, GLenum pname, GLfloat param);
00585 static void ( APIENTRY * dllMaterialfv )(GLenum face, GLenum pname, const GLfloat *params);
00586 static void ( APIENTRY * dllMateriali )(GLenum face, GLenum pname, GLint param);
00587 static void ( APIENTRY * dllMaterialiv )(GLenum face, GLenum pname, const GLint *params);
00588 static void ( APIENTRY * dllMatrixMode )(GLenum mode);
00589 static void ( APIENTRY * dllMultMatrixd )(const GLdouble *m);
00590 static void ( APIENTRY * dllMultMatrixf )(const GLfloat *m);
00591 static void ( APIENTRY * dllNewList )(GLuint list, GLenum mode);
00592 static void ( APIENTRY * dllNormal3b )(GLbyte nx, GLbyte ny, GLbyte nz);
00593 static void ( APIENTRY * dllNormal3bv )(const GLbyte *v);
00594 static void ( APIENTRY * dllNormal3d )(GLdouble nx, GLdouble ny, GLdouble nz);
00595 static void ( APIENTRY * dllNormal3dv )(const GLdouble *v);
00596 static void ( APIENTRY * dllNormal3f )(GLfloat nx, GLfloat ny, GLfloat nz);
00597 static void ( APIENTRY * dllNormal3fv )(const GLfloat *v);
00598 static void ( APIENTRY * dllNormal3i )(GLint nx, GLint ny, GLint nz);
00599 static void ( APIENTRY * dllNormal3iv )(const GLint *v);
00600 static void ( APIENTRY * dllNormal3s )(GLshort nx, GLshort ny, GLshort nz);
00601 static void ( APIENTRY * dllNormal3sv )(const GLshort *v);
00602 static void ( APIENTRY * dllNormalPointer )(GLenum type, GLsizei stride, const GLvoid *pointer);
00603 static void ( APIENTRY * dllOrtho )(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
00604 static void ( APIENTRY * dllPassThrough )(GLfloat token);
00605 static void ( APIENTRY * dllPixelMapfv )(GLenum map, GLsizei mapsize, const GLfloat *values);
00606 static void ( APIENTRY * dllPixelMapuiv )(GLenum map, GLsizei mapsize, const GLuint *values);
00607 static void ( APIENTRY * dllPixelMapusv )(GLenum map, GLsizei mapsize, const GLushort *values);
00608 static void ( APIENTRY * dllPixelStoref )(GLenum pname, GLfloat param);
00609 static void ( APIENTRY * dllPixelStorei )(GLenum pname, GLint param);
00610 static void ( APIENTRY * dllPixelTransferf )(GLenum pname, GLfloat param);
00611 static void ( APIENTRY * dllPixelTransferi )(GLenum pname, GLint param);
00612 static void ( APIENTRY * dllPixelZoom )(GLfloat xfactor, GLfloat yfactor);
00613 static void ( APIENTRY * dllPointSize )(GLfloat size);
00614 static void ( APIENTRY * dllPolygonMode )(GLenum face, GLenum mode);
00615 static void ( APIENTRY * dllPolygonOffset )(GLfloat factor, GLfloat units);
00616 static void ( APIENTRY * dllPolygonStipple )(const GLubyte *mask);
00617 static void ( APIENTRY * dllPopAttrib )(void);
00618 static void ( APIENTRY * dllPopClientAttrib )(void);
00619 static void ( APIENTRY * dllPopMatrix )(void);
00620 static void ( APIENTRY * dllPopName )(void);
00621 static void ( APIENTRY * dllPrioritizeTextures )(GLsizei n, const GLuint *textures, const GLclampf *priorities);
00622 static void ( APIENTRY * dllPushAttrib )(GLbitfield mask);
00623 static void ( APIENTRY * dllPushClientAttrib )(GLbitfield mask);
00624 static void ( APIENTRY * dllPushMatrix )(void);
00625 static void ( APIENTRY * dllPushName )(GLuint name);
00626 static void ( APIENTRY * dllRasterPos2d )(GLdouble x, GLdouble y);
00627 static void ( APIENTRY * dllRasterPos2dv )(const GLdouble *v);
00628 static void ( APIENTRY * dllRasterPos2f )(GLfloat x, GLfloat y);
00629 static void ( APIENTRY * dllRasterPos2fv )(const GLfloat *v);
00630 static void ( APIENTRY * dllRasterPos2i )(GLint x, GLint y);
00631 static void ( APIENTRY * dllRasterPos2iv )(const GLint *v);
00632 static void ( APIENTRY * dllRasterPos2s )(GLshort x, GLshort y);
00633 static void ( APIENTRY * dllRasterPos2sv )(const GLshort *v);
00634 static void ( APIENTRY * dllRasterPos3d )(GLdouble x, GLdouble y, GLdouble z);
00635 static void ( APIENTRY * dllRasterPos3dv )(const GLdouble *v);
00636 static void ( APIENTRY * dllRasterPos3f )(GLfloat x, GLfloat y, GLfloat z);
00637 static void ( APIENTRY * dllRasterPos3fv )(const GLfloat *v);
00638 static void ( APIENTRY * dllRasterPos3i )(GLint x, GLint y, GLint z);
00639 static void ( APIENTRY * dllRasterPos3iv )(const GLint *v);
00640 static void ( APIENTRY * dllRasterPos3s )(GLshort x, GLshort y, GLshort z);
00641 static void ( APIENTRY * dllRasterPos3sv )(const GLshort *v);
00642 static void ( APIENTRY * dllRasterPos4d )(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
00643 static void ( APIENTRY * dllRasterPos4dv )(const GLdouble *v);
00644 static void ( APIENTRY * dllRasterPos4f )(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
00645 static void ( APIENTRY * dllRasterPos4fv )(const GLfloat *v);
00646 static void ( APIENTRY * dllRasterPos4i )(GLint x, GLint y, GLint z, GLint w);
00647 static void ( APIENTRY * dllRasterPos4iv )(const GLint *v);
00648 static void ( APIENTRY * dllRasterPos4s )(GLshort x, GLshort y, GLshort z, GLshort w);
00649 static void ( APIENTRY * dllRasterPos4sv )(const GLshort *v);
00650 static void ( APIENTRY * dllReadBuffer )(GLenum mode);
00651 static void ( APIENTRY * dllReadPixels )(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
00652 static void ( APIENTRY * dllRectd )(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
00653 static void ( APIENTRY * dllRectdv )(const GLdouble *v1, const GLdouble *v2);
00654 static void ( APIENTRY * dllRectf )(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
00655 static void ( APIENTRY * dllRectfv )(const GLfloat *v1, const GLfloat *v2);
00656 static void ( APIENTRY * dllRecti )(GLint x1, GLint y1, GLint x2, GLint y2);
00657 static void ( APIENTRY * dllRectiv )(const GLint *v1, const GLint *v2);
00658 static void ( APIENTRY * dllRects )(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
00659 static void ( APIENTRY * dllRectsv )(const GLshort *v1, const GLshort *v2);
00660 GLint ( APIENTRY * dllRenderMode )(GLenum mode);
00661 static void ( APIENTRY * dllRotated )(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
00662 static void ( APIENTRY * dllRotatef )(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
00663 static void ( APIENTRY * dllScaled )(GLdouble x, GLdouble y, GLdouble z);
00664 static void ( APIENTRY * dllScalef )(GLfloat x, GLfloat y, GLfloat z);
00665 static void ( APIENTRY * dllScissor )(GLint x, GLint y, GLsizei width, GLsizei height);
00666 static void ( APIENTRY * dllSelectBuffer )(GLsizei size, GLuint *buffer);
00667 static void ( APIENTRY * dllShadeModel )(GLenum mode);
00668 static void ( APIENTRY * dllStencilFunc )(GLenum func, GLint ref, GLuint mask);
00669 static void ( APIENTRY * dllStencilMask )(GLuint mask);
00670 static void ( APIENTRY * dllStencilOp )(GLenum fail, GLenum zfail, GLenum zpass);
00671 static void ( APIENTRY * dllTexCoord1d )(GLdouble s);
00672 static void ( APIENTRY * dllTexCoord1dv )(const GLdouble *v);
00673 static void ( APIENTRY * dllTexCoord1f )(GLfloat s);
00674 static void ( APIENTRY * dllTexCoord1fv )(const GLfloat *v);
00675 static void ( APIENTRY * dllTexCoord1i )(GLint s);
00676 static void ( APIENTRY * dllTexCoord1iv )(const GLint *v);
00677 static void ( APIENTRY * dllTexCoord1s )(GLshort s);
00678 static void ( APIENTRY * dllTexCoord1sv )(const GLshort *v);
00679 static void ( APIENTRY * dllTexCoord2d )(GLdouble s, GLdouble t);
00680 static void ( APIENTRY * dllTexCoord2dv )(const GLdouble *v);
00681 static void ( APIENTRY * dllTexCoord2f )(GLfloat s, GLfloat t);
00682 static void ( APIENTRY * dllTexCoord2fv )(const GLfloat *v);
00683 static void ( APIENTRY * dllTexCoord2i )(GLint s, GLint t);
00684 static void ( APIENTRY * dllTexCoord2iv )(const GLint *v);
00685 static void ( APIENTRY * dllTexCoord2s )(GLshort s, GLshort t);
00686 static void ( APIENTRY * dllTexCoord2sv )(const GLshort *v);
00687 static void ( APIENTRY * dllTexCoord3d )(GLdouble s, GLdouble t, GLdouble r);
00688 static void ( APIENTRY * dllTexCoord3dv )(const GLdouble *v);
00689 static void ( APIENTRY * dllTexCoord3f )(GLfloat s, GLfloat t, GLfloat r);
00690 static void ( APIENTRY * dllTexCoord3fv )(const GLfloat *v);
00691 static void ( APIENTRY * dllTexCoord3i )(GLint s, GLint t, GLint r);
00692 static void ( APIENTRY * dllTexCoord3iv )(const GLint *v);
00693 static void ( APIENTRY * dllTexCoord3s )(GLshort s, GLshort t, GLshort r);
00694 static void ( APIENTRY * dllTexCoord3sv )(const GLshort *v);
00695 static void ( APIENTRY * dllTexCoord4d )(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
00696 static void ( APIENTRY * dllTexCoord4dv )(const GLdouble *v);
00697 static void ( APIENTRY * dllTexCoord4f )(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
00698 static void ( APIENTRY * dllTexCoord4fv )(const GLfloat *v);
00699 static void ( APIENTRY * dllTexCoord4i )(GLint s, GLint t, GLint r, GLint q);
00700 static void ( APIENTRY * dllTexCoord4iv )(const GLint *v);
00701 static void ( APIENTRY * dllTexCoord4s )(GLshort s, GLshort t, GLshort r, GLshort q);
00702 static void ( APIENTRY * dllTexCoord4sv )(const GLshort *v);
00703 static void ( APIENTRY * dllTexCoordPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
00704 static void ( APIENTRY * dllTexEnvf )(GLenum target, GLenum pname, GLfloat param);
00705 static void ( APIENTRY * dllTexEnvfv )(GLenum target, GLenum pname, const GLfloat *params);
00706 static void ( APIENTRY * dllTexEnvi )(GLenum target, GLenum pname, GLint param);
00707 static void ( APIENTRY * dllTexEnviv )(GLenum target, GLenum pname, const GLint *params);
00708 static void ( APIENTRY * dllTexGend )(GLenum coord, GLenum pname, GLdouble param);
00709 static void ( APIENTRY * dllTexGendv )(GLenum coord, GLenum pname, const GLdouble *params);
00710 static void ( APIENTRY * dllTexGenf )(GLenum coord, GLenum pname, GLfloat param);
00711 static void ( APIENTRY * dllTexGenfv )(GLenum coord, GLenum pname, const GLfloat *params);
00712 static void ( APIENTRY * dllTexGeni )(GLenum coord, GLenum pname, GLint param);
00713 static void ( APIENTRY * dllTexGeniv )(GLenum coord, GLenum pname, const GLint *params);
00714 static void ( APIENTRY * dllTexImage1D )(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
00715 static void ( APIENTRY * dllTexImage2D )(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
00716 static void ( APIENTRY * dllTexParameterf )(GLenum target, GLenum pname, GLfloat param);
00717 static void ( APIENTRY * dllTexParameterfv )(GLenum target, GLenum pname, const GLfloat *params);
00718 static void ( APIENTRY * dllTexParameteri )(GLenum target, GLenum pname, GLint param);
00719 static void ( APIENTRY * dllTexParameteriv )(GLenum target, GLenum pname, const GLint *params);
00720 static void ( APIENTRY * dllTexSubImage1D )(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
00721 static void ( APIENTRY * dllTexSubImage2D )(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
00722 static void ( APIENTRY * dllTranslated )(GLdouble x, GLdouble y, GLdouble z);
00723 static void ( APIENTRY * dllTranslatef )(GLfloat x, GLfloat y, GLfloat z);
00724 static void ( APIENTRY * dllVertex2d )(GLdouble x, GLdouble y);
00725 static void ( APIENTRY * dllVertex2dv )(const GLdouble *v);
00726 static void ( APIENTRY * dllVertex2f )(GLfloat x, GLfloat y);
00727 static void ( APIENTRY * dllVertex2fv )(const GLfloat *v);
00728 static void ( APIENTRY * dllVertex2i )(GLint x, GLint y);
00729 static void ( APIENTRY * dllVertex2iv )(const GLint *v);
00730 static void ( APIENTRY * dllVertex2s )(GLshort x, GLshort y);
00731 static void ( APIENTRY * dllVertex2sv )(const GLshort *v);
00732 static void ( APIENTRY * dllVertex3d )(GLdouble x, GLdouble y, GLdouble z);
00733 static void ( APIENTRY * dllVertex3dv )(const GLdouble *v);
00734 static void ( APIENTRY * dllVertex3f )(GLfloat x, GLfloat y, GLfloat z);
00735 static void ( APIENTRY * dllVertex3fv )(const GLfloat *v);
00736 static void ( APIENTRY * dllVertex3i )(GLint x, GLint y, GLint z);
00737 static void ( APIENTRY * dllVertex3iv )(const GLint *v);
00738 static void ( APIENTRY * dllVertex3s )(GLshort x, GLshort y, GLshort z);
00739 static void ( APIENTRY * dllVertex3sv )(const GLshort *v);
00740 static void ( APIENTRY * dllVertex4d )(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
00741 static void ( APIENTRY * dllVertex4dv )(const GLdouble *v);
00742 static void ( APIENTRY * dllVertex4f )(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
00743 static void ( APIENTRY * dllVertex4fv )(const GLfloat *v);
00744 static void ( APIENTRY * dllVertex4i )(GLint x, GLint y, GLint z, GLint w);
00745 static void ( APIENTRY * dllVertex4iv )(const GLint *v);
00746 static void ( APIENTRY * dllVertex4s )(GLshort x, GLshort y, GLshort z, GLshort w);
00747 static void ( APIENTRY * dllVertex4sv )(const GLshort *v);
00748 static void ( APIENTRY * dllVertexPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
00749 static void ( APIENTRY * dllViewport )(GLint x, GLint y, GLsizei width, GLsizei height);
00750 
00751 /*
00752 ** QGL_Shutdown
00753 **
00754 ** Unloads the specified DLL then nulls out all the proc pointers.
00755 */
00756 void QGL_Shutdown( void )
00757 {
00758     if (g_hGLDLL)
00759     {
00760     ::FreeLibrary(g_hGLDLL);
00761     g_hGLDLL = NULL;
00762     }
00763 
00764     qglAccum                     = NULL;
00765     qglAlphaFunc                 = NULL;
00766     qglAreTexturesResident       = NULL;
00767     qglArrayElement              = NULL;
00768     qglBegin                     = NULL;
00769     qglBindTexture               = NULL;
00770     qglBitmap                    = NULL;
00771     qglBlendFunc                 = NULL;
00772     qglCallList                  = NULL;
00773     qglCallLists                 = NULL;
00774     qglClear                     = NULL;
00775     qglClearAccum                = NULL;
00776     qglClearColor                = NULL;
00777     qglClearDepth                = NULL;
00778     qglClearIndex                = NULL;
00779     qglClearStencil              = NULL;
00780     qglClipPlane                 = NULL;
00781     qglColor3b                   = NULL;
00782     qglColor3bv                  = NULL;
00783     qglColor3d                   = NULL;
00784     qglColor3dv                  = NULL;
00785     qglColor3f                   = NULL;
00786     qglColor3fv                  = NULL;
00787     qglColor3i                   = NULL;
00788     qglColor3iv                  = NULL;
00789     qglColor3s                   = NULL;
00790     qglColor3sv                  = NULL;
00791     qglColor3ub                  = NULL;
00792     qglColor3ubv                 = NULL;
00793     qglColor3ui                  = NULL;
00794     qglColor3uiv                 = NULL;
00795     qglColor3us                  = NULL;
00796     qglColor3usv                 = NULL;
00797     qglColor4b                   = NULL;
00798     qglColor4bv                  = NULL;
00799     qglColor4d                   = NULL;
00800     qglColor4dv                  = NULL;
00801     qglColor4f                   = NULL;
00802     qglColor4fv                  = NULL;
00803     qglColor4i                   = NULL;
00804     qglColor4iv                  = NULL;
00805     qglColor4s                   = NULL;
00806     qglColor4sv                  = NULL;
00807     qglColor4ub                  = NULL;
00808     qglColor4ubv                 = NULL;
00809     qglColor4ui                  = NULL;
00810     qglColor4uiv                 = NULL;
00811     qglColor4us                  = NULL;
00812     qglColor4usv                 = NULL;
00813     qglColorMask                 = NULL;
00814     qglColorMaterial             = NULL;
00815     qglColorPointer              = NULL;
00816     qglCopyPixels                = NULL;
00817     qglCopyTexImage1D            = NULL;
00818     qglCopyTexImage2D            = NULL;
00819     qglCopyTexSubImage1D         = NULL;
00820     qglCopyTexSubImage2D         = NULL;
00821     qglCullFace                  = NULL;
00822     qglDeleteLists               = NULL;
00823     qglDeleteTextures            = NULL;
00824     qglDepthFunc                 = NULL;
00825     qglDepthMask                 = NULL;
00826     qglDepthRange                = NULL;
00827     qglDisable                   = NULL;
00828     qglDisableClientState        = NULL;
00829     qglDrawArrays                = NULL;
00830     qglDrawBuffer                = NULL;
00831     qglDrawElements              = NULL;
00832     qglDrawPixels                = NULL;
00833     qglEdgeFlag                  = NULL;
00834     qglEdgeFlagPointer           = NULL;
00835     qglEdgeFlagv                 = NULL;
00836     qglEnable                    = NULL;
00837     qglEnableClientState         = NULL;
00838     qglEnd                       = NULL;
00839     qglEndList                   = NULL;
00840     qglEvalCoord1d               = NULL;
00841     qglEvalCoord1dv              = NULL;
00842     qglEvalCoord1f               = NULL;
00843     qglEvalCoord1fv              = NULL;
00844     qglEvalCoord2d               = NULL;
00845     qglEvalCoord2dv              = NULL;
00846     qglEvalCoord2f               = NULL;
00847     qglEvalCoord2fv              = NULL;
00848     qglEvalMesh1                 = NULL;
00849     qglEvalMesh2                 = NULL;
00850     qglEvalPoint1                = NULL;
00851     qglEvalPoint2                = NULL;
00852     qglFeedbackBuffer            = NULL;
00853     qglFinish                    = NULL;
00854     qglFlush                     = NULL;
00855     qglFogf                      = NULL;
00856     qglFogfv                     = NULL;
00857     qglFogi                      = NULL;
00858     qglFogiv                     = NULL;
00859     qglFrontFace                 = NULL;
00860     qglFrustum                   = NULL;
00861     qglGenLists                  = NULL;
00862     qglGenTextures               = NULL;
00863     qglGetBooleanv               = NULL;
00864     qglGetClipPlane              = NULL;
00865     qglGetDoublev                = NULL;
00866     qglGetError                  = NULL;
00867     qglGetFloatv                 = NULL;
00868     qglGetIntegerv               = NULL;
00869     qglGetLightfv                = NULL;
00870     qglGetLightiv                = NULL;
00871     qglGetMapdv                  = NULL;
00872     qglGetMapfv                  = NULL;
00873     qglGetMapiv                  = NULL;
00874     qglGetMaterialfv             = NULL;
00875     qglGetMaterialiv             = NULL;
00876     qglGetPixelMapfv             = NULL;
00877     qglGetPixelMapuiv            = NULL;
00878     qglGetPixelMapusv            = NULL;
00879     qglGetPointerv               = NULL;
00880     qglGetPolygonStipple         = NULL;
00881     qglGetString                 = NULL;
00882     qglGetTexEnvfv               = NULL;
00883     qglGetTexEnviv               = NULL;
00884     qglGetTexGendv               = NULL;
00885     qglGetTexGenfv               = NULL;
00886     qglGetTexGeniv               = NULL;
00887     qglGetTexImage               = NULL;
00888     qglGetTexLevelParameterfv    = NULL;
00889     qglGetTexLevelParameteriv    = NULL;
00890     qglGetTexParameterfv         = NULL;
00891     qglGetTexParameteriv         = NULL;
00892     qglHint                      = NULL;
00893     qglIndexMask                 = NULL;
00894     qglIndexPointer              = NULL;
00895     qglIndexd                    = NULL;
00896     qglIndexdv                   = NULL;
00897     qglIndexf                    = NULL;
00898     qglIndexfv                   = NULL;
00899     qglIndexi                    = NULL;
00900     qglIndexiv                   = NULL;
00901     qglIndexs                    = NULL;
00902     qglIndexsv                   = NULL;
00903     qglIndexub                   = NULL;
00904     qglIndexubv                  = NULL;
00905     qglInitNames                 = NULL;
00906     qglInterleavedArrays         = NULL;
00907     qglIsEnabled                 = NULL;
00908     qglIsList                    = NULL;
00909     qglIsTexture                 = NULL;
00910     qglLightModelf               = NULL;
00911     qglLightModelfv              = NULL;
00912     qglLightModeli               = NULL;
00913     qglLightModeliv              = NULL;
00914     qglLightf                    = NULL;
00915     qglLightfv                   = NULL;
00916     qglLighti                    = NULL;
00917     qglLightiv                   = NULL;
00918     qglLineStipple               = NULL;
00919     qglLineWidth                 = NULL;
00920     qglListBase                  = NULL;
00921     qglLoadIdentity              = NULL;
00922     qglLoadMatrixd               = NULL;
00923     qglLoadMatrixf               = NULL;
00924     qglLoadName                  = NULL;
00925     qglLogicOp                   = NULL;
00926     qglMap1d                     = NULL;
00927     qglMap1f                     = NULL;
00928     qglMap2d                     = NULL;
00929     qglMap2f                     = NULL;
00930     qglMapGrid1d                 = NULL;
00931     qglMapGrid1f                 = NULL;
00932     qglMapGrid2d                 = NULL;
00933     qglMapGrid2f                 = NULL;
00934     qglMaterialf                 = NULL;
00935     qglMaterialfv                = NULL;
00936     qglMateriali                 = NULL;
00937     qglMaterialiv                = NULL;
00938     qglMatrixMode                = NULL;
00939     qglMultMatrixd               = NULL;
00940     qglMultMatrixf               = NULL;
00941     qglNewList                   = NULL;
00942     qglNormal3b                  = NULL;
00943     qglNormal3bv                 = NULL;
00944     qglNormal3d                  = NULL;
00945     qglNormal3dv                 = NULL;
00946     qglNormal3f                  = NULL;
00947     qglNormal3fv                 = NULL;
00948     qglNormal3i                  = NULL;
00949     qglNormal3iv                 = NULL;
00950     qglNormal3s                  = NULL;
00951     qglNormal3sv                 = NULL;
00952     qglNormalPointer             = NULL;
00953     qglOrtho                     = NULL;
00954     qglPassThrough               = NULL;
00955     qglPixelMapfv                = NULL;
00956     qglPixelMapuiv               = NULL;
00957     qglPixelMapusv               = NULL;
00958     qglPixelStoref               = NULL;
00959     qglPixelStorei               = NULL;
00960     qglPixelTransferf            = NULL;
00961     qglPixelTransferi            = NULL;
00962     qglPixelZoom                 = NULL;
00963     qglPointSize                 = NULL;
00964     qglPolygonMode               = NULL;
00965     qglPolygonOffset             = NULL;
00966     qglPolygonStipple            = NULL;
00967     qglPopAttrib                 = NULL;
00968     qglPopClientAttrib           = NULL;
00969     qglPopMatrix                 = NULL;
00970     qglPopName                   = NULL;
00971     qglPrioritizeTextures        = NULL;
00972     qglPushAttrib                = NULL;
00973     qglPushClientAttrib          = NULL;
00974     qglPushMatrix                = NULL;
00975     qglPushName                  = NULL;
00976     qglRasterPos2d               = NULL;
00977     qglRasterPos2dv              = NULL;
00978     qglRasterPos2f               = NULL;
00979     qglRasterPos2fv              = NULL;
00980     qglRasterPos2i               = NULL;
00981     qglRasterPos2iv              = NULL;
00982     qglRasterPos2s               = NULL;
00983     qglRasterPos2sv              = NULL;
00984     qglRasterPos3d               = NULL;
00985     qglRasterPos3dv              = NULL;
00986     qglRasterPos3f               = NULL;
00987     qglRasterPos3fv              = NULL;
00988     qglRasterPos3i               = NULL;
00989     qglRasterPos3iv              = NULL;
00990     qglRasterPos3s               = NULL;
00991     qglRasterPos3sv              = NULL;
00992     qglRasterPos4d               = NULL;
00993     qglRasterPos4dv              = NULL;
00994     qglRasterPos4f               = NULL;
00995     qglRasterPos4fv              = NULL;
00996     qglRasterPos4i               = NULL;
00997     qglRasterPos4iv              = NULL;
00998     qglRasterPos4s               = NULL;
00999     qglRasterPos4sv              = NULL;
01000     qglReadBuffer                = NULL;
01001     qglReadPixels                = NULL;
01002     qglRectd                     = NULL;
01003     qglRectdv                    = NULL;
01004     qglRectf                     = NULL;
01005     qglRectfv                    = NULL;
01006     qglRecti                     = NULL;
01007     qglRectiv                    = NULL;
01008     qglRects                     = NULL;
01009     qglRectsv                    = NULL;
01010     qglRenderMode                = NULL;
01011     qglRotated                   = NULL;
01012     qglRotatef                   = NULL;
01013     qglScaled                    = NULL;
01014     qglScalef                    = NULL;
01015     qglScissor                   = NULL;
01016     qglSelectBuffer              = NULL;
01017     qglShadeModel                = NULL;
01018     qglStencilFunc               = NULL;
01019     qglStencilMask               = NULL;
01020     qglStencilOp                 = NULL;
01021     qglTexCoord1d                = NULL;
01022     qglTexCoord1dv               = NULL;
01023     qglTexCoord1f                = NULL;
01024     qglTexCoord1fv               = NULL;
01025     qglTexCoord1i                = NULL;
01026     qglTexCoord1iv               = NULL;
01027     qglTexCoord1s                = NULL;
01028     qglTexCoord1sv               = NULL;
01029     qglTexCoord2d                = NULL;
01030     qglTexCoord2dv               = NULL;
01031     qglTexCoord2f                = NULL;
01032     qglTexCoord2fv               = NULL;
01033     qglTexCoord2i                = NULL;
01034     qglTexCoord2iv               = NULL;
01035     qglTexCoord2s                = NULL;
01036     qglTexCoord2sv               = NULL;
01037     qglTexCoord3d                = NULL;
01038     qglTexCoord3dv               = NULL;
01039     qglTexCoord3f                = NULL;
01040     qglTexCoord3fv               = NULL;
01041     qglTexCoord3i                = NULL;
01042     qglTexCoord3iv               = NULL;
01043     qglTexCoord3s                = NULL;
01044     qglTexCoord3sv               = NULL;
01045     qglTexCoord4d                = NULL;
01046     qglTexCoord4dv               = NULL;
01047     qglTexCoord4f                = NULL;
01048     qglTexCoord4fv               = NULL;
01049     qglTexCoord4i                = NULL;
01050     qglTexCoord4iv               = NULL;
01051     qglTexCoord4s                = NULL;
01052     qglTexCoord4sv               = NULL;
01053     qglTexCoordPointer           = NULL;
01054     qglTexEnvf                   = NULL;
01055     qglTexEnvfv                  = NULL;
01056     qglTexEnvi                   = NULL;
01057     qglTexEnviv                  = NULL;
01058     qglTexGend                   = NULL;
01059     qglTexGendv                  = NULL;
01060     qglTexGenf                   = NULL;
01061     qglTexGenfv                  = NULL;
01062     qglTexGeni                   = NULL;
01063     qglTexGeniv                  = NULL;
01064     qglTexImage1D                = NULL;
01065     qglTexImage2D                = NULL;
01066     qglTexParameterf             = NULL;
01067     qglTexParameterfv            = NULL;
01068     qglTexParameteri             = NULL;
01069     qglTexParameteriv            = NULL;
01070     qglTexSubImage1D             = NULL;
01071     qglTexSubImage2D             = NULL;
01072     qglTranslated                = NULL;
01073     qglTranslatef                = NULL;
01074     qglVertex2d                  = NULL;
01075     qglVertex2dv                 = NULL;
01076     qglVertex2f                  = NULL;
01077     qglVertex2fv                 = NULL;
01078     qglVertex2i                  = NULL;
01079     qglVertex2iv                 = NULL;
01080     qglVertex2s                  = NULL;
01081     qglVertex2sv                 = NULL;
01082     qglVertex3d                  = NULL;
01083     qglVertex3dv                 = NULL;
01084     qglVertex3f                  = NULL;
01085     qglVertex3fv                 = NULL;
01086     qglVertex3i                  = NULL;
01087     qglVertex3iv                 = NULL;
01088     qglVertex3s                  = NULL;
01089     qglVertex3sv                 = NULL;
01090     qglVertex4d                  = NULL;
01091     qglVertex4dv                 = NULL;
01092     qglVertex4f                  = NULL;
01093     qglVertex4fv                 = NULL;
01094     qglVertex4i                  = NULL;
01095     qglVertex4iv                 = NULL;
01096     qglVertex4s                  = NULL;
01097     qglVertex4sv                 = NULL;
01098     qglVertexPointer             = NULL;
01099     qglViewport                  = NULL;
01100 
01101     qwglCopyContext              = NULL;
01102     qwglCreateContext            = NULL;
01103     qwglCreateLayerContext       = NULL;
01104     qwglDeleteContext            = NULL;
01105     qwglDescribeLayerPlane       = NULL;
01106     qwglGetCurrentContext        = NULL;
01107     qwglGetCurrentDC             = NULL;
01108     qwglGetLayerPaletteEntries   = NULL;
01109     qwglGetProcAddress           = NULL;
01110     qwglMakeCurrent              = NULL;
01111     qwglRealizeLayerPalette      = NULL;
01112     qwglSetLayerPaletteEntries   = NULL;
01113     qwglShareLists               = NULL;
01114     qwglSwapLayerBuffers         = NULL;
01115     qwglUseFontBitmaps           = NULL;
01116     qwglUseFontOutlines          = NULL;
01117 
01118     qwglChoosePixelFormat        = NULL;
01119     qwglDescribePixelFormat      = NULL;
01120     qwglGetPixelFormat           = NULL;
01121     qwglSetPixelFormat           = NULL;
01122     qwglSwapBuffers              = NULL;
01123 
01124     qwglSwapIntervalEXT = NULL;
01125 
01126     qwglGetDeviceGammaRampEXT = NULL;
01127     qwglSetDeviceGammaRampEXT = NULL;
01128 }
01129 
01130 #   define GPA(h, a ) GetProcAddress( h, a )
01131 
01132 /*
01133 ** QGL_Init
01134 **
01135 ** This is responsible for binding our qgl function pointers to 
01136 ** the appropriate GL stuff.  In Windows this means doing a 
01137 ** LoadLibrary and a bunch of calls to GetProcAddress.  On other
01138 ** operating systems we need to do the right thing, whatever that
01139 ** might be.
01140 ** 
01141 */
01142 qboolean QGL_Init(const char *dllname )
01143 {
01144 
01145   g_hGLDLL = ::LoadLibrary(dllname);
01146 
01147     qglAccum                     = dllAccum = GPA(g_hGLDLL, "glAccum" );
01148     qglAlphaFunc                 = dllAlphaFunc = GPA(g_hGLDLL, "glAlphaFunc" );
01149     qglAreTexturesResident       = dllAreTexturesResident = GPA(g_hGLDLL, "glAreTexturesResident" );
01150     qglArrayElement              = dllArrayElement = GPA(g_hGLDLL, "glArrayElement" );
01151     qglBegin                     = dllBegin = GPA(g_hGLDLL, "glBegin" );
01152     qglBindTexture               = dllBindTexture = GPA(g_hGLDLL, "glBindTexture" );
01153     qglBitmap                    = dllBitmap = GPA(g_hGLDLL, "glBitmap" );
01154     qglBlendFunc                 = dllBlendFunc = GPA(g_hGLDLL, "glBlendFunc" );
01155     qglCallList                  = dllCallList = GPA(g_hGLDLL, "glCallList" );
01156     qglCallLists                 = dllCallLists = GPA(g_hGLDLL, "glCallLists" );
01157     qglClear                     = dllClear = GPA(g_hGLDLL, "glClear" );
01158     qglClearAccum                = dllClearAccum = GPA(g_hGLDLL, "glClearAccum" );
01159     qglClearColor                = dllClearColor = GPA(g_hGLDLL, "glClearColor" );
01160     qglClearDepth                = dllClearDepth = GPA(g_hGLDLL, "glClearDepth" );
01161     qglClearIndex                = dllClearIndex = GPA(g_hGLDLL, "glClearIndex" );
01162     qglClearStencil              = dllClearStencil = GPA(g_hGLDLL, "glClearStencil" );
01163     qglClipPlane                 = dllClipPlane = GPA(g_hGLDLL, "glClipPlane" );
01164     qglColor3b                   = dllColor3b = GPA(g_hGLDLL, "glColor3b" );
01165     qglColor3bv                  = dllColor3bv = GPA(g_hGLDLL, "glColor3bv" );
01166     qglColor3d                   = dllColor3d = GPA(g_hGLDLL, "glColor3d" );
01167     qglColor3dv                  = dllColor3dv = GPA(g_hGLDLL, "glColor3dv" );
01168     qglColor3f                   = dllColor3f = GPA(g_hGLDLL, "glColor3f" );
01169     qglColor3fv                  = dllColor3fv = GPA(g_hGLDLL, "glColor3fv" );
01170     qglColor3i                   = dllColor3i = GPA(g_hGLDLL, "glColor3i" );
01171     qglColor3iv                  = dllColor3iv = GPA(g_hGLDLL, "glColor3iv" );
01172     qglColor3s                   = dllColor3s = GPA(g_hGLDLL, "glColor3s" );
01173     qglColor3sv                  = dllColor3sv = GPA(g_hGLDLL, "glColor3sv" );
01174     qglColor3ub                  = dllColor3ub = GPA(g_hGLDLL, "glColor3ub" );
01175     qglColor3ubv                 = dllColor3ubv = GPA(g_hGLDLL, "glColor3ubv" );
01176     qglColor3ui                  = dllColor3ui = GPA(g_hGLDLL, "glColor3ui" );
01177     qglColor3uiv                 = dllColor3uiv = GPA(g_hGLDLL, "glColor3uiv" );
01178     qglColor3us                  = dllColor3us = GPA(g_hGLDLL, "glColor3us" );
01179     qglColor3usv                 = dllColor3usv = GPA(g_hGLDLL, "glColor3usv" );
01180     qglColor4b                   = dllColor4b = GPA(g_hGLDLL, "glColor4b" );
01181     qglColor4bv                  = dllColor4bv = GPA(g_hGLDLL, "glColor4bv" );
01182     qglColor4d                   = dllColor4d = GPA(g_hGLDLL, "glColor4d" );
01183     qglColor4dv                  = dllColor4dv = GPA(g_hGLDLL, "glColor4dv" );
01184     qglColor4f                   = dllColor4f = GPA(g_hGLDLL, "glColor4f" );
01185     qglColor4fv                  = dllColor4fv = GPA(g_hGLDLL, "glColor4fv" );
01186     qglColor4i                   = dllColor4i = GPA(g_hGLDLL, "glColor4i" );
01187     qglColor4iv                  = dllColor4iv = GPA(g_hGLDLL, "glColor4iv" );
01188     qglColor4s                   = dllColor4s = GPA(g_hGLDLL, "glColor4s" );
01189     qglColor4sv                  = dllColor4sv = GPA(g_hGLDLL, "glColor4sv" );
01190     qglColor4ub                  = dllColor4ub = GPA(g_hGLDLL, "glColor4ub" );
01191     qglColor4ubv                 = dllColor4ubv = GPA(g_hGLDLL, "glColor4ubv" );
01192     qglColor4ui                  = dllColor4ui = GPA(g_hGLDLL, "glColor4ui" );
01193     qglColor4uiv                 = dllColor4uiv = GPA(g_hGLDLL, "glColor4uiv" );
01194     qglColor4us                  = dllColor4us = GPA(g_hGLDLL, "glColor4us" );
01195     qglColor4usv                 = dllColor4usv = GPA(g_hGLDLL, "glColor4usv" );
01196     qglColorMask                 = dllColorMask = GPA(g_hGLDLL, "glColorMask" );
01197     qglColorMaterial             = dllColorMaterial = GPA(g_hGLDLL, "glColorMaterial" );
01198     qglColorPointer              = dllColorPointer = GPA(g_hGLDLL, "glColorPointer" );
01199     qglCopyPixels                = dllCopyPixels = GPA(g_hGLDLL, "glCopyPixels" );
01200     qglCopyTexImage1D            = dllCopyTexImage1D = GPA(g_hGLDLL, "glCopyTexImage1D" );
01201     qglCopyTexImage2D            = dllCopyTexImage2D = GPA(g_hGLDLL, "glCopyTexImage2D" );
01202     qglCopyTexSubImage1D         = dllCopyTexSubImage1D = GPA(g_hGLDLL, "glCopyTexSubImage1D" );
01203     qglCopyTexSubImage2D         = dllCopyTexSubImage2D = GPA(g_hGLDLL, "glCopyTexSubImage2D" );
01204     qglCullFace                  = dllCullFace = GPA(g_hGLDLL, "glCullFace" );
01205     qglDeleteLists               = dllDeleteLists = GPA(g_hGLDLL, "glDeleteLists" );
01206     qglDeleteTextures            = dllDeleteTextures = GPA(g_hGLDLL, "glDeleteTextures" );
01207     qglDepthFunc                 = dllDepthFunc = GPA(g_hGLDLL, "glDepthFunc" );
01208     qglDepthMask                 = dllDepthMask = GPA(g_hGLDLL, "glDepthMask" );
01209     qglDepthRange                = dllDepthRange = GPA(g_hGLDLL, "glDepthRange" );
01210     qglDisable                   = dllDisable = GPA(g_hGLDLL, "glDisable" );
01211     qglDisableClientState        = dllDisableClientState = GPA(g_hGLDLL, "glDisableClientState" );
01212     qglDrawArrays                = dllDrawArrays = GPA(g_hGLDLL, "glDrawArrays" );
01213     qglDrawBuffer                = dllDrawBuffer = GPA(g_hGLDLL, "glDrawBuffer" );
01214     qglDrawElements              = dllDrawElements = GPA(g_hGLDLL, "glDrawElements" );
01215     qglDrawPixels                = dllDrawPixels = GPA(g_hGLDLL, "glDrawPixels" );
01216     qglEdgeFlag                  = dllEdgeFlag = GPA(g_hGLDLL, "glEdgeFlag" );
01217     qglEdgeFlagPointer           = dllEdgeFlagPointer = GPA(g_hGLDLL, "glEdgeFlagPointer" );
01218     qglEdgeFlagv                 = dllEdgeFlagv = GPA(g_hGLDLL, "glEdgeFlagv" );
01219     qglEnable                    =  dllEnable                    = GPA(g_hGLDLL, "glEnable" );
01220     qglEnableClientState         =  dllEnableClientState         = GPA(g_hGLDLL, "glEnableClientState" );
01221     qglEnd                       =  dllEnd                       = GPA(g_hGLDLL, "glEnd" );
01222     qglEndList                   =  dllEndList                   = GPA(g_hGLDLL, "glEndList" );
01223     qglEvalCoord1d               =  dllEvalCoord1d               = GPA(g_hGLDLL, "glEvalCoord1d" );
01224     qglEvalCoord1dv              =  dllEvalCoord1dv              = GPA(g_hGLDLL, "glEvalCoord1dv" );
01225     qglEvalCoord1f               =  dllEvalCoord1f               = GPA(g_hGLDLL, "glEvalCoord1f" );
01226     qglEvalCoord1fv              =  dllEvalCoord1fv              = GPA(g_hGLDLL, "glEvalCoord1fv" );
01227     qglEvalCoord2d               =  dllEvalCoord2d               = GPA(g_hGLDLL, "glEvalCoord2d" );
01228     qglEvalCoord2dv              =  dllEvalCoord2dv              = GPA(g_hGLDLL, "glEvalCoord2dv" );
01229     qglEvalCoord2f               =  dllEvalCoord2f               = GPA(g_hGLDLL, "glEvalCoord2f" );
01230     qglEvalCoord2fv              =  dllEvalCoord2fv              = GPA(g_hGLDLL, "glEvalCoord2fv" );
01231     qglEvalMesh1                 =  dllEvalMesh1                 = GPA(g_hGLDLL, "glEvalMesh1" );
01232     qglEvalMesh2                 =  dllEvalMesh2                 = GPA(g_hGLDLL, "glEvalMesh2" );
01233     qglEvalPoint1                =  dllEvalPoint1                = GPA(g_hGLDLL, "glEvalPoint1" );
01234     qglEvalPoint2                =  dllEvalPoint2                = GPA(g_hGLDLL, "glEvalPoint2" );
01235     qglFeedbackBuffer            =  dllFeedbackBuffer            = GPA(g_hGLDLL, "glFeedbackBuffer" );
01236     qglFinish                    =  dllFinish                    = GPA(g_hGLDLL, "glFinish" );
01237     qglFlush                     =  dllFlush                     = GPA(g_hGLDLL, "glFlush" );
01238     qglFogf                      =  dllFogf                      = GPA(g_hGLDLL, "glFogf" );
01239     qglFogfv                     =  dllFogfv                     = GPA(g_hGLDLL, "glFogfv" );
01240     qglFogi                      =  dllFogi                      = GPA(g_hGLDLL, "glFogi" );
01241     qglFogiv                     =  dllFogiv                     = GPA(g_hGLDLL, "glFogiv" );
01242     qglFrontFace                 =  dllFrontFace                 = GPA(g_hGLDLL, "glFrontFace" );
01243     qglFrustum                   =  dllFrustum                   = GPA(g_hGLDLL, "glFrustum" );
01244     qglGenLists                  =  dllGenLists                  = GPA(g_hGLDLL, "glGenLists" );
01245     qglGenTextures               =  dllGenTextures               = GPA(g_hGLDLL, "glGenTextures" );
01246     qglGetBooleanv               =  dllGetBooleanv               = GPA(g_hGLDLL, "glGetBooleanv" );
01247     qglGetClipPlane              =  dllGetClipPlane              = GPA(g_hGLDLL, "glGetClipPlane" );
01248     qglGetDoublev                =  dllGetDoublev                = GPA(g_hGLDLL, "glGetDoublev" );
01249     qglGetError                  =  dllGetError                  = GPA(g_hGLDLL, "glGetError" );
01250     qglGetFloatv                 =  dllGetFloatv                 = GPA(g_hGLDLL, "glGetFloatv" );
01251     qglGetIntegerv               =  dllGetIntegerv               = GPA(g_hGLDLL, "glGetIntegerv" );
01252     qglGetLightfv                =  dllGetLightfv                = GPA(g_hGLDLL, "glGetLightfv" );
01253     qglGetLightiv                =  dllGetLightiv                = GPA(g_hGLDLL, "glGetLightiv" );
01254     qglGetMapdv                  =  dllGetMapdv                  = GPA(g_hGLDLL, "glGetMapdv" );
01255     qglGetMapfv                  =  dllGetMapfv                  = GPA(g_hGLDLL, "glGetMapfv" );
01256     qglGetMapiv                  =  dllGetMapiv                  = GPA(g_hGLDLL, "glGetMapiv" );
01257     qglGetMaterialfv             =  dllGetMaterialfv             = GPA(g_hGLDLL, "glGetMaterialfv" );
01258     qglGetMaterialiv             =  dllGetMaterialiv             = GPA(g_hGLDLL, "glGetMaterialiv" );
01259     qglGetPixelMapfv             =  dllGetPixelMapfv             = GPA(g_hGLDLL, "glGetPixelMapfv" );
01260     qglGetPixelMapuiv            =  dllGetPixelMapuiv            = GPA(g_hGLDLL, "glGetPixelMapuiv" );
01261     qglGetPixelMapusv            =  dllGetPixelMapusv            = GPA(g_hGLDLL, "glGetPixelMapusv" );
01262     qglGetPointerv               =  dllGetPointerv               = GPA(g_hGLDLL, "glGetPointerv" );
01263     qglGetPolygonStipple         =  dllGetPolygonStipple         = GPA(g_hGLDLL, "glGetPolygonStipple" );
01264     qglGetString                 =  dllGetString                 = GPA(g_hGLDLL, "glGetString" );
01265     qglGetTexEnvfv               =  dllGetTexEnvfv               = GPA(g_hGLDLL, "glGetTexEnvfv" );
01266     qglGetTexEnviv               =  dllGetTexEnviv               = GPA(g_hGLDLL, "glGetTexEnviv" );
01267     qglGetTexGendv               =  dllGetTexGendv               = GPA(g_hGLDLL, "glGetTexGendv" );
01268     qglGetTexGenfv               =  dllGetTexGenfv               = GPA(g_hGLDLL, "glGetTexGenfv" );
01269     qglGetTexGeniv               =  dllGetTexGeniv               = GPA(g_hGLDLL, "glGetTexGeniv" );
01270     qglGetTexImage               =  dllGetTexImage               = GPA(g_hGLDLL, "glGetTexImage" );
01271     qglGetTexLevelParameterfv    =  dllGetTexLevelParameterfv    = GPA(g_hGLDLL, "glGetLevelParameterfv" );
01272     qglGetTexLevelParameteriv    =  dllGetTexLevelParameteriv    = GPA(g_hGLDLL, "glGetLevelParameteriv" );
01273     qglGetTexParameterfv         =  dllGetTexParameterfv         = GPA(g_hGLDLL, "glGetTexParameterfv" );
01274     qglGetTexParameteriv         =  dllGetTexParameteriv         = GPA(g_hGLDLL, "glGetTexParameteriv" );
01275     qglHint                      =  dllHint                      = GPA(g_hGLDLL, "glHint" );
01276     qglIndexMask                 =  dllIndexMask                 = GPA(g_hGLDLL, "glIndexMask" );
01277     qglIndexPointer              =  dllIndexPointer              = GPA(g_hGLDLL, "glIndexPointer" );
01278     qglIndexd                    =  dllIndexd                    = GPA(g_hGLDLL, "glIndexd" );
01279     qglIndexdv                   =  dllIndexdv                   = GPA(g_hGLDLL, "glIndexdv" );
01280     qglIndexf                    =  dllIndexf                    = GPA(g_hGLDLL, "glIndexf" );
01281     qglIndexfv                   =  dllIndexfv                   = GPA(g_hGLDLL, "glIndexfv" );
01282     qglIndexi                    =  dllIndexi                    = GPA(g_hGLDLL, "glIndexi" );
01283     qglIndexiv                   =  dllIndexiv                   = GPA(g_hGLDLL, "glIndexiv" );
01284     qglIndexs                    =  dllIndexs                    = GPA(g_hGLDLL, "glIndexs" );
01285     qglIndexsv                   =  dllIndexsv                   = GPA(g_hGLDLL, "glIndexsv" );
01286     qglIndexub                   =  dllIndexub                   = GPA(g_hGLDLL, "glIndexub" );
01287     qglIndexubv                  =  dllIndexubv                  = GPA(g_hGLDLL, "glIndexubv" );
01288     qglInitNames                 =  dllInitNames                 = GPA(g_hGLDLL, "glInitNames" );
01289     qglInterleavedArrays         =  dllInterleavedArrays         = GPA(g_hGLDLL, "glInterleavedArrays" );
01290     qglIsEnabled                 =  dllIsEnabled                 = GPA(g_hGLDLL, "glIsEnabled" );
01291     qglIsList                    =  dllIsList                    = GPA(g_hGLDLL, "glIsList" );
01292     qglIsTexture                 =  dllIsTexture                 = GPA(g_hGLDLL, "glIsTexture" );
01293     qglLightModelf               =  dllLightModelf               = GPA(g_hGLDLL, "glLightModelf" );
01294     qglLightModelfv              =  dllLightModelfv              = GPA(g_hGLDLL, "glLightModelfv" );
01295     qglLightModeli               =  dllLightModeli               = GPA(g_hGLDLL, "glLightModeli" );
01296     qglLightModeliv              =  dllLightModeliv              = GPA(g_hGLDLL, "glLightModeliv" );
01297     qglLightf                    =  dllLightf                    = GPA(g_hGLDLL, "glLightf" );
01298     qglLightfv                   =  dllLightfv                   = GPA(g_hGLDLL, "glLightfv" );
01299     qglLighti                    =  dllLighti                    = GPA(g_hGLDLL, "glLighti" );
01300     qglLightiv                   =  dllLightiv                   = GPA(g_hGLDLL, "glLightiv" );
01301     qglLineStipple               =  dllLineStipple               = GPA(g_hGLDLL, "glLineStipple" );
01302     qglLineWidth                 =  dllLineWidth                 = GPA(g_hGLDLL, "glLineWidth" );
01303     qglListBase                  =  dllListBase                  = GPA(g_hGLDLL, "glListBase" );
01304     qglLoadIdentity              =  dllLoadIdentity              = GPA(g_hGLDLL, "glLoadIdentity" );
01305     qglLoadMatrixd               =  dllLoadMatrixd               = GPA(g_hGLDLL, "glLoadMatrixd" );
01306     qglLoadMatrixf               =  dllLoadMatrixf               = GPA(g_hGLDLL, "glLoadMatrixf" );
01307     qglLoadName                  =  dllLoadName                  = GPA(g_hGLDLL, "glLoadName" );
01308     qglLogicOp                   =  dllLogicOp                   = GPA(g_hGLDLL, "glLogicOp" );
01309     qglMap1d                     =  dllMap1d                     = GPA(g_hGLDLL, "glMap1d" );
01310     qglMap1f                     =  dllMap1f                     = GPA(g_hGLDLL, "glMap1f" );
01311     qglMap2d                     =  dllMap2d                     = GPA(g_hGLDLL, "glMap2d" );
01312     qglMap2f                     =  dllMap2f                     = GPA(g_hGLDLL, "glMap2f" );
01313     qglMapGrid1d                 =  dllMapGrid1d                 = GPA(g_hGLDLL, "glMapGrid1d" );
01314     qglMapGrid1f                 =  dllMapGrid1f                 = GPA(g_hGLDLL, "glMapGrid1f" );
01315     qglMapGrid2d                 =  dllMapGrid2d                 = GPA(g_hGLDLL, "glMapGrid2d" );
01316     qglMapGrid2f                 =  dllMapGrid2f                 = GPA(g_hGLDLL, "glMapGrid2f" );
01317     qglMaterialf                 =  dllMaterialf                 = GPA(g_hGLDLL, "glMaterialf" );
01318     qglMaterialfv                =  dllMaterialfv                = GPA(g_hGLDLL, "glMaterialfv" );
01319     qglMateriali                 =  dllMateriali                 = GPA(g_hGLDLL, "glMateriali" );
01320     qglMaterialiv                =  dllMaterialiv                = GPA(g_hGLDLL, "glMaterialiv" );
01321     qglMatrixMode                =  dllMatrixMode                = GPA(g_hGLDLL, "glMatrixMode" );
01322     qglMultMatrixd               =  dllMultMatrixd               = GPA(g_hGLDLL, "glMultMatrixd" );
01323     qglMultMatrixf               =  dllMultMatrixf               = GPA(g_hGLDLL, "glMultMatrixf" );
01324     qglNewList                   =  dllNewList                   = GPA(g_hGLDLL, "glNewList" );
01325     qglNormal3b                  =  dllNormal3b                  = GPA(g_hGLDLL, "glNormal3b" );
01326     qglNormal3bv                 =  dllNormal3bv                 = GPA(g_hGLDLL, "glNormal3bv" );
01327     qglNormal3d                  =  dllNormal3d                  = GPA(g_hGLDLL, "glNormal3d" );
01328     qglNormal3dv                 =  dllNormal3dv                 = GPA(g_hGLDLL, "glNormal3dv" );
01329     qglNormal3f                  =  dllNormal3f                  = GPA(g_hGLDLL, "glNormal3f" );
01330     qglNormal3fv                 =  dllNormal3fv                 = GPA(g_hGLDLL, "glNormal3fv" );
01331     qglNormal3i                  =  dllNormal3i                  = GPA(g_hGLDLL, "glNormal3i" );
01332     qglNormal3iv                 =  dllNormal3iv                 = GPA(g_hGLDLL, "glNormal3iv" );
01333     qglNormal3s                  =  dllNormal3s                  = GPA(g_hGLDLL, "glNormal3s" );
01334     qglNormal3sv                 =  dllNormal3sv                 = GPA(g_hGLDLL, "glNormal3sv" );
01335     qglNormalPointer             =  dllNormalPointer             = GPA(g_hGLDLL, "glNormalPointer" );
01336     qglOrtho                     =  dllOrtho                     = GPA(g_hGLDLL, "glOrtho" );
01337     qglPassThrough               =  dllPassThrough               = GPA(g_hGLDLL, "glPassThrough" );
01338     qglPixelMapfv                =  dllPixelMapfv                = GPA(g_hGLDLL, "glPixelMapfv" );
01339     qglPixelMapuiv               =  dllPixelMapuiv               = GPA(g_hGLDLL, "glPixelMapuiv" );
01340     qglPixelMapusv               =  dllPixelMapusv               = GPA(g_hGLDLL, "glPixelMapusv" );
01341     qglPixelStoref               =  dllPixelStoref               = GPA(g_hGLDLL, "glPixelStoref" );
01342     qglPixelStorei               =  dllPixelStorei               = GPA(g_hGLDLL, "glPixelStorei" );
01343     qglPixelTransferf            =  dllPixelTransferf            = GPA(g_hGLDLL, "glPixelTransferf" );
01344     qglPixelTransferi            =  dllPixelTransferi            = GPA(g_hGLDLL, "glPixelTransferi" );
01345     qglPixelZoom                 =  dllPixelZoom                 = GPA(g_hGLDLL, "glPixelZoom" );
01346     qglPointSize                 =  dllPointSize                 = GPA(g_hGLDLL, "glPointSize" );
01347     qglPolygonMode               =  dllPolygonMode               = GPA(g_hGLDLL, "glPolygonMode" );
01348     qglPolygonOffset             =  dllPolygonOffset             = GPA(g_hGLDLL, "glPolygonOffset" );
01349     qglPolygonStipple            =  dllPolygonStipple            = GPA(g_hGLDLL, "glPolygonStipple" );
01350     qglPopAttrib                 =  dllPopAttrib                 = GPA(g_hGLDLL, "glPopAttrib" );
01351     qglPopClientAttrib           =  dllPopClientAttrib           = GPA(g_hGLDLL, "glPopClientAttrib" );
01352     qglPopMatrix                 =  dllPopMatrix                 = GPA(g_hGLDLL, "glPopMatrix" );
01353     qglPopName                   =  dllPopName                   = GPA(g_hGLDLL, "glPopName" );
01354     qglPrioritizeTextures        =  dllPrioritizeTextures        = GPA(g_hGLDLL, "glPrioritizeTextures" );
01355     qglPushAttrib                =  dllPushAttrib                = GPA(g_hGLDLL, "glPushAttrib" );
01356     qglPushClientAttrib          =  dllPushClientAttrib          = GPA(g_hGLDLL, "glPushClientAttrib" );
01357     qglPushMatrix                =  dllPushMatrix                = GPA(g_hGLDLL, "glPushMatrix" );
01358     qglPushName                  =  dllPushName                  = GPA(g_hGLDLL, "glPushName" );
01359     qglRasterPos2d               =  dllRasterPos2d               = GPA(g_hGLDLL, "glRasterPos2d" );
01360     qglRasterPos2dv              =  dllRasterPos2dv              = GPA(g_hGLDLL, "glRasterPos2dv" );
01361     qglRasterPos2f               =  dllRasterPos2f               = GPA(g_hGLDLL, "glRasterPos2f" );
01362     qglRasterPos2fv              =  dllRasterPos2fv              = GPA(g_hGLDLL, "glRasterPos2fv" );
01363     qglRasterPos2i               =  dllRasterPos2i               = GPA(g_hGLDLL, "glRasterPos2i" );
01364     qglRasterPos2iv              =  dllRasterPos2iv              = GPA(g_hGLDLL, "glRasterPos2iv" );
01365     qglRasterPos2s               =  dllRasterPos2s               = GPA(g_hGLDLL, "glRasterPos2s" );
01366     qglRasterPos2sv              =  dllRasterPos2sv              = GPA(g_hGLDLL, "glRasterPos2sv" );
01367     qglRasterPos3d               =  dllRasterPos3d               = GPA(g_hGLDLL, "glRasterPos3d" );
01368     qglRasterPos3dv              =  dllRasterPos3dv              = GPA(g_hGLDLL, "glRasterPos3dv" );
01369     qglRasterPos3f               =  dllRasterPos3f               = GPA(g_hGLDLL, "glRasterPos3f" );
01370     qglRasterPos3fv              =  dllRasterPos3fv              = GPA(g_hGLDLL, "glRasterPos3fv" );
01371     qglRasterPos3i               =  dllRasterPos3i               = GPA(g_hGLDLL, "glRasterPos3i" );
01372     qglRasterPos3iv              =  dllRasterPos3iv              = GPA(g_hGLDLL, "glRasterPos3iv" );
01373     qglRasterPos3s               =  dllRasterPos3s               = GPA(g_hGLDLL, "glRasterPos3s" );
01374     qglRasterPos3sv              =  dllRasterPos3sv              = GPA(g_hGLDLL, "glRasterPos3sv" );
01375     qglRasterPos4d               =  dllRasterPos4d               = GPA(g_hGLDLL, "glRasterPos4d" );
01376     qglRasterPos4dv              =  dllRasterPos4dv              = GPA(g_hGLDLL, "glRasterPos4dv" );
01377     qglRasterPos4f               =  dllRasterPos4f               = GPA(g_hGLDLL, "glRasterPos4f" );
01378     qglRasterPos4fv              =  dllRasterPos4fv              = GPA(g_hGLDLL, "glRasterPos4fv" );
01379     qglRasterPos4i               =  dllRasterPos4i               = GPA(g_hGLDLL, "glRasterPos4i" );
01380     qglRasterPos4iv              =  dllRasterPos4iv              = GPA(g_hGLDLL, "glRasterPos4iv" );
01381     qglRasterPos4s               =  dllRasterPos4s               = GPA(g_hGLDLL, "glRasterPos4s" );
01382     qglRasterPos4sv              =  dllRasterPos4sv              = GPA(g_hGLDLL, "glRasterPos4sv" );
01383     qglReadBuffer                =  dllReadBuffer                = GPA(g_hGLDLL, "glReadBuffer" );
01384     qglReadPixels                =  dllReadPixels                = GPA(g_hGLDLL, "glReadPixels" );
01385     qglRectd                     =  dllRectd                     = GPA(g_hGLDLL, "glRectd" );
01386     qglRectdv                    =  dllRectdv                    = GPA(g_hGLDLL, "glRectdv" );
01387     qglRectf                     =  dllRectf                     = GPA(g_hGLDLL, "glRectf" );
01388     qglRectfv                    =  dllRectfv                    = GPA(g_hGLDLL, "glRectfv" );
01389     qglRecti                     =  dllRecti                     = GPA(g_hGLDLL, "glRecti" );
01390     qglRectiv                    =  dllRectiv                    = GPA(g_hGLDLL, "glRectiv" );
01391     qglRects                     =  dllRects                     = GPA(g_hGLDLL, "glRects" );
01392     qglRectsv                    =  dllRectsv                    = GPA(g_hGLDLL, "glRectsv" );
01393     qglRenderMode                =  dllRenderMode                = GPA(g_hGLDLL, "glRenderMode" );
01394     qglRotated                   =  dllRotated                   = GPA(g_hGLDLL, "glRotated" );
01395     qglRotatef                   =  dllRotatef                   = GPA(g_hGLDLL, "glRotatef" );
01396     qglScaled                    =  dllScaled                    = GPA(g_hGLDLL, "glScaled" );
01397     qglScalef                    =  dllScalef                    = GPA(g_hGLDLL, "glScalef" );
01398     qglScissor                   =  dllScissor                   = GPA(g_hGLDLL, "glScissor" );
01399     qglSelectBuffer              =  dllSelectBuffer              = GPA(g_hGLDLL, "glSelectBuffer" );
01400     qglShadeModel                =  dllShadeModel                = GPA(g_hGLDLL, "glShadeModel" );
01401     qglStencilFunc               =  dllStencilFunc               = GPA(g_hGLDLL, "glStencilFunc" );
01402     qglStencilMask               =  dllStencilMask               = GPA(g_hGLDLL, "glStencilMask" );
01403     qglStencilOp                 =  dllStencilOp                 = GPA(g_hGLDLL, "glStencilOp" );
01404     qglTexCoord1d                =  dllTexCoord1d                = GPA(g_hGLDLL, "glTexCoord1d" );
01405     qglTexCoord1dv               =  dllTexCoord1dv               = GPA(g_hGLDLL, "glTexCoord1dv" );
01406     qglTexCoord1f                =  dllTexCoord1f                = GPA(g_hGLDLL, "glTexCoord1f" );
01407     qglTexCoord1fv               =  dllTexCoord1fv               = GPA(g_hGLDLL, "glTexCoord1fv" );
01408     qglTexCoord1i                =  dllTexCoord1i                = GPA(g_hGLDLL, "glTexCoord1i" );
01409     qglTexCoord1iv               =  dllTexCoord1iv               = GPA(g_hGLDLL, "glTexCoord1iv" );
01410     qglTexCoord1s                =  dllTexCoord1s                = GPA(g_hGLDLL, "glTexCoord1s" );
01411     qglTexCoord1sv               =  dllTexCoord1sv               = GPA(g_hGLDLL, "glTexCoord1sv" );
01412     qglTexCoord2d                =  dllTexCoord2d                = GPA(g_hGLDLL, "glTexCoord2d" );
01413     qglTexCoord2dv               =  dllTexCoord2dv               = GPA(g_hGLDLL, "glTexCoord2dv" );
01414     qglTexCoord2f                =  dllTexCoord2f                = GPA(g_hGLDLL, "glTexCoord2f" );
01415     qglTexCoord2fv               =  dllTexCoord2fv               = GPA(g_hGLDLL, "glTexCoord2fv" );
01416     qglTexCoord2i                =  dllTexCoord2i                = GPA(g_hGLDLL, "glTexCoord2i" );
01417     qglTexCoord2iv               =  dllTexCoord2iv               = GPA(g_hGLDLL, "glTexCoord2iv" );
01418     qglTexCoord2s                =  dllTexCoord2s                = GPA(g_hGLDLL, "glTexCoord2s" );
01419     qglTexCoord2sv               =  dllTexCoord2sv               = GPA(g_hGLDLL, "glTexCoord2sv" );
01420     qglTexCoord3d                =  dllTexCoord3d                = GPA(g_hGLDLL, "glTexCoord3d" );
01421     qglTexCoord3dv               =  dllTexCoord3dv               = GPA(g_hGLDLL, "glTexCoord3dv" );
01422     qglTexCoord3f                =  dllTexCoord3f                = GPA(g_hGLDLL, "glTexCoord3f" );
01423     qglTexCoord3fv               =  dllTexCoord3fv               = GPA(g_hGLDLL, "glTexCoord3fv" );
01424     qglTexCoord3i                =  dllTexCoord3i                = GPA(g_hGLDLL, "glTexCoord3i" );
01425     qglTexCoord3iv               =  dllTexCoord3iv               = GPA(g_hGLDLL, "glTexCoord3iv" );
01426     qglTexCoord3s                =  dllTexCoord3s                = GPA(g_hGLDLL, "glTexCoord3s" );
01427     qglTexCoord3sv               =  dllTexCoord3sv               = GPA(g_hGLDLL, "glTexCoord3sv" );
01428     qglTexCoord4d                =  dllTexCoord4d                = GPA(g_hGLDLL, "glTexCoord4d" );
01429     qglTexCoord4dv               =  dllTexCoord4dv               = GPA(g_hGLDLL, "glTexCoord4dv" );
01430     qglTexCoord4f                =  dllTexCoord4f                = GPA(g_hGLDLL, "glTexCoord4f" );
01431     qglTexCoord4fv               =  dllTexCoord4fv               = GPA(g_hGLDLL, "glTexCoord4fv" );
01432     qglTexCoord4i                =  dllTexCoord4i                = GPA(g_hGLDLL, "glTexCoord4i" );
01433     qglTexCoord4iv               =  dllTexCoord4iv               = GPA(g_hGLDLL, "glTexCoord4iv" );
01434     qglTexCoord4s                =  dllTexCoord4s                = GPA(g_hGLDLL, "glTexCoord4s" );
01435     qglTexCoord4sv               =  dllTexCoord4sv               = GPA(g_hGLDLL, "glTexCoord4sv" );
01436     qglTexCoordPointer           =  dllTexCoordPointer           = GPA(g_hGLDLL, "glTexCoordPointer" );
01437     qglTexEnvf                   =  dllTexEnvf                   = GPA(g_hGLDLL, "glTexEnvf" );
01438     qglTexEnvfv                  =  dllTexEnvfv                  = GPA(g_hGLDLL, "glTexEnvfv" );
01439     qglTexEnvi                   =  dllTexEnvi                   = GPA(g_hGLDLL, "glTexEnvi" );
01440     qglTexEnviv                  =  dllTexEnviv                  = GPA(g_hGLDLL, "glTexEnviv" );
01441     qglTexGend                   =  dllTexGend                   = GPA(g_hGLDLL, "glTexGend" );
01442     qglTexGendv                  =  dllTexGendv                  = GPA(g_hGLDLL, "glTexGendv" );
01443     qglTexGenf                   =  dllTexGenf                   = GPA(g_hGLDLL, "glTexGenf" );
01444     qglTexGenfv                  =  dllTexGenfv                  = GPA(g_hGLDLL, "glTexGenfv" );
01445     qglTexGeni                   =  dllTexGeni                   = GPA(g_hGLDLL, "glTexGeni" );
01446     qglTexGeniv                  =  dllTexGeniv                  = GPA(g_hGLDLL, "glTexGeniv" );
01447     qglTexImage1D                =  dllTexImage1D                = GPA(g_hGLDLL, "glTexImage1D" );
01448     qglTexImage2D                =  dllTexImage2D                = GPA(g_hGLDLL, "glTexImage2D" );
01449     qglTexParameterf             =  dllTexParameterf             = GPA(g_hGLDLL, "glTexParameterf" );
01450     qglTexParameterfv            =  dllTexParameterfv            = GPA(g_hGLDLL, "glTexParameterfv" );
01451     qglTexParameteri             =  dllTexParameteri             = GPA(g_hGLDLL, "glTexParameteri" );
01452     qglTexParameteriv            =  dllTexParameteriv            = GPA(g_hGLDLL, "glTexParameteriv" );
01453     qglTexSubImage1D             =  dllTexSubImage1D             = GPA(g_hGLDLL, "glTexSubImage1D" );
01454     qglTexSubImage2D             =  dllTexSubImage2D             = GPA(g_hGLDLL, "glTexSubImage2D" );
01455     qglTranslated                =  dllTranslated                = GPA(g_hGLDLL, "glTranslated" );
01456     qglTranslatef                =  dllTranslatef                = GPA(g_hGLDLL, "glTranslatef" );
01457     qglVertex2d                  =  dllVertex2d                  = GPA(g_hGLDLL, "glVertex2d" );
01458     qglVertex2dv                 =  dllVertex2dv                 = GPA(g_hGLDLL, "glVertex2dv" );
01459     qglVertex2f                  =  dllVertex2f                  = GPA(g_hGLDLL, "glVertex2f" );
01460     qglVertex2fv                 =  dllVertex2fv                 = GPA(g_hGLDLL, "glVertex2fv" );
01461     qglVertex2i                  =  dllVertex2i                  = GPA(g_hGLDLL, "glVertex2i" );
01462     qglVertex2iv                 =  dllVertex2iv                 = GPA(g_hGLDLL, "glVertex2iv" );
01463     qglVertex2s                  =  dllVertex2s                  = GPA(g_hGLDLL, "glVertex2s" );
01464     qglVertex2sv                 =  dllVertex2sv                 = GPA(g_hGLDLL, "glVertex2sv" );
01465     qglVertex3d                  =  dllVertex3d                  = GPA(g_hGLDLL, "glVertex3d" );
01466     qglVertex3dv                 =  dllVertex3dv                 = GPA(g_hGLDLL, "glVertex3dv" );
01467     qglVertex3f                  =  dllVertex3f                  = GPA(g_hGLDLL, "glVertex3f" );
01468     qglVertex3fv                 =  dllVertex3fv                 = GPA(g_hGLDLL, "glVertex3fv" );
01469     qglVertex3i                  =  dllVertex3i                  = GPA(g_hGLDLL, "glVertex3i" );
01470     qglVertex3iv                 =  dllVertex3iv                 = GPA(g_hGLDLL, "glVertex3iv" );
01471     qglVertex3s                  =  dllVertex3s                  = GPA(g_hGLDLL, "glVertex3s" );
01472     qglVertex3sv                 =  dllVertex3sv                 = GPA(g_hGLDLL, "glVertex3sv" );
01473     qglVertex4d                  =  dllVertex4d                  = GPA(g_hGLDLL, "glVertex4d" );
01474     qglVertex4dv                 =  dllVertex4dv                 = GPA(g_hGLDLL, "glVertex4dv" );
01475     qglVertex4f                  =  dllVertex4f                  = GPA(g_hGLDLL, "glVertex4f" );
01476     qglVertex4fv                 =  dllVertex4fv                 = GPA(g_hGLDLL, "glVertex4fv" );
01477     qglVertex4i                  =  dllVertex4i                  = GPA(g_hGLDLL, "glVertex4i" );
01478     qglVertex4iv                 =  dllVertex4iv                 = GPA(g_hGLDLL, "glVertex4iv" );
01479     qglVertex4s                  =  dllVertex4s                  = GPA(g_hGLDLL, "glVertex4s" );
01480     qglVertex4sv                 =  dllVertex4sv                 = GPA(g_hGLDLL, "glVertex4sv" );
01481     qglVertexPointer             =  dllVertexPointer             = GPA(g_hGLDLL, "glVertexPointer" );
01482     qglViewport                  =  dllViewport                  = GPA(g_hGLDLL, "glViewport" );
01483 
01484     qwglCopyContext              = GPA(g_hGLDLL, "wglCopyContext" );
01485     qwglCreateContext            = GPA(g_hGLDLL, "wglCreateContext" );
01486     qwglCreateLayerContext       = GPA(g_hGLDLL, "wglCreateLayerContext" );
01487     qwglDeleteContext            = GPA(g_hGLDLL, "wglDeleteContext" );
01488     qwglDescribeLayerPlane       = GPA(g_hGLDLL, "wglDescribeLayerPlane" );
01489     qwglGetCurrentContext        = GPA(g_hGLDLL, "wglGetCurrentContext" );
01490     qwglGetCurrentDC             = GPA(g_hGLDLL, "wglGetCurrentDC" );
01491     qwglGetLayerPaletteEntries   = GPA(g_hGLDLL, "wglGetLayerPaletteEntries" );
01492     qwglGetProcAddress           = GPA(g_hGLDLL, "wglGetProcAddress" );
01493     qwglMakeCurrent              = GPA(g_hGLDLL, "wglMakeCurrent" );
01494     qwglRealizeLayerPalette      = GPA(g_hGLDLL, "wglRealizeLayerPalette" );
01495     qwglSetLayerPaletteEntries   = GPA(g_hGLDLL, "wglSetLayerPaletteEntries" );
01496     qwglShareLists               = GPA(g_hGLDLL, "wglShareLists" );
01497     qwglSwapLayerBuffers         = GPA(g_hGLDLL, "wglSwapLayerBuffers" );
01498     qwglUseFontBitmaps           = GPA(g_hGLDLL, "wglUseFontBitmapsA" );
01499     qwglUseFontOutlines          = GPA(g_hGLDLL, "wglUseFontOutlinesA" );
01500 
01501     qwglChoosePixelFormat        = GPA(g_hGLDLL, "wglChoosePixelFormat" );
01502     qwglDescribePixelFormat      = GPA(g_hGLDLL, "wglDescribePixelFormat" );
01503     qwglGetPixelFormat           = GPA(g_hGLDLL, "wglGetPixelFormat" );
01504     qwglSetPixelFormat           = GPA(g_hGLDLL, "wglSetPixelFormat" );
01505     qwglSwapBuffers              = GPA(g_hGLDLL, "wglSwapBuffers" );
01506 
01507     qwglSwapIntervalEXT = 0;
01508     qglPointParameterfEXT = 0;
01509     qglPointParameterfvEXT = 0;
01510     qglColorTableEXT = 0;
01511     qglSelectTextureSGIS = 0;
01512     qglMTexCoord2fSGIS = 0;
01513 
01514     return true;
01515 }
01516 
01517 #pragma warning (default : 4113 4133 4047 )
01518 
01519 
01520 

Generated on Thu Aug 25 12:38:38 2005 for Quake III Arena by  doxygen 1.3.9.1