vkQuake2 doxygen  1.0 dev
qgl.h File Reference
#include <windows.h>
#include <GL/gl.h>

Go to the source code of this file.

Macros

#define APIENTRY
 
#define GL_POINT_SIZE_MIN_EXT   0x8126
 
#define GL_POINT_SIZE_MAX_EXT   0x8127
 
#define GL_POINT_FADE_THRESHOLD_SIZE_EXT   0x8128
 
#define GL_DISTANCE_ATTENUATION_EXT   0x8129
 
#define GL_SHARED_TEXTURE_PALETTE_EXT   0x81FB
 
#define GL_TEXTURE0_SGIS   0x835E
 
#define GL_TEXTURE1_SGIS   0x835F
 
#define GL_TEXTURE0_ARB   0x84C0
 
#define GL_TEXTURE1_ARB   0x84C1
 

Functions

qboolean QGL_Init (const char *dllname)
 
void QGL_Shutdown (void)
 
 void (APIENTRY *qglAccum)(GLenum op
 
 GLboolean (APIENTRY *qglAreTexturesResident)(GLsizei n
 
 GLuint (APIENTRY *qglGenLists)(GLsizei range)
 
 GLenum (APIENTRY *qglGetError)(void)
 
const GLubyte *APIENTRYqglGetString (GLenum name)
 
 GLint (APIENTRY *qglRenderMode)(GLenum mode)
 
 int (WINAPI *qwglChoosePixelFormat)(HDC
 
 BOOL (WINAPI *qwglSetPixelFormat)(HDC
 
 HGLRC (WINAPI *qwglCreateContext)(HDC)
 
 HDC (WINAPI *qwglGetCurrentDC)(VOID)
 
 PROC (WINAPI *qwglGetProcAddress)(LPCSTR)
 

Variables

GLfloat value
 
GLclampf ref
 
const GLuinttextures
 
const GLuint GLbooleanresidences
 
GLuint texture
 
GLsizei height
 
GLsizei GLfloat xorig
 
GLsizei GLfloat GLfloat yorig
 
GLsizei GLfloat GLfloat GLfloat xmove
 
GLsizei GLfloat GLfloat GLfloat GLfloat ymove
 
GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte * bitmap
 
GLenum dfactor
 
GLenum type
 
GLenum const GLvoid * lists
 
GLfloat green
 
GLfloat GLfloat blue
 
GLfloat GLfloat GLfloat alpha
 
const GLdouble * equation
 
GLenum mode
 
GLenum GLsizei stride
 
GLenum GLsizei const GLvoid * pointer
 
GLint y
 
GLint GLsizei width
 
GLint level
 
GLint GLenum internalFormat
 
GLint GLenum GLint x
 
GLint GLenum GLint GLint GLsizei GLint border
 
GLint GLint xoffset
 
GLint GLint GLint yoffset
 
GLsizei range
 
GLclampd zFar
 
GLint first
 
GLint GLsizei count
 
GLsizei GLenum const GLvoid * indices
 
GLsizei GLenum format
 
GLsizei GLenum GLenum const GLvoid * pixels
 
GLdouble v
 
GLint i1
 
GLint GLint i2
 
GLint GLint GLint j1
 
GLint GLint GLint GLint j2
 
GLint j
 
GLenum GLfloatbuffer
 
GLfloat param
 
const GLfloatparams
 
GLdouble right
 
GLdouble GLdouble bottom
 
GLdouble GLdouble GLdouble top
 
GLdouble GLdouble GLdouble GLdouble zNear
 
GLenum pname
 
GLenum query
 
GLfloatvalues
 
GLushort pattern
 
GLdouble u1
 
GLdouble GLdouble u2
 
GLdouble GLdouble GLint GLint order
 
GLdouble GLdouble GLint GLint const GLdouble * points
 
GLdouble GLdouble GLint ustride
 
GLdouble GLdouble GLint GLint uorder
 
GLdouble GLdouble GLint GLint GLdouble v1
 
GLdouble GLdouble GLint GLint GLdouble GLdouble v2
 
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint vstride
 
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint vorder
 
GLdouble GLdouble GLint vn
 
GLbyte ny
 
GLbyte GLbyte nz
 
GLsizei mapsize
 
GLfloat yfactor
 
GLfloat units
 
const GLuint const GLclampf * priorities
 
GLdouble GLdouble z
 
GLdouble GLdouble GLdouble w
 
GLdouble y1
 
GLdouble GLdouble x2
 
GLdouble GLdouble GLdouble y2
 
GLint GLuint mask
 
GLenum zfail
 
GLenum GLenum zpass
 
GLdouble t
 
GLdouble GLdouble r
 
GLdouble GLdouble GLdouble q
 
GLint GLint internalformat
 
 GLenum
 
 GLsizei
 
const GLvoid int
 
 GLfloat
 
CONST PIXELFORMATDESCRIPTOR UINT
 
CONST PIXELFORMATDESCRIPTOR LPPIXELFORMATDESCRIPTOR
 
 HGLRC
 
 DWORD
 
 FLOAT
 
 LPGLYPHMETRICSFLOAT
 
 LPLAYERPLANEDESCRIPTOR
 
CONST COLORREF COLORREF BOOL
 
unsigned char * pGreen
 
unsigned char unsigned char * pBlue
 
int gl_texture0
 
int gl_texture1
 

Macro Definition Documentation

◆ APIENTRY

#define APIENTRY

Definition at line 42 of file qgl.h.

◆ GL_DISTANCE_ATTENUATION_EXT

#define GL_DISTANCE_ATTENUATION_EXT   0x8129

Definition at line 471 of file qgl.h.

◆ GL_POINT_FADE_THRESHOLD_SIZE_EXT

#define GL_POINT_FADE_THRESHOLD_SIZE_EXT   0x8128

Definition at line 470 of file qgl.h.

◆ GL_POINT_SIZE_MAX_EXT

#define GL_POINT_SIZE_MAX_EXT   0x8127

Definition at line 469 of file qgl.h.

◆ GL_POINT_SIZE_MIN_EXT

#define GL_POINT_SIZE_MIN_EXT   0x8126

Definition at line 468 of file qgl.h.

◆ GL_SHARED_TEXTURE_PALETTE_EXT

#define GL_SHARED_TEXTURE_PALETTE_EXT   0x81FB

Definition at line 476 of file qgl.h.

◆ GL_TEXTURE0_ARB

#define GL_TEXTURE0_ARB   0x84C0

Definition at line 481 of file qgl.h.

◆ GL_TEXTURE0_SGIS

#define GL_TEXTURE0_SGIS   0x835E

Definition at line 479 of file qgl.h.

◆ GL_TEXTURE1_ARB

#define GL_TEXTURE1_ARB   0x84C1

Definition at line 482 of file qgl.h.

◆ GL_TEXTURE1_SGIS

#define GL_TEXTURE1_SGIS   0x835F

Definition at line 480 of file qgl.h.

Function Documentation

◆ BOOL()

BOOL ( WINAPI *  qwglSetPixelFormat)

◆ GLboolean()

GLboolean ( APIENTRY qglAreTexturesResident)

◆ GLenum()

GLenum ( APIENTRY qglGetError)

◆ GLint()

GLint ( APIENTRY qglRenderMode)

◆ GLuint()

GLuint ( APIENTRY qglGenLists)

◆ HDC()

HDC ( WINAPI *  qwglGetCurrentDC)

◆ HGLRC()

HGLRC ( WINAPI *  qwglCreateContext)

◆ int()

int ( WINAPI *  qwglChoosePixelFormat)

◆ PROC()

PROC ( WINAPI *  qwglGetProcAddress)

◆ QGL_Init()

qboolean QGL_Init ( const char *  dllname)

Definition at line 3032 of file qgl_win.c.

3033 {
3034  // update 3Dfx gamma irrespective of underlying DLL
3035  {
3036  char envbuffer[1024];
3037  float g;
3038 
3039  g = 2.00 * ( 0.8 - ( vid_gamma->value - 0.5 ) ) + 1.0F;
3040  Com_sprintf( envbuffer, sizeof(envbuffer), "SSTV2_GAMMA=%f", g );
3041  putenv( envbuffer );
3042  Com_sprintf( envbuffer, sizeof(envbuffer), "SST_GAMMA=%f", g );
3043  putenv( envbuffer );
3044  }
3045 
3046  if ( ( glw_state.hinstOpenGL = LoadLibrary( dllname ) ) == 0 )
3047  {
3048  char *buf = NULL;
3049 
3050  FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR) &buf, 0, NULL);
3051  ri.Con_Printf( PRINT_ALL, "%s\n", buf );
3052  return false;
3053  }
3054 
3055  gl_config.allow_cds = true;
3056 
3057  qglAccum = dllAccum = GPA( "glAccum" );
3058  qglAlphaFunc = dllAlphaFunc = GPA( "glAlphaFunc" );
3059  qglAreTexturesResident = dllAreTexturesResident = GPA( "glAreTexturesResident" );
3060  qglArrayElement = dllArrayElement = GPA( "glArrayElement" );
3061  qglBegin = dllBegin = GPA( "glBegin" );
3062  qglBindTexture = dllBindTexture = GPA( "glBindTexture" );
3063  qglBitmap = dllBitmap = GPA( "glBitmap" );
3064  qglBlendFunc = dllBlendFunc = GPA( "glBlendFunc" );
3065  qglCallList = dllCallList = GPA( "glCallList" );
3066  qglCallLists = dllCallLists = GPA( "glCallLists" );
3067  qglClear = dllClear = GPA( "glClear" );
3068  qglClearAccum = dllClearAccum = GPA( "glClearAccum" );
3069  qglClearColor = dllClearColor = GPA( "glClearColor" );
3070  qglClearDepth = dllClearDepth = GPA( "glClearDepth" );
3071  qglClearIndex = dllClearIndex = GPA( "glClearIndex" );
3072  qglClearStencil = dllClearStencil = GPA( "glClearStencil" );
3073  qglClipPlane = dllClipPlane = GPA( "glClipPlane" );
3074  qglColor3b = dllColor3b = GPA( "glColor3b" );
3075  qglColor3bv = dllColor3bv = GPA( "glColor3bv" );
3076  qglColor3d = dllColor3d = GPA( "glColor3d" );
3077  qglColor3dv = dllColor3dv = GPA( "glColor3dv" );
3078  qglColor3f = dllColor3f = GPA( "glColor3f" );
3079  qglColor3fv = dllColor3fv = GPA( "glColor3fv" );
3080  qglColor3i = dllColor3i = GPA( "glColor3i" );
3081  qglColor3iv = dllColor3iv = GPA( "glColor3iv" );
3082  qglColor3s = dllColor3s = GPA( "glColor3s" );
3083  qglColor3sv = dllColor3sv = GPA( "glColor3sv" );
3084  qglColor3ub = dllColor3ub = GPA( "glColor3ub" );
3085  qglColor3ubv = dllColor3ubv = GPA( "glColor3ubv" );
3086  qglColor3ui = dllColor3ui = GPA( "glColor3ui" );
3087  qglColor3uiv = dllColor3uiv = GPA( "glColor3uiv" );
3088  qglColor3us = dllColor3us = GPA( "glColor3us" );
3089  qglColor3usv = dllColor3usv = GPA( "glColor3usv" );
3090  qglColor4b = dllColor4b = GPA( "glColor4b" );
3091  qglColor4bv = dllColor4bv = GPA( "glColor4bv" );
3092  qglColor4d = dllColor4d = GPA( "glColor4d" );
3093  qglColor4dv = dllColor4dv = GPA( "glColor4dv" );
3094  qglColor4f = dllColor4f = GPA( "glColor4f" );
3095  qglColor4fv = dllColor4fv = GPA( "glColor4fv" );
3096  qglColor4i = dllColor4i = GPA( "glColor4i" );
3097  qglColor4iv = dllColor4iv = GPA( "glColor4iv" );
3098  qglColor4s = dllColor4s = GPA( "glColor4s" );
3099  qglColor4sv = dllColor4sv = GPA( "glColor4sv" );
3100  qglColor4ub = dllColor4ub = GPA( "glColor4ub" );
3101  qglColor4ubv = dllColor4ubv = GPA( "glColor4ubv" );
3102  qglColor4ui = dllColor4ui = GPA( "glColor4ui" );
3103  qglColor4uiv = dllColor4uiv = GPA( "glColor4uiv" );
3104  qglColor4us = dllColor4us = GPA( "glColor4us" );
3105  qglColor4usv = dllColor4usv = GPA( "glColor4usv" );
3106  qglColorMask = dllColorMask = GPA( "glColorMask" );
3107  qglColorMaterial = dllColorMaterial = GPA( "glColorMaterial" );
3108  qglColorPointer = dllColorPointer = GPA( "glColorPointer" );
3109  qglCopyPixels = dllCopyPixels = GPA( "glCopyPixels" );
3110  qglCopyTexImage1D = dllCopyTexImage1D = GPA( "glCopyTexImage1D" );
3111  qglCopyTexImage2D = dllCopyTexImage2D = GPA( "glCopyTexImage2D" );
3112  qglCopyTexSubImage1D = dllCopyTexSubImage1D = GPA( "glCopyTexSubImage1D" );
3113  qglCopyTexSubImage2D = dllCopyTexSubImage2D = GPA( "glCopyTexSubImage2D" );
3114  qglCullFace = dllCullFace = GPA( "glCullFace" );
3115  qglDeleteLists = dllDeleteLists = GPA( "glDeleteLists" );
3116  qglDeleteTextures = dllDeleteTextures = GPA( "glDeleteTextures" );
3117  qglDepthFunc = dllDepthFunc = GPA( "glDepthFunc" );
3118  qglDepthMask = dllDepthMask = GPA( "glDepthMask" );
3119  qglDepthRange = dllDepthRange = GPA( "glDepthRange" );
3120  qglDisable = dllDisable = GPA( "glDisable" );
3121  qglDisableClientState = dllDisableClientState = GPA( "glDisableClientState" );
3122  qglDrawArrays = dllDrawArrays = GPA( "glDrawArrays" );
3123  qglDrawBuffer = dllDrawBuffer = GPA( "glDrawBuffer" );
3124  qglDrawElements = dllDrawElements = GPA( "glDrawElements" );
3125  qglDrawPixels = dllDrawPixels = GPA( "glDrawPixels" );
3126  qglEdgeFlag = dllEdgeFlag = GPA( "glEdgeFlag" );
3127  qglEdgeFlagPointer = dllEdgeFlagPointer = GPA( "glEdgeFlagPointer" );
3128  qglEdgeFlagv = dllEdgeFlagv = GPA( "glEdgeFlagv" );
3129  qglEnable = dllEnable = GPA( "glEnable" );
3130  qglEnableClientState = dllEnableClientState = GPA( "glEnableClientState" );
3131  qglEnd = dllEnd = GPA( "glEnd" );
3132  qglEndList = dllEndList = GPA( "glEndList" );
3133  qglEvalCoord1d = dllEvalCoord1d = GPA( "glEvalCoord1d" );
3134  qglEvalCoord1dv = dllEvalCoord1dv = GPA( "glEvalCoord1dv" );
3135  qglEvalCoord1f = dllEvalCoord1f = GPA( "glEvalCoord1f" );
3136  qglEvalCoord1fv = dllEvalCoord1fv = GPA( "glEvalCoord1fv" );
3137  qglEvalCoord2d = dllEvalCoord2d = GPA( "glEvalCoord2d" );
3138  qglEvalCoord2dv = dllEvalCoord2dv = GPA( "glEvalCoord2dv" );
3139  qglEvalCoord2f = dllEvalCoord2f = GPA( "glEvalCoord2f" );
3140  qglEvalCoord2fv = dllEvalCoord2fv = GPA( "glEvalCoord2fv" );
3141  qglEvalMesh1 = dllEvalMesh1 = GPA( "glEvalMesh1" );
3142  qglEvalMesh2 = dllEvalMesh2 = GPA( "glEvalMesh2" );
3143  qglEvalPoint1 = dllEvalPoint1 = GPA( "glEvalPoint1" );
3144  qglEvalPoint2 = dllEvalPoint2 = GPA( "glEvalPoint2" );
3145  qglFeedbackBuffer = dllFeedbackBuffer = GPA( "glFeedbackBuffer" );
3146  qglFinish = dllFinish = GPA( "glFinish" );
3147  qglFlush = dllFlush = GPA( "glFlush" );
3148  qglFogf = dllFogf = GPA( "glFogf" );
3149  qglFogfv = dllFogfv = GPA( "glFogfv" );
3150  qglFogi = dllFogi = GPA( "glFogi" );
3151  qglFogiv = dllFogiv = GPA( "glFogiv" );
3152  qglFrontFace = dllFrontFace = GPA( "glFrontFace" );
3153  qglFrustum = dllFrustum = GPA( "glFrustum" );
3154  qglGenLists = dllGenLists = GPA( "glGenLists" );
3155  qglGenTextures = dllGenTextures = GPA( "glGenTextures" );
3156  qglGetBooleanv = dllGetBooleanv = GPA( "glGetBooleanv" );
3157  qglGetClipPlane = dllGetClipPlane = GPA( "glGetClipPlane" );
3158  qglGetDoublev = dllGetDoublev = GPA( "glGetDoublev" );
3159  qglGetError = dllGetError = GPA( "glGetError" );
3160  qglGetFloatv = dllGetFloatv = GPA( "glGetFloatv" );
3161  qglGetIntegerv = dllGetIntegerv = GPA( "glGetIntegerv" );
3162  qglGetLightfv = dllGetLightfv = GPA( "glGetLightfv" );
3163  qglGetLightiv = dllGetLightiv = GPA( "glGetLightiv" );
3164  qglGetMapdv = dllGetMapdv = GPA( "glGetMapdv" );
3165  qglGetMapfv = dllGetMapfv = GPA( "glGetMapfv" );
3166  qglGetMapiv = dllGetMapiv = GPA( "glGetMapiv" );
3167  qglGetMaterialfv = dllGetMaterialfv = GPA( "glGetMaterialfv" );
3168  qglGetMaterialiv = dllGetMaterialiv = GPA( "glGetMaterialiv" );
3169  qglGetPixelMapfv = dllGetPixelMapfv = GPA( "glGetPixelMapfv" );
3170  qglGetPixelMapuiv = dllGetPixelMapuiv = GPA( "glGetPixelMapuiv" );
3171  qglGetPixelMapusv = dllGetPixelMapusv = GPA( "glGetPixelMapusv" );
3172  qglGetPointerv = dllGetPointerv = GPA( "glGetPointerv" );
3173  qglGetPolygonStipple = dllGetPolygonStipple = GPA( "glGetPolygonStipple" );
3174  qglGetString = dllGetString = GPA( "glGetString" );
3175  qglGetTexEnvfv = dllGetTexEnvfv = GPA( "glGetTexEnvfv" );
3176  qglGetTexEnviv = dllGetTexEnviv = GPA( "glGetTexEnviv" );
3177  qglGetTexGendv = dllGetTexGendv = GPA( "glGetTexGendv" );
3178  qglGetTexGenfv = dllGetTexGenfv = GPA( "glGetTexGenfv" );
3179  qglGetTexGeniv = dllGetTexGeniv = GPA( "glGetTexGeniv" );
3180  qglGetTexImage = dllGetTexImage = GPA( "glGetTexImage" );
3181  qglGetTexLevelParameterfv = dllGetTexLevelParameterfv = GPA( "glGetLevelParameterfv" );
3182  qglGetTexLevelParameteriv = dllGetTexLevelParameteriv = GPA( "glGetLevelParameteriv" );
3183  qglGetTexParameterfv = dllGetTexParameterfv = GPA( "glGetTexParameterfv" );
3184  qglGetTexParameteriv = dllGetTexParameteriv = GPA( "glGetTexParameteriv" );
3185  qglHint = dllHint = GPA( "glHint" );
3186  qglIndexMask = dllIndexMask = GPA( "glIndexMask" );
3187  qglIndexPointer = dllIndexPointer = GPA( "glIndexPointer" );
3188  qglIndexd = dllIndexd = GPA( "glIndexd" );
3189  qglIndexdv = dllIndexdv = GPA( "glIndexdv" );
3190  qglIndexf = dllIndexf = GPA( "glIndexf" );
3191  qglIndexfv = dllIndexfv = GPA( "glIndexfv" );
3192  qglIndexi = dllIndexi = GPA( "glIndexi" );
3193  qglIndexiv = dllIndexiv = GPA( "glIndexiv" );
3194  qglIndexs = dllIndexs = GPA( "glIndexs" );
3195  qglIndexsv = dllIndexsv = GPA( "glIndexsv" );
3196  qglIndexub = dllIndexub = GPA( "glIndexub" );
3197  qglIndexubv = dllIndexubv = GPA( "glIndexubv" );
3198  qglInitNames = dllInitNames = GPA( "glInitNames" );
3199  qglInterleavedArrays = dllInterleavedArrays = GPA( "glInterleavedArrays" );
3200  qglIsEnabled = dllIsEnabled = GPA( "glIsEnabled" );
3201  qglIsList = dllIsList = GPA( "glIsList" );
3202  qglIsTexture = dllIsTexture = GPA( "glIsTexture" );
3203  qglLightModelf = dllLightModelf = GPA( "glLightModelf" );
3204  qglLightModelfv = dllLightModelfv = GPA( "glLightModelfv" );
3205  qglLightModeli = dllLightModeli = GPA( "glLightModeli" );
3206  qglLightModeliv = dllLightModeliv = GPA( "glLightModeliv" );
3207  qglLightf = dllLightf = GPA( "glLightf" );
3208  qglLightfv = dllLightfv = GPA( "glLightfv" );
3209  qglLighti = dllLighti = GPA( "glLighti" );
3210  qglLightiv = dllLightiv = GPA( "glLightiv" );
3211  qglLineStipple = dllLineStipple = GPA( "glLineStipple" );
3212  qglLineWidth = dllLineWidth = GPA( "glLineWidth" );
3213  qglListBase = dllListBase = GPA( "glListBase" );
3214  qglLoadIdentity = dllLoadIdentity = GPA( "glLoadIdentity" );
3215  qglLoadMatrixd = dllLoadMatrixd = GPA( "glLoadMatrixd" );
3216  qglLoadMatrixf = dllLoadMatrixf = GPA( "glLoadMatrixf" );
3217  qglLoadName = dllLoadName = GPA( "glLoadName" );
3218  qglLogicOp = dllLogicOp = GPA( "glLogicOp" );
3219  qglMap1d = dllMap1d = GPA( "glMap1d" );
3220  qglMap1f = dllMap1f = GPA( "glMap1f" );
3221  qglMap2d = dllMap2d = GPA( "glMap2d" );
3222  qglMap2f = dllMap2f = GPA( "glMap2f" );
3223  qglMapGrid1d = dllMapGrid1d = GPA( "glMapGrid1d" );
3224  qglMapGrid1f = dllMapGrid1f = GPA( "glMapGrid1f" );
3225  qglMapGrid2d = dllMapGrid2d = GPA( "glMapGrid2d" );
3226  qglMapGrid2f = dllMapGrid2f = GPA( "glMapGrid2f" );
3227  qglMaterialf = dllMaterialf = GPA( "glMaterialf" );
3228  qglMaterialfv = dllMaterialfv = GPA( "glMaterialfv" );
3229  qglMateriali = dllMateriali = GPA( "glMateriali" );
3230  qglMaterialiv = dllMaterialiv = GPA( "glMaterialiv" );
3231  qglMatrixMode = dllMatrixMode = GPA( "glMatrixMode" );
3232  qglMultMatrixd = dllMultMatrixd = GPA( "glMultMatrixd" );
3233  qglMultMatrixf = dllMultMatrixf = GPA( "glMultMatrixf" );
3234  qglNewList = dllNewList = GPA( "glNewList" );
3235  qglNormal3b = dllNormal3b = GPA( "glNormal3b" );
3236  qglNormal3bv = dllNormal3bv = GPA( "glNormal3bv" );
3237  qglNormal3d = dllNormal3d = GPA( "glNormal3d" );
3238  qglNormal3dv = dllNormal3dv = GPA( "glNormal3dv" );
3239  qglNormal3f = dllNormal3f = GPA( "glNormal3f" );
3240  qglNormal3fv = dllNormal3fv = GPA( "glNormal3fv" );
3241  qglNormal3i = dllNormal3i = GPA( "glNormal3i" );
3242  qglNormal3iv = dllNormal3iv = GPA( "glNormal3iv" );
3243  qglNormal3s = dllNormal3s = GPA( "glNormal3s" );
3244  qglNormal3sv = dllNormal3sv = GPA( "glNormal3sv" );
3245  qglNormalPointer = dllNormalPointer = GPA( "glNormalPointer" );
3246  qglOrtho = dllOrtho = GPA( "glOrtho" );
3247  qglPassThrough = dllPassThrough = GPA( "glPassThrough" );
3248  qglPixelMapfv = dllPixelMapfv = GPA( "glPixelMapfv" );
3249  qglPixelMapuiv = dllPixelMapuiv = GPA( "glPixelMapuiv" );
3250  qglPixelMapusv = dllPixelMapusv = GPA( "glPixelMapusv" );
3251  qglPixelStoref = dllPixelStoref = GPA( "glPixelStoref" );
3252  qglPixelStorei = dllPixelStorei = GPA( "glPixelStorei" );
3253  qglPixelTransferf = dllPixelTransferf = GPA( "glPixelTransferf" );
3254  qglPixelTransferi = dllPixelTransferi = GPA( "glPixelTransferi" );
3255  qglPixelZoom = dllPixelZoom = GPA( "glPixelZoom" );
3256  qglPointSize = dllPointSize = GPA( "glPointSize" );
3257  qglPolygonMode = dllPolygonMode = GPA( "glPolygonMode" );
3258  qglPolygonOffset = dllPolygonOffset = GPA( "glPolygonOffset" );
3259  qglPolygonStipple = dllPolygonStipple = GPA( "glPolygonStipple" );
3260  qglPopAttrib = dllPopAttrib = GPA( "glPopAttrib" );
3261  qglPopClientAttrib = dllPopClientAttrib = GPA( "glPopClientAttrib" );
3262  qglPopMatrix = dllPopMatrix = GPA( "glPopMatrix" );
3263  qglPopName = dllPopName = GPA( "glPopName" );
3264  qglPrioritizeTextures = dllPrioritizeTextures = GPA( "glPrioritizeTextures" );
3265  qglPushAttrib = dllPushAttrib = GPA( "glPushAttrib" );
3266  qglPushClientAttrib = dllPushClientAttrib = GPA( "glPushClientAttrib" );
3267  qglPushMatrix = dllPushMatrix = GPA( "glPushMatrix" );
3268  qglPushName = dllPushName = GPA( "glPushName" );
3269  qglRasterPos2d = dllRasterPos2d = GPA( "glRasterPos2d" );
3270  qglRasterPos2dv = dllRasterPos2dv = GPA( "glRasterPos2dv" );
3271  qglRasterPos2f = dllRasterPos2f = GPA( "glRasterPos2f" );
3272  qglRasterPos2fv = dllRasterPos2fv = GPA( "glRasterPos2fv" );
3273  qglRasterPos2i = dllRasterPos2i = GPA( "glRasterPos2i" );
3274  qglRasterPos2iv = dllRasterPos2iv = GPA( "glRasterPos2iv" );
3275  qglRasterPos2s = dllRasterPos2s = GPA( "glRasterPos2s" );
3276  qglRasterPos2sv = dllRasterPos2sv = GPA( "glRasterPos2sv" );
3277  qglRasterPos3d = dllRasterPos3d = GPA( "glRasterPos3d" );
3278  qglRasterPos3dv = dllRasterPos3dv = GPA( "glRasterPos3dv" );
3279  qglRasterPos3f = dllRasterPos3f = GPA( "glRasterPos3f" );
3280  qglRasterPos3fv = dllRasterPos3fv = GPA( "glRasterPos3fv" );
3281  qglRasterPos3i = dllRasterPos3i = GPA( "glRasterPos3i" );
3282  qglRasterPos3iv = dllRasterPos3iv = GPA( "glRasterPos3iv" );
3283  qglRasterPos3s = dllRasterPos3s = GPA( "glRasterPos3s" );
3284  qglRasterPos3sv = dllRasterPos3sv = GPA( "glRasterPos3sv" );
3285  qglRasterPos4d = dllRasterPos4d = GPA( "glRasterPos4d" );
3286  qglRasterPos4dv = dllRasterPos4dv = GPA( "glRasterPos4dv" );
3287  qglRasterPos4f = dllRasterPos4f = GPA( "glRasterPos4f" );
3288  qglRasterPos4fv = dllRasterPos4fv = GPA( "glRasterPos4fv" );
3289  qglRasterPos4i = dllRasterPos4i = GPA( "glRasterPos4i" );
3290  qglRasterPos4iv = dllRasterPos4iv = GPA( "glRasterPos4iv" );
3291  qglRasterPos4s = dllRasterPos4s = GPA( "glRasterPos4s" );
3292  qglRasterPos4sv = dllRasterPos4sv = GPA( "glRasterPos4sv" );
3293  qglReadBuffer = dllReadBuffer = GPA( "glReadBuffer" );
3294  qglReadPixels = dllReadPixels = GPA( "glReadPixels" );
3295  qglRectd = dllRectd = GPA( "glRectd" );
3296  qglRectdv = dllRectdv = GPA( "glRectdv" );
3297  qglRectf = dllRectf = GPA( "glRectf" );
3298  qglRectfv = dllRectfv = GPA( "glRectfv" );
3299  qglRecti = dllRecti = GPA( "glRecti" );
3300  qglRectiv = dllRectiv = GPA( "glRectiv" );
3301  qglRects = dllRects = GPA( "glRects" );
3302  qglRectsv = dllRectsv = GPA( "glRectsv" );
3303  qglRenderMode = dllRenderMode = GPA( "glRenderMode" );
3304  qglRotated = dllRotated = GPA( "glRotated" );
3305  qglRotatef = dllRotatef = GPA( "glRotatef" );
3306  qglScaled = dllScaled = GPA( "glScaled" );
3307  qglScalef = dllScalef = GPA( "glScalef" );
3308  qglScissor = dllScissor = GPA( "glScissor" );
3309  qglSelectBuffer = dllSelectBuffer = GPA( "glSelectBuffer" );
3310  qglShadeModel = dllShadeModel = GPA( "glShadeModel" );
3311  qglStencilFunc = dllStencilFunc = GPA( "glStencilFunc" );
3312  qglStencilMask = dllStencilMask = GPA( "glStencilMask" );
3313  qglStencilOp = dllStencilOp = GPA( "glStencilOp" );
3314  qglTexCoord1d = dllTexCoord1d = GPA( "glTexCoord1d" );
3315  qglTexCoord1dv = dllTexCoord1dv = GPA( "glTexCoord1dv" );
3316  qglTexCoord1f = dllTexCoord1f = GPA( "glTexCoord1f" );
3317  qglTexCoord1fv = dllTexCoord1fv = GPA( "glTexCoord1fv" );
3318  qglTexCoord1i = dllTexCoord1i = GPA( "glTexCoord1i" );
3319  qglTexCoord1iv = dllTexCoord1iv = GPA( "glTexCoord1iv" );
3320  qglTexCoord1s = dllTexCoord1s = GPA( "glTexCoord1s" );
3321  qglTexCoord1sv = dllTexCoord1sv = GPA( "glTexCoord1sv" );
3322  qglTexCoord2d = dllTexCoord2d = GPA( "glTexCoord2d" );
3323  qglTexCoord2dv = dllTexCoord2dv = GPA( "glTexCoord2dv" );
3324  qglTexCoord2f = dllTexCoord2f = GPA( "glTexCoord2f" );
3325  qglTexCoord2fv = dllTexCoord2fv = GPA( "glTexCoord2fv" );
3326  qglTexCoord2i = dllTexCoord2i = GPA( "glTexCoord2i" );
3327  qglTexCoord2iv = dllTexCoord2iv = GPA( "glTexCoord2iv" );
3328  qglTexCoord2s = dllTexCoord2s = GPA( "glTexCoord2s" );
3329  qglTexCoord2sv = dllTexCoord2sv = GPA( "glTexCoord2sv" );
3330  qglTexCoord3d = dllTexCoord3d = GPA( "glTexCoord3d" );
3331  qglTexCoord3dv = dllTexCoord3dv = GPA( "glTexCoord3dv" );
3332  qglTexCoord3f = dllTexCoord3f = GPA( "glTexCoord3f" );
3333  qglTexCoord3fv = dllTexCoord3fv = GPA( "glTexCoord3fv" );
3334  qglTexCoord3i = dllTexCoord3i = GPA( "glTexCoord3i" );
3335  qglTexCoord3iv = dllTexCoord3iv = GPA( "glTexCoord3iv" );
3336  qglTexCoord3s = dllTexCoord3s = GPA( "glTexCoord3s" );
3337  qglTexCoord3sv = dllTexCoord3sv = GPA( "glTexCoord3sv" );
3338  qglTexCoord4d = dllTexCoord4d = GPA( "glTexCoord4d" );
3339  qglTexCoord4dv = dllTexCoord4dv = GPA( "glTexCoord4dv" );
3340  qglTexCoord4f = dllTexCoord4f = GPA( "glTexCoord4f" );
3341  qglTexCoord4fv = dllTexCoord4fv = GPA( "glTexCoord4fv" );
3342  qglTexCoord4i = dllTexCoord4i = GPA( "glTexCoord4i" );
3343  qglTexCoord4iv = dllTexCoord4iv = GPA( "glTexCoord4iv" );
3344  qglTexCoord4s = dllTexCoord4s = GPA( "glTexCoord4s" );
3345  qglTexCoord4sv = dllTexCoord4sv = GPA( "glTexCoord4sv" );
3346  qglTexCoordPointer = dllTexCoordPointer = GPA( "glTexCoordPointer" );
3347  qglTexEnvf = dllTexEnvf = GPA( "glTexEnvf" );
3348  qglTexEnvfv = dllTexEnvfv = GPA( "glTexEnvfv" );
3349  qglTexEnvi = dllTexEnvi = GPA( "glTexEnvi" );
3350  qglTexEnviv = dllTexEnviv = GPA( "glTexEnviv" );
3351  qglTexGend = dllTexGend = GPA( "glTexGend" );
3352  qglTexGendv = dllTexGendv = GPA( "glTexGendv" );
3353  qglTexGenf = dllTexGenf = GPA( "glTexGenf" );
3354  qglTexGenfv = dllTexGenfv = GPA( "glTexGenfv" );
3355  qglTexGeni = dllTexGeni = GPA( "glTexGeni" );
3356  qglTexGeniv = dllTexGeniv = GPA( "glTexGeniv" );
3357  qglTexImage1D = dllTexImage1D = GPA( "glTexImage1D" );
3358  qglTexImage2D = dllTexImage2D = GPA( "glTexImage2D" );
3359  qglTexParameterf = dllTexParameterf = GPA( "glTexParameterf" );
3360  qglTexParameterfv = dllTexParameterfv = GPA( "glTexParameterfv" );
3361  qglTexParameteri = dllTexParameteri = GPA( "glTexParameteri" );
3362  qglTexParameteriv = dllTexParameteriv = GPA( "glTexParameteriv" );
3363  qglTexSubImage1D = dllTexSubImage1D = GPA( "glTexSubImage1D" );
3364  qglTexSubImage2D = dllTexSubImage2D = GPA( "glTexSubImage2D" );
3365  qglTranslated = dllTranslated = GPA( "glTranslated" );
3366  qglTranslatef = dllTranslatef = GPA( "glTranslatef" );
3367  qglVertex2d = dllVertex2d = GPA( "glVertex2d" );
3368  qglVertex2dv = dllVertex2dv = GPA( "glVertex2dv" );
3369  qglVertex2f = dllVertex2f = GPA( "glVertex2f" );
3370  qglVertex2fv = dllVertex2fv = GPA( "glVertex2fv" );
3371  qglVertex2i = dllVertex2i = GPA( "glVertex2i" );
3372  qglVertex2iv = dllVertex2iv = GPA( "glVertex2iv" );
3373  qglVertex2s = dllVertex2s = GPA( "glVertex2s" );
3374  qglVertex2sv = dllVertex2sv = GPA( "glVertex2sv" );
3375  qglVertex3d = dllVertex3d = GPA( "glVertex3d" );
3376  qglVertex3dv = dllVertex3dv = GPA( "glVertex3dv" );
3377  qglVertex3f = dllVertex3f = GPA( "glVertex3f" );
3378  qglVertex3fv = dllVertex3fv = GPA( "glVertex3fv" );
3379  qglVertex3i = dllVertex3i = GPA( "glVertex3i" );
3380  qglVertex3iv = dllVertex3iv = GPA( "glVertex3iv" );
3381  qglVertex3s = dllVertex3s = GPA( "glVertex3s" );
3382  qglVertex3sv = dllVertex3sv = GPA( "glVertex3sv" );
3383  qglVertex4d = dllVertex4d = GPA( "glVertex4d" );
3384  qglVertex4dv = dllVertex4dv = GPA( "glVertex4dv" );
3385  qglVertex4f = dllVertex4f = GPA( "glVertex4f" );
3386  qglVertex4fv = dllVertex4fv = GPA( "glVertex4fv" );
3387  qglVertex4i = dllVertex4i = GPA( "glVertex4i" );
3388  qglVertex4iv = dllVertex4iv = GPA( "glVertex4iv" );
3389  qglVertex4s = dllVertex4s = GPA( "glVertex4s" );
3390  qglVertex4sv = dllVertex4sv = GPA( "glVertex4sv" );
3391  qglVertexPointer = dllVertexPointer = GPA( "glVertexPointer" );
3392  qglViewport = dllViewport = GPA( "glViewport" );
3393 
3394  qwglCopyContext = GPA( "wglCopyContext" );
3395  qwglCreateContext = GPA( "wglCreateContext" );
3396  qwglCreateLayerContext = GPA( "wglCreateLayerContext" );
3397  qwglDeleteContext = GPA( "wglDeleteContext" );
3398  qwglDescribeLayerPlane = GPA( "wglDescribeLayerPlane" );
3399  qwglGetCurrentContext = GPA( "wglGetCurrentContext" );
3400  qwglGetCurrentDC = GPA( "wglGetCurrentDC" );
3401  qwglGetLayerPaletteEntries = GPA( "wglGetLayerPaletteEntries" );
3402  qwglGetProcAddress = GPA( "wglGetProcAddress" );
3403  qwglMakeCurrent = GPA( "wglMakeCurrent" );
3404  qwglRealizeLayerPalette = GPA( "wglRealizeLayerPalette" );
3405  qwglSetLayerPaletteEntries = GPA( "wglSetLayerPaletteEntries" );
3406  qwglShareLists = GPA( "wglShareLists" );
3407  qwglSwapLayerBuffers = GPA( "wglSwapLayerBuffers" );
3408  qwglUseFontBitmaps = GPA( "wglUseFontBitmapsA" );
3409  qwglUseFontOutlines = GPA( "wglUseFontOutlinesA" );
3410 
3411  qwglChoosePixelFormat = GPA( "wglChoosePixelFormat" );
3412  qwglDescribePixelFormat = GPA( "wglDescribePixelFormat" );
3413  qwglGetPixelFormat = GPA( "wglGetPixelFormat" );
3414  qwglSetPixelFormat = GPA( "wglSetPixelFormat" );
3415  qwglSwapBuffers = GPA( "wglSwapBuffers" );
3416 
3417  qwglSwapIntervalEXT = 0;
3418  qglPointParameterfEXT = 0;
3419  qglPointParameterfvEXT = 0;
3420  qglColorTableEXT = 0;
3421  qglSelectTextureSGIS = 0;
3422  qglMTexCoord2fSGIS = 0;
3423 
3424  return true;
3425 }

Referenced by R_Init().

◆ QGL_Shutdown()

void QGL_Shutdown ( void  )

Definition at line 2643 of file qgl_win.c.

2644 {
2645  if ( glw_state.hinstOpenGL )
2646  {
2647  FreeLibrary( glw_state.hinstOpenGL );
2649  }
2650 
2652 
2653  qglAccum = NULL;
2654  qglAlphaFunc = NULL;
2655  qglAreTexturesResident = NULL;
2656  qglArrayElement = NULL;
2657  qglBegin = NULL;
2658  qglBindTexture = NULL;
2659  qglBitmap = NULL;
2660  qglBlendFunc = NULL;
2661  qglCallList = NULL;
2662  qglCallLists = NULL;
2663  qglClear = NULL;
2664  qglClearAccum = NULL;
2665  qglClearColor = NULL;
2666  qglClearDepth = NULL;
2667  qglClearIndex = NULL;
2668  qglClearStencil = NULL;
2669  qglClipPlane = NULL;
2670  qglColor3b = NULL;
2671  qglColor3bv = NULL;
2672  qglColor3d = NULL;
2673  qglColor3dv = NULL;
2674  qglColor3f = NULL;
2675  qglColor3fv = NULL;
2676  qglColor3i = NULL;
2677  qglColor3iv = NULL;
2678  qglColor3s = NULL;
2679  qglColor3sv = NULL;
2680  qglColor3ub = NULL;
2681  qglColor3ubv = NULL;
2682  qglColor3ui = NULL;
2683  qglColor3uiv = NULL;
2684  qglColor3us = NULL;
2685  qglColor3usv = NULL;
2686  qglColor4b = NULL;
2687  qglColor4bv = NULL;
2688  qglColor4d = NULL;
2689  qglColor4dv = NULL;
2690  qglColor4f = NULL;
2691  qglColor4fv = NULL;
2692  qglColor4i = NULL;
2693  qglColor4iv = NULL;
2694  qglColor4s = NULL;
2695  qglColor4sv = NULL;
2696  qglColor4ub = NULL;
2697  qglColor4ubv = NULL;
2698  qglColor4ui = NULL;
2699  qglColor4uiv = NULL;
2700  qglColor4us = NULL;
2701  qglColor4usv = NULL;
2702  qglColorMask = NULL;
2703  qglColorMaterial = NULL;
2704  qglColorPointer = NULL;
2705  qglCopyPixels = NULL;
2706  qglCopyTexImage1D = NULL;
2707  qglCopyTexImage2D = NULL;
2708  qglCopyTexSubImage1D = NULL;
2709  qglCopyTexSubImage2D = NULL;
2710  qglCullFace = NULL;
2711  qglDeleteLists = NULL;
2712  qglDeleteTextures = NULL;
2713  qglDepthFunc = NULL;
2714  qglDepthMask = NULL;
2715  qglDepthRange = NULL;
2716  qglDisable = NULL;
2717  qglDisableClientState = NULL;
2718  qglDrawArrays = NULL;
2719  qglDrawBuffer = NULL;
2720  qglDrawElements = NULL;
2721  qglDrawPixels = NULL;
2722  qglEdgeFlag = NULL;
2723  qglEdgeFlagPointer = NULL;
2724  qglEdgeFlagv = NULL;
2725  qglEnable = NULL;
2726  qglEnableClientState = NULL;
2727  qglEnd = NULL;
2728  qglEndList = NULL;
2729  qglEvalCoord1d = NULL;
2730  qglEvalCoord1dv = NULL;
2731  qglEvalCoord1f = NULL;
2732  qglEvalCoord1fv = NULL;
2733  qglEvalCoord2d = NULL;
2734  qglEvalCoord2dv = NULL;
2735  qglEvalCoord2f = NULL;
2736  qglEvalCoord2fv = NULL;
2737  qglEvalMesh1 = NULL;
2738  qglEvalMesh2 = NULL;
2739  qglEvalPoint1 = NULL;
2740  qglEvalPoint2 = NULL;
2741  qglFeedbackBuffer = NULL;
2742  qglFinish = NULL;
2743  qglFlush = NULL;
2744  qglFogf = NULL;
2745  qglFogfv = NULL;
2746  qglFogi = NULL;
2747  qglFogiv = NULL;
2748  qglFrontFace = NULL;
2749  qglFrustum = NULL;
2750  qglGenLists = NULL;
2751  qglGenTextures = NULL;
2752  qglGetBooleanv = NULL;
2753  qglGetClipPlane = NULL;
2754  qglGetDoublev = NULL;
2755  qglGetError = NULL;
2756  qglGetFloatv = NULL;
2757  qglGetIntegerv = NULL;
2758  qglGetLightfv = NULL;
2759  qglGetLightiv = NULL;
2760  qglGetMapdv = NULL;
2761  qglGetMapfv = NULL;
2762  qglGetMapiv = NULL;
2763  qglGetMaterialfv = NULL;
2764  qglGetMaterialiv = NULL;
2765  qglGetPixelMapfv = NULL;
2766  qglGetPixelMapuiv = NULL;
2767  qglGetPixelMapusv = NULL;
2768  qglGetPointerv = NULL;
2769  qglGetPolygonStipple = NULL;
2770  qglGetString = NULL;
2771  qglGetTexEnvfv = NULL;
2772  qglGetTexEnviv = NULL;
2773  qglGetTexGendv = NULL;
2774  qglGetTexGenfv = NULL;
2775  qglGetTexGeniv = NULL;
2776  qglGetTexImage = NULL;
2777  qglGetTexLevelParameterfv = NULL;
2778  qglGetTexLevelParameteriv = NULL;
2779  qglGetTexParameterfv = NULL;
2780  qglGetTexParameteriv = NULL;
2781  qglHint = NULL;
2782  qglIndexMask = NULL;
2783  qglIndexPointer = NULL;
2784  qglIndexd = NULL;
2785  qglIndexdv = NULL;
2786  qglIndexf = NULL;
2787  qglIndexfv = NULL;
2788  qglIndexi = NULL;
2789  qglIndexiv = NULL;
2790  qglIndexs = NULL;
2791  qglIndexsv = NULL;
2792  qglIndexub = NULL;
2793  qglIndexubv = NULL;
2794  qglInitNames = NULL;
2795  qglInterleavedArrays = NULL;
2796  qglIsEnabled = NULL;
2797  qglIsList = NULL;
2798  qglIsTexture = NULL;
2799  qglLightModelf = NULL;
2800  qglLightModelfv = NULL;
2801  qglLightModeli = NULL;
2802  qglLightModeliv = NULL;
2803  qglLightf = NULL;
2804  qglLightfv = NULL;
2805  qglLighti = NULL;
2806  qglLightiv = NULL;
2807  qglLineStipple = NULL;
2808  qglLineWidth = NULL;
2809  qglListBase = NULL;
2810  qglLoadIdentity = NULL;
2811  qglLoadMatrixd = NULL;
2812  qglLoadMatrixf = NULL;
2813  qglLoadName = NULL;
2814  qglLogicOp = NULL;
2815  qglMap1d = NULL;
2816  qglMap1f = NULL;
2817  qglMap2d = NULL;
2818  qglMap2f = NULL;
2819  qglMapGrid1d = NULL;
2820  qglMapGrid1f = NULL;
2821  qglMapGrid2d = NULL;
2822  qglMapGrid2f = NULL;
2823  qglMaterialf = NULL;
2824  qglMaterialfv = NULL;
2825  qglMateriali = NULL;
2826  qglMaterialiv = NULL;
2827  qglMatrixMode = NULL;
2828  qglMultMatrixd = NULL;
2829  qglMultMatrixf = NULL;
2830  qglNewList = NULL;
2831  qglNormal3b = NULL;
2832  qglNormal3bv = NULL;
2833  qglNormal3d = NULL;
2834  qglNormal3dv = NULL;
2835  qglNormal3f = NULL;
2836  qglNormal3fv = NULL;
2837  qglNormal3i = NULL;
2838  qglNormal3iv = NULL;
2839  qglNormal3s = NULL;
2840  qglNormal3sv = NULL;
2841  qglNormalPointer = NULL;
2842  qglOrtho = NULL;
2843  qglPassThrough = NULL;
2844  qglPixelMapfv = NULL;
2845  qglPixelMapuiv = NULL;
2846  qglPixelMapusv = NULL;
2847  qglPixelStoref = NULL;
2848  qglPixelStorei = NULL;
2849  qglPixelTransferf = NULL;
2850  qglPixelTransferi = NULL;
2851  qglPixelZoom = NULL;
2852  qglPointSize = NULL;
2853  qglPolygonMode = NULL;
2854  qglPolygonOffset = NULL;
2855  qglPolygonStipple = NULL;
2856  qglPopAttrib = NULL;
2857  qglPopClientAttrib = NULL;
2858  qglPopMatrix = NULL;
2859  qglPopName = NULL;
2860  qglPrioritizeTextures = NULL;
2861  qglPushAttrib = NULL;
2862  qglPushClientAttrib = NULL;
2863  qglPushMatrix = NULL;
2864  qglPushName = NULL;
2865  qglRasterPos2d = NULL;
2866  qglRasterPos2dv = NULL;
2867  qglRasterPos2f = NULL;
2868  qglRasterPos2fv = NULL;
2869  qglRasterPos2i = NULL;
2870  qglRasterPos2iv = NULL;
2871  qglRasterPos2s = NULL;
2872  qglRasterPos2sv = NULL;
2873  qglRasterPos3d = NULL;
2874  qglRasterPos3dv = NULL;
2875  qglRasterPos3f = NULL;
2876  qglRasterPos3fv = NULL;
2877  qglRasterPos3i = NULL;
2878  qglRasterPos3iv = NULL;
2879  qglRasterPos3s = NULL;
2880  qglRasterPos3sv = NULL;
2881  qglRasterPos4d = NULL;
2882  qglRasterPos4dv = NULL;
2883  qglRasterPos4f = NULL;
2884  qglRasterPos4fv = NULL;
2885  qglRasterPos4i = NULL;
2886  qglRasterPos4iv = NULL;
2887  qglRasterPos4s = NULL;
2888  qglRasterPos4sv = NULL;
2889  qglReadBuffer = NULL;
2890  qglReadPixels = NULL;
2891  qglRectd = NULL;
2892  qglRectdv = NULL;
2893  qglRectf = NULL;
2894  qglRectfv = NULL;
2895  qglRecti = NULL;
2896  qglRectiv = NULL;
2897  qglRects = NULL;
2898  qglRectsv = NULL;
2899  qglRenderMode = NULL;
2900  qglRotated = NULL;
2901  qglRotatef = NULL;
2902  qglScaled = NULL;
2903  qglScalef = NULL;
2904  qglScissor = NULL;
2905  qglSelectBuffer = NULL;
2906  qglShadeModel = NULL;
2907  qglStencilFunc = NULL;
2908  qglStencilMask = NULL;
2909  qglStencilOp = NULL;
2910  qglTexCoord1d = NULL;
2911  qglTexCoord1dv = NULL;
2912  qglTexCoord1f = NULL;
2913  qglTexCoord1fv = NULL;
2914  qglTexCoord1i = NULL;
2915  qglTexCoord1iv = NULL;
2916  qglTexCoord1s = NULL;
2917  qglTexCoord1sv = NULL;
2918  qglTexCoord2d = NULL;
2919  qglTexCoord2dv = NULL;
2920  qglTexCoord2f = NULL;
2921  qglTexCoord2fv = NULL;
2922  qglTexCoord2i = NULL;
2923  qglTexCoord2iv = NULL;
2924  qglTexCoord2s = NULL;
2925  qglTexCoord2sv = NULL;
2926  qglTexCoord3d = NULL;
2927  qglTexCoord3dv = NULL;
2928  qglTexCoord3f = NULL;
2929  qglTexCoord3fv = NULL;
2930  qglTexCoord3i = NULL;
2931  qglTexCoord3iv = NULL;
2932  qglTexCoord3s = NULL;
2933  qglTexCoord3sv = NULL;
2934  qglTexCoord4d = NULL;
2935  qglTexCoord4dv = NULL;
2936  qglTexCoord4f = NULL;
2937  qglTexCoord4fv = NULL;
2938  qglTexCoord4i = NULL;
2939  qglTexCoord4iv = NULL;
2940  qglTexCoord4s = NULL;
2941  qglTexCoord4sv = NULL;
2942  qglTexCoordPointer = NULL;
2943  qglTexEnvf = NULL;
2944  qglTexEnvfv = NULL;
2945  qglTexEnvi = NULL;
2946  qglTexEnviv = NULL;
2947  qglTexGend = NULL;
2948  qglTexGendv = NULL;
2949  qglTexGenf = NULL;
2950  qglTexGenfv = NULL;
2951  qglTexGeni = NULL;
2952  qglTexGeniv = NULL;
2953  qglTexImage1D = NULL;
2954  qglTexImage2D = NULL;
2955  qglTexParameterf = NULL;
2956  qglTexParameterfv = NULL;
2957  qglTexParameteri = NULL;
2958  qglTexParameteriv = NULL;
2959  qglTexSubImage1D = NULL;
2960  qglTexSubImage2D = NULL;
2961  qglTranslated = NULL;
2962  qglTranslatef = NULL;
2963  qglVertex2d = NULL;
2964  qglVertex2dv = NULL;
2965  qglVertex2f = NULL;
2966  qglVertex2fv = NULL;
2967  qglVertex2i = NULL;
2968  qglVertex2iv = NULL;
2969  qglVertex2s = NULL;
2970  qglVertex2sv = NULL;
2971  qglVertex3d = NULL;
2972  qglVertex3dv = NULL;
2973  qglVertex3f = NULL;
2974  qglVertex3fv = NULL;
2975  qglVertex3i = NULL;
2976  qglVertex3iv = NULL;
2977  qglVertex3s = NULL;
2978  qglVertex3sv = NULL;
2979  qglVertex4d = NULL;
2980  qglVertex4dv = NULL;
2981  qglVertex4f = NULL;
2982  qglVertex4fv = NULL;
2983  qglVertex4i = NULL;
2984  qglVertex4iv = NULL;
2985  qglVertex4s = NULL;
2986  qglVertex4sv = NULL;
2987  qglVertexPointer = NULL;
2988  qglViewport = NULL;
2989 
2990  qwglCopyContext = NULL;
2991  qwglCreateContext = NULL;
2992  qwglCreateLayerContext = NULL;
2993  qwglDeleteContext = NULL;
2994  qwglDescribeLayerPlane = NULL;
2995  qwglGetCurrentContext = NULL;
2996  qwglGetCurrentDC = NULL;
2997  qwglGetLayerPaletteEntries = NULL;
2998  qwglGetProcAddress = NULL;
2999  qwglMakeCurrent = NULL;
3000  qwglRealizeLayerPalette = NULL;
3001  qwglSetLayerPaletteEntries = NULL;
3002  qwglShareLists = NULL;
3003  qwglSwapLayerBuffers = NULL;
3004  qwglUseFontBitmaps = NULL;
3005  qwglUseFontOutlines = NULL;
3006 
3007  qwglChoosePixelFormat = NULL;
3008  qwglDescribePixelFormat = NULL;
3009  qwglGetPixelFormat = NULL;
3010  qwglSetPixelFormat = NULL;
3011  qwglSwapBuffers = NULL;
3012 
3013  qwglSwapIntervalEXT = NULL;
3014 
3015  qwglGetDeviceGammaRampEXT = NULL;
3016  qwglSetDeviceGammaRampEXT = NULL;
3017 }

Referenced by R_Init(), and R_Shutdown().

◆ qglGetString()

const GLubyte* APIENTRY* qglGetString ( GLenum  name)

◆ void()

void ( APIENTRY qglAccum)

Variable Documentation

◆ alpha

Definition at line 56 of file qgl.h.

◆ bitmap

GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte* bitmap

Definition at line 51 of file qgl.h.

◆ blue

Definition at line 56 of file qgl.h.

◆ BOOL

CONST COLORREF COLORREF BOOL

Definition at line 423 of file qgl.h.

◆ border

Definition at line 98 of file qgl.h.

◆ bottom

GLdouble GLdouble bottom

Definition at line 141 of file qgl.h.

◆ buffer

GLuint* buffer

Definition at line 133 of file qgl.h.

◆ count

GLsizei count

Definition at line 110 of file qgl.h.

◆ dfactor

GLenum dfactor

Definition at line 52 of file qgl.h.

◆ DWORD

DWORD

Definition at line 412 of file qgl.h.

◆ equation

GLdouble* equation

Definition at line 61 of file qgl.h.

◆ first

GLint first

Definition at line 110 of file qgl.h.

◆ FLOAT

FLOAT

Definition at line 414 of file qgl.h.

◆ format

Definition at line 113 of file qgl.h.

◆ gl_texture0

◆ gl_texture1

int gl_texture1

Definition at line 484 of file qgl.h.

◆ GLenum

GLenum

Definition at line 384 of file qgl.h.

◆ GLfloat

GLfloat

Definition at line 389 of file qgl.h.

◆ GLsizei

GLsizei

Definition at line 384 of file qgl.h.

◆ green

GLboolean green

Definition at line 56 of file qgl.h.

◆ height

Definition at line 51 of file qgl.h.

◆ HGLRC

HGLRC

Definition at line 403 of file qgl.h.

◆ i1

GLint i1

Definition at line 129 of file qgl.h.

◆ i2

Definition at line 129 of file qgl.h.

◆ indices

GLsizei GLenum const GLvoid* indices

Definition at line 112 of file qgl.h.

◆ int

CONST COLORREF COLORREF int

Definition at line 386 of file qgl.h.

◆ internalFormat

GLint GLenum internalFormat

Definition at line 98 of file qgl.h.

◆ internalformat

GLint GLint internalformat

Definition at line 345 of file qgl.h.

◆ j

GLint j

Definition at line 132 of file qgl.h.

◆ j1

Definition at line 130 of file qgl.h.

◆ j2

Definition at line 130 of file qgl.h.

◆ level

GLint level

Definition at line 98 of file qgl.h.

◆ lists

GLenum const GLvoid* lists

Definition at line 54 of file qgl.h.

◆ LPGLYPHMETRICSFLOAT

LPGLYPHMETRICSFLOAT

Definition at line 415 of file qgl.h.

◆ LPLAYERPLANEDESCRIPTOR

LPLAYERPLANEDESCRIPTOR

Definition at line 418 of file qgl.h.

◆ LPPIXELFORMATDESCRIPTOR

CONST PIXELFORMATDESCRIPTOR LPPIXELFORMATDESCRIPTOR

Definition at line 398 of file qgl.h.

◆ mapsize

GLsizei mapsize

Definition at line 236 of file qgl.h.

◆ mask

GLint GLuint mask

Definition at line 299 of file qgl.h.

◆ mode

GLenum mode

Definition at line 95 of file qgl.h.

◆ ny

GLshort ny

Definition at line 223 of file qgl.h.

◆ nz

GLshort GLshort nz

Definition at line 223 of file qgl.h.

◆ order

Definition at line 207 of file qgl.h.

◆ param

GLenum GLint param

Definition at line 136 of file qgl.h.

◆ params

GLenum const GLint* params

Definition at line 137 of file qgl.h.

◆ pattern

GLushort pattern

Definition at line 199 of file qgl.h.

◆ pBlue

const unsigned char const unsigned char * pBlue

Definition at line 428 of file qgl.h.

◆ pGreen

const unsigned char * pGreen

Definition at line 428 of file qgl.h.

◆ pixels

GLint GLint GLint GLsizei GLsizei GLenum GLenum const GLvoid* pixels

Definition at line 113 of file qgl.h.

◆ pname

GLenum pname

Definition at line 150 of file qgl.h.

◆ pointer

GLenum GLsizei const GLvoid* pointer

Definition at line 96 of file qgl.h.

◆ points

Definition at line 207 of file qgl.h.

◆ priorities

const GLuint const GLclampf* priorities

Definition at line 252 of file qgl.h.

◆ q

GLshort GLshort GLshort q

Definition at line 326 of file qgl.h.

◆ query

GLenum query

Definition at line 152 of file qgl.h.

◆ r

GLshort GLshort r

Definition at line 318 of file qgl.h.

◆ range

GLsizei range

Definition at line 103 of file qgl.h.

◆ ref

GLint ref

Definition at line 46 of file qgl.h.

◆ residences

const GLuint GLboolean* residences

Definition at line 47 of file qgl.h.

◆ right

GLdouble right

Definition at line 141 of file qgl.h.

◆ stride

GLenum GLsizei stride

Definition at line 96 of file qgl.h.

◆ t

GLshort t

Definition at line 310 of file qgl.h.

◆ texture

GLuint texture

Definition at line 50 of file qgl.h.

◆ textures

const GLuint* textures

Definition at line 47 of file qgl.h.

◆ top

GLdouble GLdouble GLdouble top

Definition at line 141 of file qgl.h.

◆ type

GLenum type

Definition at line 54 of file qgl.h.

◆ u1

GLfloat u1

Definition at line 207 of file qgl.h.

◆ u2

Definition at line 207 of file qgl.h.

◆ UINT

UINT

Definition at line 398 of file qgl.h.

◆ units

GLfloat units

Definition at line 246 of file qgl.h.

◆ uorder

Definition at line 209 of file qgl.h.

◆ ustride

Definition at line 209 of file qgl.h.

◆ v

Definition at line 125 of file qgl.h.

◆ v1

Definition at line 209 of file qgl.h.

◆ v2

const GLshort* v2

Definition at line 209 of file qgl.h.

◆ value

const GLfloat* value

Definition at line 45 of file qgl.h.

◆ values

GLsizei const GLushort* values

Definition at line 157 of file qgl.h.

◆ vn

Definition at line 213 of file qgl.h.

◆ vorder

Definition at line 209 of file qgl.h.

◆ vstride

Definition at line 209 of file qgl.h.

◆ w

GLshort GLshort GLshort w

Definition at line 273 of file qgl.h.

◆ width

GLint GLsizei width

Definition at line 97 of file qgl.h.

◆ x

Definition at line 98 of file qgl.h.

◆ x2

GLshort GLshort x2

Definition at line 283 of file qgl.h.

◆ xmove

Definition at line 51 of file qgl.h.

◆ xoffset

GLint GLint xoffset

Definition at line 100 of file qgl.h.

◆ xorig

Definition at line 51 of file qgl.h.

◆ y

GLint y

Definition at line 97 of file qgl.h.

◆ y1

GLshort y1

Definition at line 283 of file qgl.h.

◆ y2

GLshort GLshort GLshort y2

Definition at line 283 of file qgl.h.

◆ yfactor

GLfloat yfactor

Definition at line 243 of file qgl.h.

◆ ymove

Definition at line 51 of file qgl.h.

◆ yoffset

GLint GLint GLint yoffset

Definition at line 101 of file qgl.h.

◆ yorig

Definition at line 51 of file qgl.h.

◆ z

GLshort GLshort z

Definition at line 265 of file qgl.h.

◆ zfail

GLenum zfail

Definition at line 301 of file qgl.h.

◆ zFar

GLdouble GLdouble GLdouble GLdouble GLdouble zFar

Definition at line 107 of file qgl.h.

◆ zNear

GLdouble GLdouble GLdouble GLdouble zNear

Definition at line 141 of file qgl.h.

◆ zpass

GLenum GLenum zpass

Definition at line 301 of file qgl.h.

glw_state
glwstate_t glw_state
Definition: glw_imp.c:42
ri
refimport_t ri
Definition: r_main.c:25
dllGetString
const GLubyte *APIENTRY * dllGetString(GLenum name)
qglGetString
const GLubyte *APIENTRY * qglGetString(GLenum name)
GPA
#define GPA(a)
Definition: qgl_win.c:3020
refimport_t::Con_Printf
void(* Con_Printf)(int print_level, char *str,...)
Definition: ref.h:202
PRINT_ALL
#define PRINT_ALL
Definition: qcommon.h:751
cvar_s::value
float value
Definition: q_shared.h:331
NULL
#define NULL
Definition: q_shared.h:67
vid_gamma
cvar_t * vid_gamma
Definition: vid_dll.c:43
gl_config
glconfig_t gl_config
Definition: gl_rmain.c:41
glconfig_t::allow_cds
qboolean allow_cds
Definition: gl_local.h:404
glwstate_t::hinstOpenGL
HINSTANCE hinstOpenGL
Definition: glw_win.h:37
Com_sprintf
void Com_sprintf(char *dest, int size, char *fmt,...)
Definition: q_shared.c:1223