[MetaHook] Quake OpenGL function

时间:2021-09-01 09:12:47

Quake OpenGL function for MetaHook plugin.

Thank hzqst :D

QGL.h

 #ifndef QGL_H
#define QGL_H #include <gl/gl.h>
#include <gl/glext.h> extern void (APIENTRY *qglAccum)(GLenum op, GLfloat value);
extern void (APIENTRY *qglAlphaFunc)(GLenum func, GLclampf ref);
extern GLboolean (APIENTRY *qglAreTexturesResident)(GLsizei n, const GLuint *textures, GLboolean *residences);
extern void (APIENTRY *qglArrayElement)(GLint i);
extern void (APIENTRY *qglBegin)(GLenum mode);
extern void (APIENTRY *qglBindTexture)(GLenum target, GLuint texture);
extern void (APIENTRY *qglBitmap)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
extern void (APIENTRY *qglBlendFunc)(GLenum sfactor, GLenum dfactor);
extern void (APIENTRY *qglCallList)(GLuint list);
extern void (APIENTRY *qglCallLists)(GLsizei n, GLenum type, const GLvoid *lists);
extern void (APIENTRY *qglClear)(GLbitfield mask);
extern void (APIENTRY *qglClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
extern void (APIENTRY *qglClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
extern void (APIENTRY *qglClearDepth)(GLclampd depth);
extern void (APIENTRY *qglClearIndex)(GLfloat c);
extern void (APIENTRY *qglClearStencil)(GLint s);
extern void (APIENTRY *qglClipPlane)(GLenum plane, const GLdouble *equation);
extern void (APIENTRY *qglColor3b)(GLbyte red, GLbyte green, GLbyte blue);
extern void (APIENTRY *qglColor3bv)(const GLbyte *v);
extern void (APIENTRY *qglColor3d)(GLdouble red, GLdouble green, GLdouble blue);
extern void (APIENTRY *qglColor3dv)(const GLdouble *v);
extern void (APIENTRY *qglColor3f)(GLfloat red, GLfloat green, GLfloat blue);
extern void (APIENTRY *qglColor3fv)(const GLfloat *v);
extern void (APIENTRY *qglColor3i)(GLint red, GLint green, GLint blue);
extern void (APIENTRY *qglColor3iv)(const GLint *v);
extern void (APIENTRY *qglColor3s)(GLshort red, GLshort green, GLshort blue);
extern void (APIENTRY *qglColor3sv)(const GLshort *v);
extern void (APIENTRY *qglColor3ub)(GLubyte red, GLubyte green, GLubyte blue);
extern void (APIENTRY *qglColor3ubv)(const GLubyte *v);
extern void (APIENTRY *qglColor3ui)(GLuint red, GLuint green, GLuint blue);
extern void (APIENTRY *qglColor3uiv)(const GLuint *v);
extern void (APIENTRY *qglColor3us)(GLushort red, GLushort green, GLushort blue);
extern void (APIENTRY *qglColor3usv)(const GLushort *v);
extern void (APIENTRY *qglColor4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
extern void (APIENTRY *qglColor4bv)(const GLbyte *v);
extern void (APIENTRY *qglColor4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
extern void (APIENTRY *qglColor4dv)(const GLdouble *v);
extern void (APIENTRY *qglColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
extern void (APIENTRY *qglColor4fv)(const GLfloat *v);
extern void (APIENTRY *qglColor4i)(GLint red, GLint green, GLint blue, GLint alpha);
extern void (APIENTRY *qglColor4iv)(const GLint *v);
extern void (APIENTRY *qglColor4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha);
extern void (APIENTRY *qglColor4sv)(const GLshort *v);
extern void (APIENTRY *qglColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
extern void (APIENTRY *qglColor4ubv)(const GLubyte *v);
extern void (APIENTRY *qglColor4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha);
extern void (APIENTRY *qglColor4uiv)(const GLuint *v);
extern void (APIENTRY *qglColor4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha);
extern void (APIENTRY *qglColor4usv)(const GLushort *v);
extern void (APIENTRY *qglColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
extern void (APIENTRY *qglColorMaterial)(GLenum face, GLenum mode);
extern void (APIENTRY *qglColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
extern void (APIENTRY *qglCopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
extern void (APIENTRY *qglCopyTexImage1D)(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
extern void (APIENTRY *qglCopyTexImage2D)(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
extern void (APIENTRY *qglCopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
extern void (APIENTRY *qglCopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
extern void (APIENTRY *qglCullFace)(GLenum mode);
extern void (APIENTRY *qglDeleteLists)(GLuint list, GLsizei range);
extern void (APIENTRY *qglDeleteTextures)(GLsizei n, const GLuint *textures);
extern void (APIENTRY *qglDepthFunc)(GLenum func);
extern void (APIENTRY *qglDepthMask)(GLboolean flag);
extern void (APIENTRY *qglDepthRange)(GLclampd zNear, GLclampd zFar);
extern void (APIENTRY *qglDisable)(GLenum cap);
extern void (APIENTRY *qglDisableClientState)(GLenum array);
extern void (APIENTRY *qglDrawArrays)(GLenum mode, GLint first, GLsizei count);
extern void (APIENTRY *qglDrawBuffer)(GLenum mode);
extern void (APIENTRY *qglDrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
extern void (APIENTRY *qglDrawPixels)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
extern void (APIENTRY *qglEdgeFlag)(GLboolean flag);
extern void (APIENTRY *qglEdgeFlagPointer)(GLsizei stride, const GLvoid *pointer);
extern void (APIENTRY *qglEdgeFlagv)(const GLboolean *flag);
extern void (APIENTRY *qglEnable)(GLenum cap);
extern void (APIENTRY *qglEnableClientState)(GLenum array);
extern void (APIENTRY *qglEnd)(void);
extern void (APIENTRY *qglEndList)(void);
extern void (APIENTRY *qglEvalCoord1d)(GLdouble u);
extern void (APIENTRY *qglEvalCoord1dv)(const GLdouble *u);
extern void (APIENTRY *qglEvalCoord1f)(GLfloat u);
extern void (APIENTRY *qglEvalCoord1fv)(const GLfloat *u);
extern void (APIENTRY *qglEvalCoord2d)(GLdouble u, GLdouble v);
extern void (APIENTRY *qglEvalCoord2dv)(const GLdouble *u);
extern void (APIENTRY *qglEvalCoord2f)(GLfloat u, GLfloat v);
extern void (APIENTRY *qglEvalCoord2fv)(const GLfloat *u);
extern void (APIENTRY *qglEvalMesh1)(GLenum mode, GLint i1, GLint i2);
extern void (APIENTRY *qglEvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
extern void (APIENTRY *qglEvalPoint1)(GLint i);
extern void (APIENTRY *qglEvalPoint2)(GLint i, GLint j);
extern void (APIENTRY *qglFeedbackBuffer)(GLsizei size, GLenum type, GLfloat *buffer);
extern void (APIENTRY *qglFinish)(void);
extern void (APIENTRY *qglFlush)(void);
extern void (APIENTRY *qglFogf)(GLenum pname, GLfloat param);
extern void (APIENTRY *qglFogfv)(GLenum pname, const GLfloat *params);
extern void (APIENTRY *qglFogi)(GLenum pname, GLint param);
extern void (APIENTRY *qglFogiv)(GLenum pname, const GLint *params);
extern void (APIENTRY *qglFrontFace)(GLenum mode);
extern void (APIENTRY *qglFrustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
extern GLuint (APIENTRY *qglGenLists)(GLsizei range);
extern void (APIENTRY *qglGenTextures)(GLsizei n, GLuint *textures);
extern void (APIENTRY *qglGetBooleanv)(GLenum pname, GLboolean *params);
extern void (APIENTRY *qglGetClipPlane)(GLenum plane, GLdouble *equation);
extern void (APIENTRY *qglGetDoublev)(GLenum pname, GLdouble *params);
extern GLenum (APIENTRY *qglGetError)(void);
extern void (APIENTRY *qglGetFloatv)(GLenum pname, GLfloat *params);
extern void (APIENTRY *qglGetIntegerv)(GLenum pname, GLint *params);
extern void (APIENTRY *qglGetLightfv)(GLenum light, GLenum pname, GLfloat *params);
extern void (APIENTRY *qglGetLightiv)(GLenum light, GLenum pname, GLint *params);
extern void (APIENTRY *qglGetMapdv)(GLenum target, GLenum query, GLdouble *v);
extern void (APIENTRY *qglGetMapfv)(GLenum target, GLenum query, GLfloat *v);
extern void (APIENTRY *qglGetMapiv)(GLenum target, GLenum query, GLint *v);
extern void (APIENTRY *qglGetMaterialfv)(GLenum face, GLenum pname, GLfloat *params);
extern void (APIENTRY *qglGetMaterialiv)(GLenum face, GLenum pname, GLint *params);
extern void (APIENTRY *qglGetPixelMapfv)(GLenum map, GLfloat *values);
extern void (APIENTRY *qglGetPixelMapuiv)(GLenum map, GLuint *values);
extern void (APIENTRY *qglGetPixelMapusv)(GLenum map, GLushort *values);
extern void (APIENTRY *qglGetPointerv)(GLenum pname, GLvoid* *params);
extern void (APIENTRY *qglGetPolygonStipple)(GLubyte *mask);
extern const GLubyte * (APIENTRY *qglGetString)(GLenum name);
extern void (APIENTRY *qglGetTexEnvfv)(GLenum target, GLenum pname, GLfloat *params);
extern void (APIENTRY *qglGetTexEnviv)(GLenum target, GLenum pname, GLint *params);
extern void (APIENTRY *qglGetTexGendv)(GLenum coord, GLenum pname, GLdouble *params);
extern void (APIENTRY *qglGetTexGenfv)(GLenum coord, GLenum pname, GLfloat *params);
extern void (APIENTRY *qglGetTexGeniv)(GLenum coord, GLenum pname, GLint *params);
extern void (APIENTRY *qglGetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
extern void (APIENTRY *qglGetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat *params);
extern void (APIENTRY *qglGetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint *params);
extern void (APIENTRY *qglGetTexParameterfv)(GLenum target, GLenum pname, GLfloat *params);
extern void (APIENTRY *qglGetTexParameteriv)(GLenum target, GLenum pname, GLint *params);
extern void (APIENTRY *qglHint)(GLenum target, GLenum mode);
extern void (APIENTRY *qglIndexMask)(GLuint mask);
extern void (APIENTRY *qglIndexPointer)(GLenum type, GLsizei stride, const GLvoid *pointer);
extern void (APIENTRY *qglIndexd)(GLdouble c);
extern void (APIENTRY *qglIndexdv)(const GLdouble *c);
extern void (APIENTRY *qglIndexf)(GLfloat c);
extern void (APIENTRY *qglIndexfv)(const GLfloat *c);
extern void (APIENTRY *qglIndexi)(GLint c);
extern void (APIENTRY *qglIndexiv)(const GLint *c);
extern void (APIENTRY *qglIndexs)(GLshort c);
extern void (APIENTRY *qglIndexsv)(const GLshort *c);
extern void (APIENTRY *qglIndexub)(GLubyte c);
extern void (APIENTRY *qglIndexubv)(const GLubyte *c);
extern void (APIENTRY *qglInitNames)(void);
extern void (APIENTRY *qglInterleavedArrays)(GLenum format, GLsizei stride, const GLvoid *pointer);
extern GLboolean (APIENTRY *qglIsEnabled)(GLenum cap);
extern GLboolean (APIENTRY *qglIsList)(GLuint list);
extern GLboolean (APIENTRY *qglIsTexture)(GLuint texture);
extern void (APIENTRY *qglLightModelf)(GLenum pname, GLfloat param);
extern void (APIENTRY *qglLightModelfv)(GLenum pname, const GLfloat *params);
extern void (APIENTRY *qglLightModeli)(GLenum pname, GLint param);
extern void (APIENTRY *qglLightModeliv)(GLenum pname, const GLint *params);
extern void (APIENTRY *qglLightf)(GLenum light, GLenum pname, GLfloat param);
extern void (APIENTRY *qglLightfv)(GLenum light, GLenum pname, const GLfloat *params);
extern void (APIENTRY *qglLighti)(GLenum light, GLenum pname, GLint param);
extern void (APIENTRY *qglLightiv)(GLenum light, GLenum pname, const GLint *params);
extern void (APIENTRY *qglLineStipple)(GLint factor, GLushort pattern);
extern void (APIENTRY *qglLineWidth)(GLfloat width);
extern void (APIENTRY *qglListBase)(GLuint base);
extern void (APIENTRY *qglLoadIdentity)(void);
extern void (APIENTRY *qglLoadMatrixd)(const GLdouble *m);
extern void (APIENTRY *qglLoadMatrixf)(const GLfloat *m);
extern void (APIENTRY *qglLoadName)(GLuint name);
extern void (APIENTRY *qglLogicOp)(GLenum opcode);
extern void (APIENTRY *qglMap1d)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
extern void (APIENTRY *qglMap1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
extern void (APIENTRY *qglMap2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
extern void (APIENTRY *qglMap2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
extern void (APIENTRY *qglMapGrid1d)(GLint un, GLdouble u1, GLdouble u2);
extern void (APIENTRY *qglMapGrid1f)(GLint un, GLfloat u1, GLfloat u2);
extern void (APIENTRY *qglMapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
extern void (APIENTRY *qglMapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
extern void (APIENTRY *qglMaterialf)(GLenum face, GLenum pname, GLfloat param);
extern void (APIENTRY *qglMaterialfv)(GLenum face, GLenum pname, const GLfloat *params);
extern void (APIENTRY *qglMateriali)(GLenum face, GLenum pname, GLint param);
extern void (APIENTRY *qglMaterialiv)(GLenum face, GLenum pname, const GLint *params);
extern void (APIENTRY *qglMatrixMode)(GLenum mode);
extern void (APIENTRY *qglMultMatrixd)(const GLdouble *m);
extern void (APIENTRY *qglMultMatrixf)(const GLfloat *m);
extern void (APIENTRY *qglNewList)(GLuint list, GLenum mode);
extern void (APIENTRY *qglNormal3b)(GLbyte nx, GLbyte ny, GLbyte nz);
extern void (APIENTRY *qglNormal3bv)(const GLbyte *v);
extern void (APIENTRY *qglNormal3d)(GLdouble nx, GLdouble ny, GLdouble nz);
extern void (APIENTRY *qglNormal3dv)(const GLdouble *v);
extern void (APIENTRY *qglNormal3f)(GLfloat nx, GLfloat ny, GLfloat nz);
extern void (APIENTRY *qglNormal3fv)(const GLfloat *v);
extern void (APIENTRY *qglNormal3i)(GLint nx, GLint ny, GLint nz);
extern void (APIENTRY *qglNormal3iv)(const GLint *v);
extern void (APIENTRY *qglNormal3s)(GLshort nx, GLshort ny, GLshort nz);
extern void (APIENTRY *qglNormal3sv)(const GLshort *v);
extern void (APIENTRY *qglNormalPointer)(GLenum type, GLsizei stride, const GLvoid *pointer);
extern void (APIENTRY *qglOrtho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
extern void (APIENTRY *qglPassThrough)(GLfloat token);
extern void (APIENTRY *qglPixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat *values);
extern void (APIENTRY *qglPixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint *values);
extern void (APIENTRY *qglPixelMapusv)(GLenum map, GLsizei mapsize, const GLushort *values);
extern void (APIENTRY *qglPixelStoref)(GLenum pname, GLfloat param);
extern void (APIENTRY *qglPixelStorei)(GLenum pname, GLint param);
extern void (APIENTRY *qglPixelTransferf)(GLenum pname, GLfloat param);
extern void (APIENTRY *qglPixelTransferi)(GLenum pname, GLint param);
extern void (APIENTRY *qglPixelZoom)(GLfloat xfactor, GLfloat yfactor);
extern void (APIENTRY *qglPointSize)(GLfloat size);
extern void (APIENTRY *qglPolygonMode)(GLenum face, GLenum mode);
extern void (APIENTRY *qglPolygonOffset)(GLfloat factor, GLfloat units);
extern void (APIENTRY *qglPolygonStipple)(const GLubyte *mask);
extern void (APIENTRY *qglPopAttrib)(void);
extern void (APIENTRY *qglPopClientAttrib)(void);
extern void (APIENTRY *qglPopMatrix)(void);
extern void (APIENTRY *qglPopName)(void);
extern void (APIENTRY *qglPrioritizeTextures)(GLsizei n, const GLuint *textures, const GLclampf *priorities);
extern void (APIENTRY *qglPushAttrib)(GLbitfield mask);
extern void (APIENTRY *qglPushClientAttrib)(GLbitfield mask);
extern void (APIENTRY *qglPushMatrix)(void);
extern void (APIENTRY *qglPushName)(GLuint name);
extern void (APIENTRY *qglRasterPos2d)(GLdouble x, GLdouble y);
extern void (APIENTRY *qglRasterPos2dv)(const GLdouble *v);
extern void (APIENTRY *qglRasterPos2f)(GLfloat x, GLfloat y);
extern void (APIENTRY *qglRasterPos2fv)(const GLfloat *v);
extern void (APIENTRY *qglRasterPos2i)(GLint x, GLint y);
extern void (APIENTRY *qglRasterPos2iv)(const GLint *v);
extern void (APIENTRY *qglRasterPos2s)(GLshort x, GLshort y);
extern void (APIENTRY *qglRasterPos2sv)(const GLshort *v);
extern void (APIENTRY *qglRasterPos3d)(GLdouble x, GLdouble y, GLdouble z);
extern void (APIENTRY *qglRasterPos3dv)(const GLdouble *v);
extern void (APIENTRY *qglRasterPos3f)(GLfloat x, GLfloat y, GLfloat z);
extern void (APIENTRY *qglRasterPos3fv)(const GLfloat *v);
extern void (APIENTRY *qglRasterPos3i)(GLint x, GLint y, GLint z);
extern void (APIENTRY *qglRasterPos3iv)(const GLint *v);
extern void (APIENTRY *qglRasterPos3s)(GLshort x, GLshort y, GLshort z);
extern void (APIENTRY *qglRasterPos3sv)(const GLshort *v);
extern void (APIENTRY *qglRasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
extern void (APIENTRY *qglRasterPos4dv)(const GLdouble *v);
extern void (APIENTRY *qglRasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
extern void (APIENTRY *qglRasterPos4fv)(const GLfloat *v);
extern void (APIENTRY *qglRasterPos4i)(GLint x, GLint y, GLint z, GLint w);
extern void (APIENTRY *qglRasterPos4iv)(const GLint *v);
extern void (APIENTRY *qglRasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w);
extern void (APIENTRY *qglRasterPos4sv)(const GLshort *v);
extern void (APIENTRY *qglReadBuffer)(GLenum mode);
extern void (APIENTRY *qglReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
extern void (APIENTRY *qglRectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
extern void (APIENTRY *qglRectdv)(const GLdouble *v1, const GLdouble *v2);
extern void (APIENTRY *qglRectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
extern void (APIENTRY *qglRectfv)(const GLfloat *v1, const GLfloat *v2);
extern void (APIENTRY *qglRecti)(GLint x1, GLint y1, GLint x2, GLint y2);
extern void (APIENTRY *qglRectiv)(const GLint *v1, const GLint *v2);
extern void (APIENTRY *qglRects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
extern void (APIENTRY *qglRectsv)(const GLshort *v1, const GLshort *v2);
extern GLint (APIENTRY *qglRenderMode)(GLenum mode);
extern void (APIENTRY *qglRotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
extern void (APIENTRY *qglRotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
extern void (APIENTRY *qglScaled)(GLdouble x, GLdouble y, GLdouble z);
extern void (APIENTRY *qglScalef)(GLfloat x, GLfloat y, GLfloat z);
extern void (APIENTRY *qglScissor)(GLint x, GLint y, GLsizei width, GLsizei height);
extern void (APIENTRY *qglSelectBuffer)(GLsizei size, GLuint *buffer);
extern void (APIENTRY *qglShadeModel)(GLenum mode);
extern void (APIENTRY *qglStencilFunc)(GLenum func, GLint ref, GLuint mask);
extern void (APIENTRY *qglStencilMask)(GLuint mask);
extern void (APIENTRY *qglStencilOp)(GLenum fail, GLenum zfail, GLenum zpass);
extern void (APIENTRY *qglTexCoord1d)(GLdouble s);
extern void (APIENTRY *qglTexCoord1dv)(const GLdouble *v);
extern void (APIENTRY *qglTexCoord1f)(GLfloat s);
extern void (APIENTRY *qglTexCoord1fv)(const GLfloat *v);
extern void (APIENTRY *qglTexCoord1i)(GLint s);
extern void (APIENTRY *qglTexCoord1iv)(const GLint *v);
extern void (APIENTRY *qglTexCoord1s)(GLshort s);
extern void (APIENTRY *qglTexCoord1sv)(const GLshort *v);
extern void (APIENTRY *qglTexCoord2d)(GLdouble s, GLdouble t);
extern void (APIENTRY *qglTexCoord2dv)(const GLdouble *v);
extern void (APIENTRY *qglTexCoord2f)(GLfloat s, GLfloat t);
extern void (APIENTRY *qglTexCoord2fv)(const GLfloat *v);
extern void (APIENTRY *qglTexCoord2i)(GLint s, GLint t);
extern void (APIENTRY *qglTexCoord2iv)(const GLint *v);
extern void (APIENTRY *qglTexCoord2s)(GLshort s, GLshort t);
extern void (APIENTRY *qglTexCoord2sv)(const GLshort *v);
extern void (APIENTRY *qglTexCoord3d)(GLdouble s, GLdouble t, GLdouble r);
extern void (APIENTRY *qglTexCoord3dv)(const GLdouble *v);
extern void (APIENTRY *qglTexCoord3f)(GLfloat s, GLfloat t, GLfloat r);
extern void (APIENTRY *qglTexCoord3fv)(const GLfloat *v);
extern void (APIENTRY *qglTexCoord3i)(GLint s, GLint t, GLint r);
extern void (APIENTRY *qglTexCoord3iv)(const GLint *v);
extern void (APIENTRY *qglTexCoord3s)(GLshort s, GLshort t, GLshort r);
extern void (APIENTRY *qglTexCoord3sv)(const GLshort *v);
extern void (APIENTRY *qglTexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
extern void (APIENTRY *qglTexCoord4dv)(const GLdouble *v);
extern void (APIENTRY *qglTexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
extern void (APIENTRY *qglTexCoord4fv)(const GLfloat *v);
extern void (APIENTRY *qglTexCoord4i)(GLint s, GLint t, GLint r, GLint q);
extern void (APIENTRY *qglTexCoord4iv)(const GLint *v);
extern void (APIENTRY *qglTexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q);
extern void (APIENTRY *qglTexCoord4sv)(const GLshort *v);
extern void (APIENTRY *qglTexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
extern void (APIENTRY *qglTexEnvf)(GLenum target, GLenum pname, GLfloat param);
extern void (APIENTRY *qglTexEnvfv)(GLenum target, GLenum pname, const GLfloat *params);
extern void (APIENTRY *qglTexEnvi)(GLenum target, GLenum pname, GLint param);
extern void (APIENTRY *qglTexEnviv)(GLenum target, GLenum pname, const GLint *params);
extern void (APIENTRY *qglTexGend)(GLenum coord, GLenum pname, GLdouble param);
extern void (APIENTRY *qglTexGendv)(GLenum coord, GLenum pname, const GLdouble *params);
extern void (APIENTRY *qglTexGenf)(GLenum coord, GLenum pname, GLfloat param);
extern void (APIENTRY *qglTexGenfv)(GLenum coord, GLenum pname, const GLfloat *params);
extern void (APIENTRY *qglTexGeni)(GLenum coord, GLenum pname, GLint param);
extern void (APIENTRY *qglTexGeniv)(GLenum coord, GLenum pname, const GLint *params);
extern void (APIENTRY *qglTexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
extern void (APIENTRY *qglTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
extern void (APIENTRY *qglTexParameterf)(GLenum target, GLenum pname, GLfloat param);
extern void (APIENTRY *qglTexParameterfv)(GLenum target, GLenum pname, const GLfloat *params);
extern void (APIENTRY *qglTexParameteri)(GLenum target, GLenum pname, GLint param);
extern void (APIENTRY *qglTexParameteriv)(GLenum target, GLenum pname, const GLint *params);
extern void (APIENTRY *qglTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
extern void (APIENTRY *qglTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
extern void (APIENTRY *qglTranslated)(GLdouble x, GLdouble y, GLdouble z);
extern void (APIENTRY *qglTranslatef)(GLfloat x, GLfloat y, GLfloat z);
extern void (APIENTRY *qglVertex2d)(GLdouble x, GLdouble y);
extern void (APIENTRY *qglVertex2dv)(const GLdouble *v);
extern void (APIENTRY *qglVertex2f)(GLfloat x, GLfloat y);
extern void (APIENTRY *qglVertex2fv)(const GLfloat *v);
extern void (APIENTRY *qglVertex2i)(GLint x, GLint y);
extern void (APIENTRY *qglVertex2iv)(const GLint *v);
extern void (APIENTRY *qglVertex2s)(GLshort x, GLshort y);
extern void (APIENTRY *qglVertex2sv)(const GLshort *v);
extern void (APIENTRY *qglVertex3d)(GLdouble x, GLdouble y, GLdouble z);
extern void (APIENTRY *qglVertex3dv)(const GLdouble *v);
extern void (APIENTRY *qglVertex3f)(GLfloat x, GLfloat y, GLfloat z);
extern void (APIENTRY *qglVertex3fv)(const GLfloat *v);
extern void (APIENTRY *qglVertex3i)(GLint x, GLint y, GLint z);
extern void (APIENTRY *qglVertex3iv)(const GLint *v);
extern void (APIENTRY *qglVertex3s)(GLshort x, GLshort y, GLshort z);
extern void (APIENTRY *qglVertex3sv)(const GLshort *v);
extern void (APIENTRY *qglVertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
extern void (APIENTRY *qglVertex4dv)(const GLdouble *v);
extern void (APIENTRY *qglVertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
extern void (APIENTRY *qglVertex4fv)(const GLfloat *v);
extern void (APIENTRY *qglVertex4i)(GLint x, GLint y, GLint z, GLint w);
extern void (APIENTRY *qglVertex4iv)(const GLint *v);
extern void (APIENTRY *qglVertex4s)(GLshort x, GLshort y, GLshort z, GLshort w);
extern void (APIENTRY *qglVertex4sv)(const GLshort *v);
extern void (APIENTRY *qglVertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
extern void (APIENTRY *qglViewport)(GLint x, GLint y, GLsizei width, GLsizei height); extern void (APIENTRY *qglActiveTexture)(GLenum texture);
extern void (APIENTRY *qglSampleCoverage)(GLclampf value, GLboolean invert);
extern void (APIENTRY *qglCompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
extern void (APIENTRY *qglCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
extern void (APIENTRY *qglCompressedTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
extern void (APIENTRY *qglCompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
extern void (APIENTRY *qglCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
extern void (APIENTRY *qglCompressedTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
extern void (APIENTRY *qglGetCompressedTexImage)(GLenum target, GLint level, GLvoid *img); extern GLboolean (APIENTRY *qglIsRenderbuffer)(GLuint renderbuffer);
extern void (APIENTRY *qglBindRenderbuffer)(GLenum target, GLuint renderbuffer);
extern void (APIENTRY *qglDeleteRenderbuffers)(GLsizei n, const GLuint *renderbuffers);
extern void (APIENTRY *qglGenRenderbuffers)(GLsizei n, GLuint *renderbuffers);
extern void (APIENTRY *qglRenderbufferStorage)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
extern void (APIENTRY *qglGetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint *params);
extern GLboolean (APIENTRY *qglIsFramebuffer)(GLuint framebuffer);
extern void (APIENTRY *qglBindFramebuffer)(GLenum target, GLuint framebuffer);
extern void (APIENTRY *qglDeleteFramebuffers)(GLsizei n, const GLuint *framebuffers);
extern void (APIENTRY *qglGenFramebuffers)(GLsizei n, GLuint *framebuffers);
extern GLenum (APIENTRY *qglCheckFramebufferStatus)(GLenum target);
extern void (APIENTRY *qglFramebufferTexture1D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
extern void (APIENTRY *qglFramebufferTexture2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
extern void (APIENTRY *qglFramebufferTexture3D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
extern void (APIENTRY *qglFramebufferRenderbuffer)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
extern void (APIENTRY *qglGetFramebufferAttachmentParameteriv)(GLenum target, GLenum attachment, GLenum pname, GLint *params);
extern void (APIENTRY *qglGenerateMipmap)(GLenum target);
extern void (APIENTRY *qglBlitFramebuffer)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
extern void (APIENTRY *qglRenderbufferStorageMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
extern void (APIENTRY *qglFramebufferTextureLayer)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); void QGL_Init(void); #endif

QGL.cpp

 #include <metahook.h>

 #include <gl/gl.h>
#include <gl/glext.h> void (APIENTRY *qglAccum)(GLenum op, GLfloat value) = ;
void (APIENTRY *qglAlphaFunc)(GLenum func, GLclampf ref) = ;
GLboolean (APIENTRY *qglAreTexturesResident)(GLsizei n, const GLuint *textures, GLboolean *residences) = ;
void (APIENTRY *qglArrayElement)(GLint i) = ;
void (APIENTRY *qglBegin)(GLenum mode) = ;
void (APIENTRY *qglBindTexture)(GLenum target, GLuint texture) = ;
void (APIENTRY *qglBitmap)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) = ;
void (APIENTRY *qglBlendFunc)(GLenum sfactor, GLenum dfactor) = ;
void (APIENTRY *qglCallList)(GLuint list) = ;
void (APIENTRY *qglCallLists)(GLsizei n, GLenum type, const GLvoid *lists) = ;
void (APIENTRY *qglClear)(GLbitfield mask) = ;
void (APIENTRY *qglClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) = ;
void (APIENTRY *qglClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) = ;
void (APIENTRY *qglClearDepth)(GLclampd depth) = ;
void (APIENTRY *qglClearIndex)(GLfloat c) = ;
void (APIENTRY *qglClearStencil)(GLint s) = ;
void (APIENTRY *qglClipPlane)(GLenum plane, const GLdouble *equation) = ;
void (APIENTRY *qglColor3b)(GLbyte red, GLbyte green, GLbyte blue) = ;
void (APIENTRY *qglColor3bv)(const GLbyte *v) = ;
void (APIENTRY *qglColor3d)(GLdouble red, GLdouble green, GLdouble blue) = ;
void (APIENTRY *qglColor3dv)(const GLdouble *v) = ;
void (APIENTRY *qglColor3f)(GLfloat red, GLfloat green, GLfloat blue) = ;
void (APIENTRY *qglColor3fv)(const GLfloat *v) = ;
void (APIENTRY *qglColor3i)(GLint red, GLint green, GLint blue) = ;
void (APIENTRY *qglColor3iv)(const GLint *v) = ;
void (APIENTRY *qglColor3s)(GLshort red, GLshort green, GLshort blue) = ;
void (APIENTRY *qglColor3sv)(const GLshort *v) = ;
void (APIENTRY *qglColor3ub)(GLubyte red, GLubyte green, GLubyte blue) = ;
void (APIENTRY *qglColor3ubv)(const GLubyte *v) = ;
void (APIENTRY *qglColor3ui)(GLuint red, GLuint green, GLuint blue) = ;
void (APIENTRY *qglColor3uiv)(const GLuint *v) = ;
void (APIENTRY *qglColor3us)(GLushort red, GLushort green, GLushort blue) = ;
void (APIENTRY *qglColor3usv)(const GLushort *v) = ;
void (APIENTRY *qglColor4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) = ;
void (APIENTRY *qglColor4bv)(const GLbyte *v) = ;
void (APIENTRY *qglColor4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) = ;
void (APIENTRY *qglColor4dv)(const GLdouble *v) = ;
void (APIENTRY *qglColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) = ;
void (APIENTRY *qglColor4fv)(const GLfloat *v) = ;
void (APIENTRY *qglColor4i)(GLint red, GLint green, GLint blue, GLint alpha) = ;
void (APIENTRY *qglColor4iv)(const GLint *v) = ;
void (APIENTRY *qglColor4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha) = ;
void (APIENTRY *qglColor4sv)(const GLshort *v) = ;
void (APIENTRY *qglColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) = ;
void (APIENTRY *qglColor4ubv)(const GLubyte *v) = ;
void (APIENTRY *qglColor4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha) = ;
void (APIENTRY *qglColor4uiv)(const GLuint *v) = ;
void (APIENTRY *qglColor4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha) = ;
void (APIENTRY *qglColor4usv)(const GLushort *v) = ;
void (APIENTRY *qglColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) = ;
void (APIENTRY *qglColorMaterial)(GLenum face, GLenum mode) = ;
void (APIENTRY *qglColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) = ;
void (APIENTRY *qglCopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) = ;
void (APIENTRY *qglCopyTexImage1D)(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border) = ;
void (APIENTRY *qglCopyTexImage2D)(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) = ;
void (APIENTRY *qglCopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) = ;
void (APIENTRY *qglCopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) = ;
void (APIENTRY *qglCullFace)(GLenum mode) = ;
void (APIENTRY *qglDeleteLists)(GLuint list, GLsizei range) = ;
void (APIENTRY *qglDeleteTextures)(GLsizei n, const GLuint *textures) = ;
void (APIENTRY *qglDepthFunc)(GLenum func) = ;
void (APIENTRY *qglDepthMask)(GLboolean flag) = ;
void (APIENTRY *qglDepthRange)(GLclampd zNear, GLclampd zFar) = ;
void (APIENTRY *qglDisable)(GLenum cap) = ;
void (APIENTRY *qglDisableClientState)(GLenum array) = ;
void (APIENTRY *qglDrawArrays)(GLenum mode, GLint first, GLsizei count) = ;
void (APIENTRY *qglDrawBuffer)(GLenum mode) = ;
void (APIENTRY *qglDrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) = ;
void (APIENTRY *qglDrawPixels)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) = ;
void (APIENTRY *qglEdgeFlag)(GLboolean flag) = ;
void (APIENTRY *qglEdgeFlagPointer)(GLsizei stride, const GLvoid *pointer) = ;
void (APIENTRY *qglEdgeFlagv)(const GLboolean *flag) = ;
void (APIENTRY *qglEnable)(GLenum cap) = ;
void (APIENTRY *qglEnableClientState)(GLenum array) = ;
void (APIENTRY *qglEnd)(void) = ;
void (APIENTRY *qglEndList)(void) = ;
void (APIENTRY *qglEvalCoord1d)(GLdouble u) = ;
void (APIENTRY *qglEvalCoord1dv)(const GLdouble *u) = ;
void (APIENTRY *qglEvalCoord1f)(GLfloat u) = ;
void (APIENTRY *qglEvalCoord1fv)(const GLfloat *u) = ;
void (APIENTRY *qglEvalCoord2d)(GLdouble u, GLdouble v) = ;
void (APIENTRY *qglEvalCoord2dv)(const GLdouble *u) = ;
void (APIENTRY *qglEvalCoord2f)(GLfloat u, GLfloat v) = ;
void (APIENTRY *qglEvalCoord2fv)(const GLfloat *u) = ;
void (APIENTRY *qglEvalMesh1)(GLenum mode, GLint i1, GLint i2) = ;
void (APIENTRY *qglEvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) = ;
void (APIENTRY *qglEvalPoint1)(GLint i) = ;
void (APIENTRY *qglEvalPoint2)(GLint i, GLint j) = ;
void (APIENTRY *qglFeedbackBuffer)(GLsizei size, GLenum type, GLfloat *buffer) = ;
void (APIENTRY *qglFinish)(void) = ;
void (APIENTRY *qglFlush)(void) = ;
void (APIENTRY *qglFogf)(GLenum pname, GLfloat param) = ;
void (APIENTRY *qglFogfv)(GLenum pname, const GLfloat *params) = ;
void (APIENTRY *qglFogi)(GLenum pname, GLint param) = ;
void (APIENTRY *qglFogiv)(GLenum pname, const GLint *params) = ;
void (APIENTRY *qglFrontFace)(GLenum mode) = ;
void (APIENTRY *qglFrustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) = ;
GLuint (APIENTRY *qglGenLists)(GLsizei range) = ;
void (APIENTRY *qglGenTextures)(GLsizei n, GLuint *textures) = ;
void (APIENTRY *qglGetBooleanv)(GLenum pname, GLboolean *params) = ;
void (APIENTRY *qglGetClipPlane)(GLenum plane, GLdouble *equation) = ;
void (APIENTRY *qglGetDoublev)(GLenum pname, GLdouble *params) = ;
GLenum (APIENTRY *qglGetError)(void) = ;
void (APIENTRY *qglGetFloatv)(GLenum pname, GLfloat *params) = ;
void (APIENTRY *qglGetIntegerv)(GLenum pname, GLint *params) = ;
void (APIENTRY *qglGetLightfv)(GLenum light, GLenum pname, GLfloat *params) = ;
void (APIENTRY *qglGetLightiv)(GLenum light, GLenum pname, GLint *params) = ;
void (APIENTRY *qglGetMapdv)(GLenum target, GLenum query, GLdouble *v) = ;
void (APIENTRY *qglGetMapfv)(GLenum target, GLenum query, GLfloat *v) = ;
void (APIENTRY *qglGetMapiv)(GLenum target, GLenum query, GLint *v) = ;
void (APIENTRY *qglGetMaterialfv)(GLenum face, GLenum pname, GLfloat *params) = ;
void (APIENTRY *qglGetMaterialiv)(GLenum face, GLenum pname, GLint *params) = ;
void (APIENTRY *qglGetPixelMapfv)(GLenum map, GLfloat *values) = ;
void (APIENTRY *qglGetPixelMapuiv)(GLenum map, GLuint *values) = ;
void (APIENTRY *qglGetPixelMapusv)(GLenum map, GLushort *values) = ;
void (APIENTRY *qglGetPointerv)(GLenum pname, GLvoid* *params) = ;
void (APIENTRY *qglGetPolygonStipple)(GLubyte *mask) = ;
const GLubyte * (APIENTRY *qglGetString)(GLenum name) = ;
void (APIENTRY *qglGetTexEnvfv)(GLenum target, GLenum pname, GLfloat *params) = ;
void (APIENTRY *qglGetTexEnviv)(GLenum target, GLenum pname, GLint *params) = ;
void (APIENTRY *qglGetTexGendv)(GLenum coord, GLenum pname, GLdouble *params) = ;
void (APIENTRY *qglGetTexGenfv)(GLenum coord, GLenum pname, GLfloat *params) = ;
void (APIENTRY *qglGetTexGeniv)(GLenum coord, GLenum pname, GLint *params) = ;
void (APIENTRY *qglGetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) = ;
void (APIENTRY *qglGetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat *params) = ;
void (APIENTRY *qglGetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint *params) = ;
void (APIENTRY *qglGetTexParameterfv)(GLenum target, GLenum pname, GLfloat *params) = ;
void (APIENTRY *qglGetTexParameteriv)(GLenum target, GLenum pname, GLint *params) = ;
void (APIENTRY *qglHint)(GLenum target, GLenum mode) = ;
void (APIENTRY *qglIndexMask)(GLuint mask) = ;
void (APIENTRY *qglIndexPointer)(GLenum type, GLsizei stride, const GLvoid *pointer) = ;
void (APIENTRY *qglIndexd)(GLdouble c) = ;
void (APIENTRY *qglIndexdv)(const GLdouble *c) = ;
void (APIENTRY *qglIndexf)(GLfloat c) = ;
void (APIENTRY *qglIndexfv)(const GLfloat *c) = ;
void (APIENTRY *qglIndexi)(GLint c) = ;
void (APIENTRY *qglIndexiv)(const GLint *c) = ;
void (APIENTRY *qglIndexs)(GLshort c) = ;
void (APIENTRY *qglIndexsv)(const GLshort *c) = ;
void (APIENTRY *qglIndexub)(GLubyte c) = ;
void (APIENTRY *qglIndexubv)(const GLubyte *c) = ;
void (APIENTRY *qglInitNames)(void) = ;
void (APIENTRY *qglInterleavedArrays)(GLenum format, GLsizei stride, const GLvoid *pointer) = ;
GLboolean (APIENTRY *qglIsEnabled)(GLenum cap) = ;
GLboolean (APIENTRY *qglIsList)(GLuint list) = ;
GLboolean (APIENTRY *qglIsTexture)(GLuint texture) = ;
void (APIENTRY *qglLightModelf)(GLenum pname, GLfloat param) = ;
void (APIENTRY *qglLightModelfv)(GLenum pname, const GLfloat *params) = ;
void (APIENTRY *qglLightModeli)(GLenum pname, GLint param) = ;
void (APIENTRY *qglLightModeliv)(GLenum pname, const GLint *params) = ;
void (APIENTRY *qglLightf)(GLenum light, GLenum pname, GLfloat param) = ;
void (APIENTRY *qglLightfv)(GLenum light, GLenum pname, const GLfloat *params) = ;
void (APIENTRY *qglLighti)(GLenum light, GLenum pname, GLint param) = ;
void (APIENTRY *qglLightiv)(GLenum light, GLenum pname, const GLint *params) = ;
void (APIENTRY *qglLineStipple)(GLint factor, GLushort pattern) = ;
void (APIENTRY *qglLineWidth)(GLfloat width) = ;
void (APIENTRY *qglListBase)(GLuint base) = ;
void (APIENTRY *qglLoadIdentity)(void) = ;
void (APIENTRY *qglLoadMatrixd)(const GLdouble *m) = ;
void (APIENTRY *qglLoadMatrixf)(const GLfloat *m) = ;
void (APIENTRY *qglLoadName)(GLuint name) = ;
void (APIENTRY *qglLogicOp)(GLenum opcode) = ;
void (APIENTRY *qglMap1d)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) = ;
void (APIENTRY *qglMap1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) = ;
void (APIENTRY *qglMap2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) = ;
void (APIENTRY *qglMap2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) = ;
void (APIENTRY *qglMapGrid1d)(GLint un, GLdouble u1, GLdouble u2) = ;
void (APIENTRY *qglMapGrid1f)(GLint un, GLfloat u1, GLfloat u2) = ;
void (APIENTRY *qglMapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) = ;
void (APIENTRY *qglMapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) = ;
void (APIENTRY *qglMaterialf)(GLenum face, GLenum pname, GLfloat param) = ;
void (APIENTRY *qglMaterialfv)(GLenum face, GLenum pname, const GLfloat *params) = ;
void (APIENTRY *qglMateriali)(GLenum face, GLenum pname, GLint param) = ;
void (APIENTRY *qglMaterialiv)(GLenum face, GLenum pname, const GLint *params) = ;
void (APIENTRY *qglMatrixMode)(GLenum mode) = ;
void (APIENTRY *qglMultMatrixd)(const GLdouble *m) = ;
void (APIENTRY *qglMultMatrixf)(const GLfloat *m) = ;
void (APIENTRY *qglNewList)(GLuint list, GLenum mode) = ;
void (APIENTRY *qglNormal3b)(GLbyte nx, GLbyte ny, GLbyte nz) = ;
void (APIENTRY *qglNormal3bv)(const GLbyte *v) = ;
void (APIENTRY *qglNormal3d)(GLdouble nx, GLdouble ny, GLdouble nz) = ;
void (APIENTRY *qglNormal3dv)(const GLdouble *v) = ;
void (APIENTRY *qglNormal3f)(GLfloat nx, GLfloat ny, GLfloat nz) = ;
void (APIENTRY *qglNormal3fv)(const GLfloat *v) = ;
void (APIENTRY *qglNormal3i)(GLint nx, GLint ny, GLint nz) = ;
void (APIENTRY *qglNormal3iv)(const GLint *v) = ;
void (APIENTRY *qglNormal3s)(GLshort nx, GLshort ny, GLshort nz) = ;
void (APIENTRY *qglNormal3sv)(const GLshort *v) = ;
void (APIENTRY *qglNormalPointer)(GLenum type, GLsizei stride, const GLvoid *pointer) = ;
void (APIENTRY *qglOrtho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) = ;
void (APIENTRY *qglPassThrough)(GLfloat token) = ;
void (APIENTRY *qglPixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat *values) = ;
void (APIENTRY *qglPixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint *values) = ;
void (APIENTRY *qglPixelMapusv)(GLenum map, GLsizei mapsize, const GLushort *values) = ;
void (APIENTRY *qglPixelStoref)(GLenum pname, GLfloat param) = ;
void (APIENTRY *qglPixelStorei)(GLenum pname, GLint param) = ;
void (APIENTRY *qglPixelTransferf)(GLenum pname, GLfloat param) = ;
void (APIENTRY *qglPixelTransferi)(GLenum pname, GLint param) = ;
void (APIENTRY *qglPixelZoom)(GLfloat xfactor, GLfloat yfactor) = ;
void (APIENTRY *qglPointSize)(GLfloat size) = ;
void (APIENTRY *qglPolygonMode)(GLenum face, GLenum mode) = ;
void (APIENTRY *qglPolygonOffset)(GLfloat factor, GLfloat units) = ;
void (APIENTRY *qglPolygonStipple)(const GLubyte *mask) = ;
void (APIENTRY *qglPopAttrib)(void) = ;
void (APIENTRY *qglPopClientAttrib)(void) = ;
void (APIENTRY *qglPopMatrix)(void) = ;
void (APIENTRY *qglPopName)(void) = ;
void (APIENTRY *qglPrioritizeTextures)(GLsizei n, const GLuint *textures, const GLclampf *priorities) = ;
void (APIENTRY *qglPushAttrib)(GLbitfield mask) = ;
void (APIENTRY *qglPushClientAttrib)(GLbitfield mask) = ;
void (APIENTRY *qglPushMatrix)(void) = ;
void (APIENTRY *qglPushName)(GLuint name) = ;
void (APIENTRY *qglRasterPos2d)(GLdouble x, GLdouble y) = ;
void (APIENTRY *qglRasterPos2dv)(const GLdouble *v) = ;
void (APIENTRY *qglRasterPos2f)(GLfloat x, GLfloat y) = ;
void (APIENTRY *qglRasterPos2fv)(const GLfloat *v) = ;
void (APIENTRY *qglRasterPos2i)(GLint x, GLint y) = ;
void (APIENTRY *qglRasterPos2iv)(const GLint *v) = ;
void (APIENTRY *qglRasterPos2s)(GLshort x, GLshort y) = ;
void (APIENTRY *qglRasterPos2sv)(const GLshort *v) = ;
void (APIENTRY *qglRasterPos3d)(GLdouble x, GLdouble y, GLdouble z) = ;
void (APIENTRY *qglRasterPos3dv)(const GLdouble *v) = ;
void (APIENTRY *qglRasterPos3f)(GLfloat x, GLfloat y, GLfloat z) = ;
void (APIENTRY *qglRasterPos3fv)(const GLfloat *v) = ;
void (APIENTRY *qglRasterPos3i)(GLint x, GLint y, GLint z) = ;
void (APIENTRY *qglRasterPos3iv)(const GLint *v) = ;
void (APIENTRY *qglRasterPos3s)(GLshort x, GLshort y, GLshort z) = ;
void (APIENTRY *qglRasterPos3sv)(const GLshort *v) = ;
void (APIENTRY *qglRasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) = ;
void (APIENTRY *qglRasterPos4dv)(const GLdouble *v) = ;
void (APIENTRY *qglRasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) = ;
void (APIENTRY *qglRasterPos4fv)(const GLfloat *v) = ;
void (APIENTRY *qglRasterPos4i)(GLint x, GLint y, GLint z, GLint w) = ;
void (APIENTRY *qglRasterPos4iv)(const GLint *v) = ;
void (APIENTRY *qglRasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w) = ;
void (APIENTRY *qglRasterPos4sv)(const GLshort *v) = ;
void (APIENTRY *qglReadBuffer)(GLenum mode) = ;
void (APIENTRY *qglReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) = ;
void (APIENTRY *qglRectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) = ;
void (APIENTRY *qglRectdv)(const GLdouble *v1, const GLdouble *v2) = ;
void (APIENTRY *qglRectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) = ;
void (APIENTRY *qglRectfv)(const GLfloat *v1, const GLfloat *v2) = ;
void (APIENTRY *qglRecti)(GLint x1, GLint y1, GLint x2, GLint y2) = ;
void (APIENTRY *qglRectiv)(const GLint *v1, const GLint *v2) = ;
void (APIENTRY *qglRects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2) = ;
void (APIENTRY *qglRectsv)(const GLshort *v1, const GLshort *v2) = ;
GLint (APIENTRY *qglRenderMode)(GLenum mode) = ;
void (APIENTRY *qglRotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) = ;
void (APIENTRY *qglRotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) = ;
void (APIENTRY *qglScaled)(GLdouble x, GLdouble y, GLdouble z) = ;
void (APIENTRY *qglScalef)(GLfloat x, GLfloat y, GLfloat z) = ;
void (APIENTRY *qglScissor)(GLint x, GLint y, GLsizei width, GLsizei height) = ;
void (APIENTRY *qglSelectBuffer)(GLsizei size, GLuint *buffer) = ;
void (APIENTRY *qglShadeModel)(GLenum mode) = ;
void (APIENTRY *qglStencilFunc)(GLenum func, GLint ref, GLuint mask) = ;
void (APIENTRY *qglStencilMask)(GLuint mask) = ;
void (APIENTRY *qglStencilOp)(GLenum fail, GLenum zfail, GLenum zpass) = ;
void (APIENTRY *qglTexCoord1d)(GLdouble s) = ;
void (APIENTRY *qglTexCoord1dv)(const GLdouble *v) = ;
void (APIENTRY *qglTexCoord1f)(GLfloat s) = ;
void (APIENTRY *qglTexCoord1fv)(const GLfloat *v) = ;
void (APIENTRY *qglTexCoord1i)(GLint s) = ;
void (APIENTRY *qglTexCoord1iv)(const GLint *v) = ;
void (APIENTRY *qglTexCoord1s)(GLshort s) = ;
void (APIENTRY *qglTexCoord1sv)(const GLshort *v) = ;
void (APIENTRY *qglTexCoord2d)(GLdouble s, GLdouble t) = ;
void (APIENTRY *qglTexCoord2dv)(const GLdouble *v) = ;
void (APIENTRY *qglTexCoord2f)(GLfloat s, GLfloat t) = ;
void (APIENTRY *qglTexCoord2fv)(const GLfloat *v) = ;
void (APIENTRY *qglTexCoord2i)(GLint s, GLint t) = ;
void (APIENTRY *qglTexCoord2iv)(const GLint *v) = ;
void (APIENTRY *qglTexCoord2s)(GLshort s, GLshort t) = ;
void (APIENTRY *qglTexCoord2sv)(const GLshort *v) = ;
void (APIENTRY *qglTexCoord3d)(GLdouble s, GLdouble t, GLdouble r) = ;
void (APIENTRY *qglTexCoord3dv)(const GLdouble *v) = ;
void (APIENTRY *qglTexCoord3f)(GLfloat s, GLfloat t, GLfloat r) = ;
void (APIENTRY *qglTexCoord3fv)(const GLfloat *v) = ;
void (APIENTRY *qglTexCoord3i)(GLint s, GLint t, GLint r) = ;
void (APIENTRY *qglTexCoord3iv)(const GLint *v) = ;
void (APIENTRY *qglTexCoord3s)(GLshort s, GLshort t, GLshort r) = ;
void (APIENTRY *qglTexCoord3sv)(const GLshort *v) = ;
void (APIENTRY *qglTexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q) = ;
void (APIENTRY *qglTexCoord4dv)(const GLdouble *v) = ;
void (APIENTRY *qglTexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q) = ;
void (APIENTRY *qglTexCoord4fv)(const GLfloat *v) = ;
void (APIENTRY *qglTexCoord4i)(GLint s, GLint t, GLint r, GLint q) = ;
void (APIENTRY *qglTexCoord4iv)(const GLint *v) = ;
void (APIENTRY *qglTexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q) = ;
void (APIENTRY *qglTexCoord4sv)(const GLshort *v) = ;
void (APIENTRY *qglTexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) = ;
void (APIENTRY *qglTexEnvf)(GLenum target, GLenum pname, GLfloat param) = ;
void (APIENTRY *qglTexEnvfv)(GLenum target, GLenum pname, const GLfloat *params) = ;
void (APIENTRY *qglTexEnvi)(GLenum target, GLenum pname, GLint param) = ;
void (APIENTRY *qglTexEnviv)(GLenum target, GLenum pname, const GLint *params) = ;
void (APIENTRY *qglTexGend)(GLenum coord, GLenum pname, GLdouble param) = ;
void (APIENTRY *qglTexGendv)(GLenum coord, GLenum pname, const GLdouble *params) = ;
void (APIENTRY *qglTexGenf)(GLenum coord, GLenum pname, GLfloat param) = ;
void (APIENTRY *qglTexGenfv)(GLenum coord, GLenum pname, const GLfloat *params) = ;
void (APIENTRY *qglTexGeni)(GLenum coord, GLenum pname, GLint param) = ;
void (APIENTRY *qglTexGeniv)(GLenum coord, GLenum pname, const GLint *params) = ;
void (APIENTRY *qglTexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) = ;
void (APIENTRY *qglTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) = ;
void (APIENTRY *qglTexParameterf)(GLenum target, GLenum pname, GLfloat param) = ;
void (APIENTRY *qglTexParameterfv)(GLenum target, GLenum pname, const GLfloat *params) = ;
void (APIENTRY *qglTexParameteri)(GLenum target, GLenum pname, GLint param) = ;
void (APIENTRY *qglTexParameteriv)(GLenum target, GLenum pname, const GLint *params) = ;
void (APIENTRY *qglTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) = ;
void (APIENTRY *qglTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) = ;
void (APIENTRY *qglTranslated)(GLdouble x, GLdouble y, GLdouble z) = ;
void (APIENTRY *qglTranslatef)(GLfloat x, GLfloat y, GLfloat z) = ;
void (APIENTRY *qglVertex2d)(GLdouble x, GLdouble y) = ;
void (APIENTRY *qglVertex2dv)(const GLdouble *v) = ;
void (APIENTRY *qglVertex2f)(GLfloat x, GLfloat y) = ;
void (APIENTRY *qglVertex2fv)(const GLfloat *v) = ;
void (APIENTRY *qglVertex2i)(GLint x, GLint y) = ;
void (APIENTRY *qglVertex2iv)(const GLint *v) = ;
void (APIENTRY *qglVertex2s)(GLshort x, GLshort y) = ;
void (APIENTRY *qglVertex2sv)(const GLshort *v) = ;
void (APIENTRY *qglVertex3d)(GLdouble x, GLdouble y, GLdouble z) = ;
void (APIENTRY *qglVertex3dv)(const GLdouble *v) = ;
void (APIENTRY *qglVertex3f)(GLfloat x, GLfloat y, GLfloat z) = ;
void (APIENTRY *qglVertex3fv)(const GLfloat *v) = ;
void (APIENTRY *qglVertex3i)(GLint x, GLint y, GLint z) = ;
void (APIENTRY *qglVertex3iv)(const GLint *v) = ;
void (APIENTRY *qglVertex3s)(GLshort x, GLshort y, GLshort z) = ;
void (APIENTRY *qglVertex3sv)(const GLshort *v) = ;
void (APIENTRY *qglVertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) = ;
void (APIENTRY *qglVertex4dv)(const GLdouble *v) = ;
void (APIENTRY *qglVertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) = ;
void (APIENTRY *qglVertex4fv)(const GLfloat *v) = ;
void (APIENTRY *qglVertex4i)(GLint x, GLint y, GLint z, GLint w) = ;
void (APIENTRY *qglVertex4iv)(const GLint *v) = ;
void (APIENTRY *qglVertex4s)(GLshort x, GLshort y, GLshort z, GLshort w) = ;
void (APIENTRY *qglVertex4sv)(const GLshort *v) = ;
void (APIENTRY *qglVertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) = ;
void (APIENTRY *qglViewport)(GLint x, GLint y, GLsizei width, GLsizei height) = ; PROC (WINAPI *qwglGetProcAddress)(LPCSTR) = ; void (APIENTRY *qglActiveTexture)(GLenum texture) = ;
void (APIENTRY *qglSampleCoverage)(GLclampf value, GLboolean invert) = ;
void (APIENTRY *qglCompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) = ;
void (APIENTRY *qglCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) = ;
void (APIENTRY *qglCompressedTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) = ;
void (APIENTRY *qglCompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) = ;
void (APIENTRY *qglCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) = ;
void (APIENTRY *qglCompressedTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) = ;
void (APIENTRY *qglGetCompressedTexImage)(GLenum target, GLint level, GLvoid *img) = ; GLboolean (APIENTRY *qglIsRenderbuffer)(GLuint renderbuffer) = ;
void (APIENTRY *qglBindRenderbuffer)(GLenum target, GLuint renderbuffer) = ;
void (APIENTRY *qglDeleteRenderbuffers)(GLsizei n, const GLuint *renderbuffers) = ;
void (APIENTRY *qglGenRenderbuffers)(GLsizei n, GLuint *renderbuffers) = ;
void (APIENTRY *qglRenderbufferStorage)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) = ;
void (APIENTRY *qglGetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint *params) = ;
GLboolean (APIENTRY *qglIsFramebuffer)(GLuint framebuffer) = ;
void (APIENTRY *qglBindFramebuffer)(GLenum target, GLuint framebuffer) = ;
void (APIENTRY *qglDeleteFramebuffers)(GLsizei n, const GLuint *framebuffers) = ;
void (APIENTRY *qglGenFramebuffers)(GLsizei n, GLuint *framebuffers) = ;
GLenum (APIENTRY *qglCheckFramebufferStatus)(GLenum target) = ;
void (APIENTRY *qglFramebufferTexture1D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) = ;
void (APIENTRY *qglFramebufferTexture2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) = ;
void (APIENTRY *qglFramebufferTexture3D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) = ;
void (APIENTRY *qglFramebufferRenderbuffer)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) = ;
void (APIENTRY *qglGetFramebufferAttachmentParameteriv)(GLenum target, GLenum attachment, GLenum pname, GLint *params) = ;
void (APIENTRY *qglGenerateMipmap)(GLenum target) = ;
void (APIENTRY *qglBlitFramebuffer)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) = ;
void (APIENTRY *qglRenderbufferStorageMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) = ;
void (APIENTRY *qglFramebufferTextureLayer)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) = ; void QGL_InitExtension(void); void QGL_Init(void)
{
HMODULE hOpenGL = GetModuleHandleA("opengl32.dll"); if (hOpenGL)
{
qglAccum = (void (APIENTRY *)(GLenum, GLfloat))GetProcAddress(hOpenGL, "glAccum");
qglAlphaFunc = (void (APIENTRY *)(GLenum, GLclampf))GetProcAddress(hOpenGL, "glAlphaFunc");
qglAreTexturesResident = (GLboolean (APIENTRY *)(GLsizei, const GLuint *, GLboolean *))GetProcAddress(hOpenGL, "glAreTexturesResident");
qglArrayElement = (void (APIENTRY *)(GLint))GetProcAddress(hOpenGL, "glArrayElement");
qglBegin = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glBegin");
qglBindTexture = (void (APIENTRY *)(GLenum, GLuint))GetProcAddress(hOpenGL, "glBindTexture");
qglBitmap = (void (APIENTRY *)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *))GetProcAddress(hOpenGL, "glBitmap");
qglBlendFunc = (void (APIENTRY *)(GLenum, GLenum))GetProcAddress(hOpenGL, "glBlendFunc");
qglCallList = (void (APIENTRY *)(GLuint))GetProcAddress(hOpenGL, "glCallList");
qglCallLists = (void (APIENTRY *)(GLsizei, GLenum, const GLvoid *))GetProcAddress(hOpenGL, "glCallLists");
qglClear = (void (APIENTRY *)(GLbitfield))GetProcAddress(hOpenGL, "glClear");
qglClearAccum = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glClearAccum");
qglClearColor = (void (APIENTRY *)(GLclampf, GLclampf, GLclampf, GLclampf))GetProcAddress(hOpenGL, "glClearColor");
qglClearDepth = (void (APIENTRY *)(GLclampd))GetProcAddress(hOpenGL, "glClearDepth");
qglClearIndex = (void (APIENTRY *)(GLfloat))GetProcAddress(hOpenGL, "glClearIndex");
qglClearStencil = (void (APIENTRY *)(GLint))GetProcAddress(hOpenGL, "glClearStencil");
qglClipPlane = (void (APIENTRY *)(GLenum, const GLdouble *))GetProcAddress(hOpenGL, "glClipPlane");
qglColor3b = (void (APIENTRY *)(GLbyte, GLbyte, GLbyte))GetProcAddress(hOpenGL, "glColor3b");
qglColor3bv = (void (APIENTRY *)(const GLbyte *))GetProcAddress(hOpenGL, "glColor3bv");
qglColor3d = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glColor3d");
qglColor3dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glColor3dv");
qglColor3f = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glColor3f");
qglColor3fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glColor3fv");
qglColor3i = (void (APIENTRY *)(GLint, GLint, GLint))GetProcAddress(hOpenGL, "glColor3i");
qglColor3iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glColor3iv");
qglColor3s = (void (APIENTRY *)(GLshort, GLshort, GLshort))GetProcAddress(hOpenGL, "glColor3s");
qglColor3sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glColor3sv");
qglColor3ub = (void (APIENTRY *)(GLubyte, GLubyte, GLubyte))GetProcAddress(hOpenGL, "glColor3ub");
qglColor3ubv = (void (APIENTRY *)(const GLubyte *))GetProcAddress(hOpenGL, "glColor3ubv");
qglColor3ui = (void (APIENTRY *)(GLuint, GLuint, GLuint))GetProcAddress(hOpenGL, "glColor3ui");
qglColor3uiv = (void (APIENTRY *)(const GLuint *))GetProcAddress(hOpenGL, "glColor3uiv");
qglColor3us = (void (APIENTRY *)(GLushort, GLushort, GLushort))GetProcAddress(hOpenGL, "glColor3us");
qglColor3usv = (void (APIENTRY *)(const GLushort *))GetProcAddress(hOpenGL, "glColor3usv");
qglColor4b = (void (APIENTRY *)(GLbyte, GLbyte, GLbyte, GLbyte))GetProcAddress(hOpenGL, "glColor4b");
qglColor4bv = (void (APIENTRY *)(const GLbyte *))GetProcAddress(hOpenGL, "glColor4bv");
qglColor4d = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glColor4d");
qglColor4dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glColor4dv");
qglColor4f = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glColor4f");
qglColor4fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glColor4fv");
qglColor4i = (void (APIENTRY *)(GLint, GLint, GLint, GLint))GetProcAddress(hOpenGL, "glColor4i");
qglColor4iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glColor4iv");
qglColor4s = (void (APIENTRY *)(GLshort, GLshort, GLshort, GLshort))GetProcAddress(hOpenGL, "glColor4s");
qglColor4sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glColor4sv");
qglColor4ub = (void (APIENTRY *)(GLubyte, GLubyte, GLubyte, GLubyte))GetProcAddress(hOpenGL, "glColor4ub");
qglColor4ubv = (void (APIENTRY *)(const GLubyte *))GetProcAddress(hOpenGL, "glColor4ubv");
qglColor4ui = (void (APIENTRY *)(GLuint, GLuint, GLuint, GLuint))GetProcAddress(hOpenGL, "glColor4ui");
qglColor4uiv = (void (APIENTRY *)(const GLuint *))GetProcAddress(hOpenGL, "glColor4uiv");
qglColor4us = (void (APIENTRY *)(GLushort, GLushort, GLushort, GLushort))GetProcAddress(hOpenGL, "glColor4us");
qglColor4usv = (void (APIENTRY *)(const GLushort *))GetProcAddress(hOpenGL, "glColor4usv");
qglColorMask = (void (APIENTRY *)(GLboolean, GLboolean, GLboolean, GLboolean))GetProcAddress(hOpenGL, "glColorMask");
qglColorMaterial = (void (APIENTRY *)(GLenum, GLenum))GetProcAddress(hOpenGL, "glColorMaterial");
qglColorPointer = (void (APIENTRY *)(GLint, GLenum, GLsizei, const GLvoid *))GetProcAddress(hOpenGL, "glColorPointer");
qglCopyPixels = (void (APIENTRY *)(GLint, GLint, GLsizei, GLsizei, GLenum))GetProcAddress(hOpenGL, "glCopyPixels");
qglCopyTexImage1D = (void (APIENTRY *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint))GetProcAddress(hOpenGL, "glCopyTexImage1D");
qglCopyTexImage2D = (void (APIENTRY *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint))GetProcAddress(hOpenGL, "glCopyTexImage2D");
qglCopyTexSubImage1D = (void (APIENTRY *)(GLenum, GLint, GLint, GLint, GLint, GLsizei))GetProcAddress(hOpenGL, "glCopyTexSubImage1D");
qglCopyTexSubImage2D = (void (APIENTRY *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei))GetProcAddress(hOpenGL, "glCopyTexSubImage2D");
qglCullFace = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glCullFace");
qglDeleteLists = (void (APIENTRY *)(GLuint, GLsizei))GetProcAddress(hOpenGL, "glDeleteLists");
qglDeleteTextures = (void (APIENTRY *)(GLsizei, const GLuint *))GetProcAddress(hOpenGL, "glDeleteTextures");
qglDepthFunc = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glDepthFunc");
qglDepthMask = (void (APIENTRY *)(GLboolean))GetProcAddress(hOpenGL, "glDepthMask");
qglDepthRange = (void (APIENTRY *)(GLclampd, GLclampd))GetProcAddress(hOpenGL, "glDepthRange");
qglDisable = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glDisable");
qglDisableClientState = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glDisableClientState");
qglDrawArrays = (void (APIENTRY *)(GLenum, GLint, GLsizei))GetProcAddress(hOpenGL, "glDrawArrays");
qglDrawBuffer = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glDrawBuffer");
qglDrawElements = (void (APIENTRY *)(GLenum, GLsizei, GLenum, const GLvoid *))GetProcAddress(hOpenGL, "glDrawElements");
qglDrawPixels = (void (APIENTRY *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *))GetProcAddress(hOpenGL, "glDrawPixels");
qglEdgeFlag = (void (APIENTRY *)(GLboolean))GetProcAddress(hOpenGL, "glEdgeFlag");
qglEdgeFlagPointer = (void (APIENTRY *)(GLsizei, const GLvoid *))GetProcAddress(hOpenGL, "glEdgeFlagPointer");
qglEdgeFlagv = (void (APIENTRY *)(const GLboolean *))GetProcAddress(hOpenGL, "glEdgeFlagv");
qglEnable = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glEnable");
qglEnableClientState = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glEnableClientState");
qglEnd = (void (APIENTRY *)(void))GetProcAddress(hOpenGL, "glEnd");
qglEndList = (void (APIENTRY *)(void))GetProcAddress(hOpenGL, "glEndList");
qglEvalCoord1d = (void (APIENTRY *)(GLdouble))GetProcAddress(hOpenGL, "glEvalCoord1d");
qglEvalCoord1dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glEvalCoord1dv");
qglEvalCoord1f = (void (APIENTRY *)(GLfloat))GetProcAddress(hOpenGL, "glEvalCoord1f");
qglEvalCoord1fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glEvalCoord1fv");
qglEvalCoord2d = (void (APIENTRY *)(GLdouble, GLdouble))GetProcAddress(hOpenGL, "glEvalCoord2d");
qglEvalCoord2dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glEvalCoord2dv");
qglEvalCoord2f = (void (APIENTRY *)(GLfloat, GLfloat))GetProcAddress(hOpenGL, "glEvalCoord2f");
qglEvalCoord2fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glEvalCoord2fv");
qglEvalMesh1 = (void (APIENTRY *)(GLenum, GLint, GLint))GetProcAddress(hOpenGL, "glEvalMesh1");
qglEvalMesh2 = (void (APIENTRY *)(GLenum, GLint, GLint, GLint, GLint))GetProcAddress(hOpenGL, "glEvalMesh2");
qglEvalPoint1 = (void (APIENTRY *)(GLint))GetProcAddress(hOpenGL, "glEvalPoint1");
qglEvalPoint2 = (void (APIENTRY *)(GLint, GLint))GetProcAddress(hOpenGL, "glEvalPoint2");
qglFeedbackBuffer = (void (APIENTRY *)(GLsizei, GLenum, GLfloat *))GetProcAddress(hOpenGL, "glFeedbackBuffer");
qglFinish = (void (APIENTRY *)(void))GetProcAddress(hOpenGL, "glFinish");
qglFlush = (void (APIENTRY *)(void))GetProcAddress(hOpenGL, "glFlush");
qglFogf = (void (APIENTRY *)(GLenum, GLfloat))GetProcAddress(hOpenGL, "glFogf");
qglFogfv = (void (APIENTRY *)(GLenum, const GLfloat *))GetProcAddress(hOpenGL, "glFogfv");
qglFogi = (void (APIENTRY *)(GLenum, GLint))GetProcAddress(hOpenGL, "glFogi");
qglFogiv = (void (APIENTRY *)(GLenum, const GLint *))GetProcAddress(hOpenGL, "glFogiv");
qglFrontFace = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glFrontFace");
qglFrustum = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glFrustum");
qglGenLists = (GLuint (APIENTRY *)(GLsizei))GetProcAddress(hOpenGL, "glGenLists");
qglGenTextures = (void (APIENTRY *)(GLsizei, GLuint *))GetProcAddress(hOpenGL, "glGenTextures");
qglGetBooleanv = (void (APIENTRY *)(GLenum, GLboolean *))GetProcAddress(hOpenGL, "glGetBooleanv");
qglGetClipPlane = (void (APIENTRY *)(GLenum, GLdouble *))GetProcAddress(hOpenGL, "glGetClipPlane");
qglGetDoublev = (void (APIENTRY *)(GLenum, GLdouble *))GetProcAddress(hOpenGL, "glGetDoublev");
qglGetError = (GLenum (APIENTRY *)(void))GetProcAddress(hOpenGL, "glGetError");
qglGetFloatv = (void (APIENTRY *)(GLenum, GLfloat *))GetProcAddress(hOpenGL, "glGetFloatv");
qglGetIntegerv = (void (APIENTRY *)(GLenum, GLint *))GetProcAddress(hOpenGL, "glGetIntegerv");
qglGetLightfv = (void (APIENTRY *)(GLenum, GLenum, GLfloat *))GetProcAddress(hOpenGL, "glGetLightfv");
qglGetLightiv = (void (APIENTRY *)(GLenum, GLenum, GLint *))GetProcAddress(hOpenGL, "glGetLightiv");
qglGetMapdv = (void (APIENTRY *)(GLenum, GLenum, GLdouble *))GetProcAddress(hOpenGL, "glGetMapdv");
qglGetMapfv = (void (APIENTRY *)(GLenum, GLenum, GLfloat *))GetProcAddress(hOpenGL, "glGetMapfv");
qglGetMapiv = (void (APIENTRY *)(GLenum, GLenum, GLint *))GetProcAddress(hOpenGL, "glGetMapiv");
qglGetMaterialfv = (void (APIENTRY *)(GLenum, GLenum, GLfloat *))GetProcAddress(hOpenGL, "glGetMaterialfv");
qglGetMaterialiv = (void (APIENTRY *)(GLenum, GLenum, GLint *))GetProcAddress(hOpenGL, "glGetMaterialiv");
qglGetPixelMapfv = (void (APIENTRY *)(GLenum, GLfloat *))GetProcAddress(hOpenGL, "glGetPixelMapfv");
qglGetPixelMapuiv = (void (APIENTRY *)(GLenum, GLuint *))GetProcAddress(hOpenGL, "glGetPixelMapuiv");
qglGetPixelMapusv = (void (APIENTRY *)(GLenum, GLushort *))GetProcAddress(hOpenGL, "glGetPixelMapusv");
qglGetPointerv = (void (APIENTRY *)(GLenum, GLvoid* *))GetProcAddress(hOpenGL, "glGetPointerv");
qglGetPolygonStipple = (void (APIENTRY *)(GLubyte *))GetProcAddress(hOpenGL, "glGetPolygonStipple");
qglGetString = (const GLubyte * (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glGetString");
qglGetTexEnvfv = (void (APIENTRY *)(GLenum, GLenum, GLfloat *))GetProcAddress(hOpenGL, "glGetTexEnvfv");
qglGetTexEnviv = (void (APIENTRY *)(GLenum, GLenum, GLint *))GetProcAddress(hOpenGL, "glGetTexEnviv");
qglGetTexGendv = (void (APIENTRY *)(GLenum, GLenum, GLdouble *))GetProcAddress(hOpenGL, "glGetTexGendv");
qglGetTexGenfv = (void (APIENTRY *)(GLenum, GLenum, GLfloat *))GetProcAddress(hOpenGL, "glGetTexGenfv");
qglGetTexGeniv = (void (APIENTRY *)(GLenum, GLenum, GLint *))GetProcAddress(hOpenGL, "glGetTexGeniv");
qglGetTexImage = (void (APIENTRY *)(GLenum, GLint, GLenum, GLenum, GLvoid *))GetProcAddress(hOpenGL, "glGetTexImage");
qglGetTexLevelParameterfv = (void (APIENTRY *)(GLenum, GLint, GLenum, GLfloat *))GetProcAddress(hOpenGL, "glGetTexLevelParameterfv");
qglGetTexLevelParameteriv = (void (APIENTRY *)(GLenum, GLint, GLenum, GLint *))GetProcAddress(hOpenGL, "glGetTexLevelParameteriv");
qglGetTexParameterfv = (void (APIENTRY *)(GLenum, GLenum, GLfloat *))GetProcAddress(hOpenGL, "glGetTexParameterfv");
qglGetTexParameteriv = (void (APIENTRY *)(GLenum, GLenum, GLint *))GetProcAddress(hOpenGL, "glGetTexParameteriv");
qglHint = (void (APIENTRY *)(GLenum, GLenum))GetProcAddress(hOpenGL, "glHint");
qglIndexMask = (void (APIENTRY *)(GLuint))GetProcAddress(hOpenGL, "glIndexMask");
qglIndexPointer = (void (APIENTRY *)(GLenum, GLsizei, const GLvoid *))GetProcAddress(hOpenGL, "glIndexPointer");
qglIndexd = (void (APIENTRY *)(GLdouble))GetProcAddress(hOpenGL, "glIndexd");
qglIndexdv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glIndexdv");
qglIndexf = (void (APIENTRY *)(GLfloat))GetProcAddress(hOpenGL, "glIndexf");
qglIndexfv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glIndexfv");
qglIndexi = (void (APIENTRY *)(GLint))GetProcAddress(hOpenGL, "glIndexi");
qglIndexiv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glIndexiv");
qglIndexs = (void (APIENTRY *)(GLshort))GetProcAddress(hOpenGL, "glIndexs");
qglIndexsv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glIndexsv");
qglIndexub = (void (APIENTRY *)(GLubyte))GetProcAddress(hOpenGL, "glIndexub");
qglIndexubv = (void (APIENTRY *)(const GLubyte *))GetProcAddress(hOpenGL, "glIndexubv");
qglInitNames = (void (APIENTRY *)(void))GetProcAddress(hOpenGL, "glInitNames");
qglInterleavedArrays = (void (APIENTRY *)(GLenum, GLsizei, const GLvoid *))GetProcAddress(hOpenGL, "glInterleavedArrays");
qglIsEnabled = (GLboolean (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glIsEnabled");
qglIsList = (GLboolean (APIENTRY *)(GLuint))GetProcAddress(hOpenGL, "glIsList");
qglIsTexture = (GLboolean (APIENTRY *)(GLuint))GetProcAddress(hOpenGL, "glIsTexture");
qglLightModelf = (void (APIENTRY *)(GLenum, GLfloat))GetProcAddress(hOpenGL, "glLightModelf");
qglLightModelfv = (void (APIENTRY *)(GLenum, const GLfloat *))GetProcAddress(hOpenGL, "glLightModelfv");
qglLightModeli = (void (APIENTRY *)(GLenum, GLint))GetProcAddress(hOpenGL, "glLightModeli");
qglLightModeliv = (void (APIENTRY *)(GLenum, const GLint *))GetProcAddress(hOpenGL, "glLightModeliv");
qglLightf = (void (APIENTRY *)(GLenum, GLenum, GLfloat))GetProcAddress(hOpenGL, "glLightf");
qglLightfv = (void (APIENTRY *)(GLenum, GLenum, const GLfloat *))GetProcAddress(hOpenGL, "glLightfv");
qglLighti = (void (APIENTRY *)(GLenum, GLenum, GLint))GetProcAddress(hOpenGL, "glLighti");
qglLightiv = (void (APIENTRY *)(GLenum, GLenum, const GLint *))GetProcAddress(hOpenGL, "glLightiv");
qglLineStipple = (void (APIENTRY *)(GLint, GLushort))GetProcAddress(hOpenGL, "glLineStipple");
qglLineWidth = (void (APIENTRY *)(GLfloat))GetProcAddress(hOpenGL, "glLineWidth");
qglListBase = (void (APIENTRY *)(GLuint))GetProcAddress(hOpenGL, "glListBase");
qglLoadIdentity = (void (APIENTRY *)(void))GetProcAddress(hOpenGL, "glLoadIdentity");
qglLoadMatrixd = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glLoadMatrixd");
qglLoadMatrixf = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glLoadMatrixf");
qglLoadName = (void (APIENTRY *)(GLuint))GetProcAddress(hOpenGL, "glLoadName");
qglLogicOp = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glLogicOp");
qglMap1d = (void (APIENTRY *)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *))GetProcAddress(hOpenGL, "glMap1d");
qglMap1f = (void (APIENTRY *)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *))GetProcAddress(hOpenGL, "glMap1f");
qglMap2d = (void (APIENTRY *)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *))GetProcAddress(hOpenGL, "glMap2d");
qglMap2f = (void (APIENTRY *)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *))GetProcAddress(hOpenGL, "glMap2f");
qglMapGrid1d = (void (APIENTRY *)(GLint, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glMapGrid1d");
qglMapGrid1f = (void (APIENTRY *)(GLint, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glMapGrid1f");
qglMapGrid2d = (void (APIENTRY *)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glMapGrid2d");
qglMapGrid2f = (void (APIENTRY *)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glMapGrid2f");
qglMaterialf = (void (APIENTRY *)(GLenum, GLenum, GLfloat))GetProcAddress(hOpenGL, "glMaterialf");
qglMaterialfv = (void (APIENTRY *)(GLenum, GLenum, const GLfloat *))GetProcAddress(hOpenGL, "glMaterialfv");
qglMateriali = (void (APIENTRY *)(GLenum, GLenum, GLint))GetProcAddress(hOpenGL, "glMateriali");
qglMaterialiv = (void (APIENTRY *)(GLenum, GLenum, const GLint *))GetProcAddress(hOpenGL, "glMaterialiv");
qglMatrixMode = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glMatrixMode");
qglMultMatrixd = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glMultMatrixd");
qglMultMatrixf = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glMultMatrixf");
qglNewList = (void (APIENTRY *)(GLuint, GLenum))GetProcAddress(hOpenGL, "glNewList");
qglNormal3b = (void (APIENTRY *)(GLbyte, GLbyte, GLbyte))GetProcAddress(hOpenGL, "glNormal3b");
qglNormal3bv = (void (APIENTRY *)(const GLbyte *))GetProcAddress(hOpenGL, "glNormal3bv");
qglNormal3d = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glNormal3d");
qglNormal3dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glNormal3dv");
qglNormal3f = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glNormal3f");
qglNormal3fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glNormal3fv");
qglNormal3i = (void (APIENTRY *)(GLint, GLint, GLint))GetProcAddress(hOpenGL, "glNormal3i");
qglNormal3iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glNormal3iv");
qglNormal3s = (void (APIENTRY *)(GLshort, GLshort, GLshort))GetProcAddress(hOpenGL, "glNormal3s");
qglNormal3sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glNormal3sv");
qglNormalPointer = (void (APIENTRY *)(GLenum, GLsizei, const GLvoid *))GetProcAddress(hOpenGL, "glNormalPointer");
qglOrtho = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glOrtho");
qglPassThrough = (void (APIENTRY *)(GLfloat))GetProcAddress(hOpenGL, "glPassThrough");
qglPixelMapfv = (void (APIENTRY *)(GLenum, GLsizei, const GLfloat *))GetProcAddress(hOpenGL, "glPixelMapfv");
qglPixelMapuiv = (void (APIENTRY *)(GLenum, GLsizei, const GLuint *))GetProcAddress(hOpenGL, "glPixelMapuiv");
qglPixelMapusv = (void (APIENTRY *)(GLenum, GLsizei, const GLushort *))GetProcAddress(hOpenGL, "glPixelMapusv");
qglPixelStoref = (void (APIENTRY *)(GLenum, GLfloat))GetProcAddress(hOpenGL, "glPixelStoref");
qglPixelStorei = (void (APIENTRY *)(GLenum, GLint))GetProcAddress(hOpenGL, "glPixelStorei");
qglPixelTransferf = (void (APIENTRY *)(GLenum, GLfloat))GetProcAddress(hOpenGL, "glPixelTransferf");
qglPixelTransferi = (void (APIENTRY *)(GLenum, GLint))GetProcAddress(hOpenGL, "glPixelTransferi");
qglPixelZoom = (void (APIENTRY *)(GLfloat, GLfloat))GetProcAddress(hOpenGL, "glPixelZoom");
qglPointSize = (void (APIENTRY *)(GLfloat))GetProcAddress(hOpenGL, "glPointSize");
qglPolygonMode = (void (APIENTRY *)(GLenum, GLenum))GetProcAddress(hOpenGL, "glPolygonMode");
qglPolygonOffset = (void (APIENTRY *)(GLfloat, GLfloat))GetProcAddress(hOpenGL, "glPolygonOffset");
qglPolygonStipple = (void (APIENTRY *)(const GLubyte *))GetProcAddress(hOpenGL, "glPolygonStipple");
qglPopAttrib = (void (APIENTRY *)(void))GetProcAddress(hOpenGL, "glPopAttrib");
qglPopClientAttrib = (void (APIENTRY *)(void))GetProcAddress(hOpenGL, "glPopClientAttrib");
qglPopMatrix = (void (APIENTRY *)(void))GetProcAddress(hOpenGL, "glPopMatrix");
qglPopName = (void (APIENTRY *)(void))GetProcAddress(hOpenGL, "glPopName");
qglPrioritizeTextures = (void (APIENTRY *)(GLsizei, const GLuint *, const GLclampf *))GetProcAddress(hOpenGL, "glPrioritizeTextures");
qglPushAttrib = (void (APIENTRY *)(GLbitfield))GetProcAddress(hOpenGL, "glPushAttrib");
qglPushClientAttrib = (void (APIENTRY *)(GLbitfield))GetProcAddress(hOpenGL, "glPushClientAttrib");
qglPushMatrix = (void (APIENTRY *)(void))GetProcAddress(hOpenGL, "glPushMatrix");
qglPushName = (void (APIENTRY *)(GLuint))GetProcAddress(hOpenGL, "glPushName");
qglRasterPos2d = (void (APIENTRY *)(GLdouble, GLdouble))GetProcAddress(hOpenGL, "glRasterPos2d");
qglRasterPos2dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glRasterPos2dv");
qglRasterPos2f = (void (APIENTRY *)(GLfloat, GLfloat))GetProcAddress(hOpenGL, "glRasterPos2f");
qglRasterPos2fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glRasterPos2fv");
qglRasterPos2i = (void (APIENTRY *)(GLint, GLint))GetProcAddress(hOpenGL, "glRasterPos2i");
qglRasterPos2iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glRasterPos2iv");
qglRasterPos2s = (void (APIENTRY *)(GLshort, GLshort))GetProcAddress(hOpenGL, "glRasterPos2s");
qglRasterPos2sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glRasterPos2sv");
qglRasterPos3d = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glRasterPos3d");
qglRasterPos3dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glRasterPos3dv");
qglRasterPos3f = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glRasterPos3f");
qglRasterPos3fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glRasterPos3fv");
qglRasterPos3i = (void (APIENTRY *)(GLint, GLint, GLint))GetProcAddress(hOpenGL, "glRasterPos3i");
qglRasterPos3iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glRasterPos3iv");
qglRasterPos3s = (void (APIENTRY *)(GLshort, GLshort, GLshort))GetProcAddress(hOpenGL, "glRasterPos3s");
qglRasterPos3sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glRasterPos3sv");
qglRasterPos4d = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glRasterPos4d");
qglRasterPos4dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glRasterPos4dv");
qglRasterPos4f = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glRasterPos4f");
qglRasterPos4fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glRasterPos4fv");
qglRasterPos4i = (void (APIENTRY *)(GLint, GLint, GLint, GLint))GetProcAddress(hOpenGL, "glRasterPos4i");
qglRasterPos4iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glRasterPos4iv");
qglRasterPos4s = (void (APIENTRY *)(GLshort, GLshort, GLshort, GLshort))GetProcAddress(hOpenGL, "glRasterPos4s");
qglRasterPos4sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glRasterPos4sv");
qglReadBuffer = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glReadBuffer");
qglReadPixels = (void (APIENTRY *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *))GetProcAddress(hOpenGL, "glReadPixels");
qglRectd = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glRectd");
qglRectdv = (void (APIENTRY *)(const GLdouble *, const GLdouble *))GetProcAddress(hOpenGL, "glRectdv");
qglRectf = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glRectf");
qglRectfv = (void (APIENTRY *)(const GLfloat *, const GLfloat *))GetProcAddress(hOpenGL, "glRectfv");
qglRecti = (void (APIENTRY *)(GLint, GLint, GLint, GLint))GetProcAddress(hOpenGL, "glRecti");
qglRectiv = (void (APIENTRY *)(const GLint *, const GLint *))GetProcAddress(hOpenGL, "glRectiv");
qglRects = (void (APIENTRY *)(GLshort, GLshort, GLshort, GLshort))GetProcAddress(hOpenGL, "glRects");
qglRectsv = (void (APIENTRY *)(const GLshort *, const GLshort *))GetProcAddress(hOpenGL, "glRectsv");
qglRenderMode = (GLint (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glRenderMode");
qglRotated = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glRotated");
qglRotatef = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glRotatef");
qglScaled = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glScaled");
qglScalef = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glScalef");
qglScissor = (void (APIENTRY *)(GLint, GLint, GLsizei, GLsizei))GetProcAddress(hOpenGL, "glScissor");
qglSelectBuffer = (void (APIENTRY *)(GLsizei, GLuint *))GetProcAddress(hOpenGL, "glSelectBuffer");
qglShadeModel = (void (APIENTRY *)(GLenum))GetProcAddress(hOpenGL, "glShadeModel");
qglStencilFunc = (void (APIENTRY *)(GLenum, GLint, GLuint))GetProcAddress(hOpenGL, "glStencilFunc");
qglStencilMask = (void (APIENTRY *)(GLuint))GetProcAddress(hOpenGL, "glStencilMask");
qglStencilOp = (void (APIENTRY *)(GLenum, GLenum, GLenum))GetProcAddress(hOpenGL, "glStencilOp");
qglTexCoord1d = (void (APIENTRY *)(GLdouble))GetProcAddress(hOpenGL, "glTexCoord1d");
qglTexCoord1dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glTexCoord1dv");
qglTexCoord1f = (void (APIENTRY *)(GLfloat))GetProcAddress(hOpenGL, "glTexCoord1f");
qglTexCoord1fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glTexCoord1fv");
qglTexCoord1i = (void (APIENTRY *)(GLint))GetProcAddress(hOpenGL, "glTexCoord1i");
qglTexCoord1iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glTexCoord1iv");
qglTexCoord1s = (void (APIENTRY *)(GLshort))GetProcAddress(hOpenGL, "glTexCoord1s");
qglTexCoord1sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glTexCoord1sv");
qglTexCoord2d = (void (APIENTRY *)(GLdouble, GLdouble))GetProcAddress(hOpenGL, "glTexCoord2d");
qglTexCoord2dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glTexCoord2dv");
qglTexCoord2f = (void (APIENTRY *)(GLfloat, GLfloat))GetProcAddress(hOpenGL, "glTexCoord2f");
qglTexCoord2fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glTexCoord2fv");
qglTexCoord2i = (void (APIENTRY *)(GLint, GLint))GetProcAddress(hOpenGL, "glTexCoord2i");
qglTexCoord2iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glTexCoord2iv");
qglTexCoord2s = (void (APIENTRY *)(GLshort, GLshort))GetProcAddress(hOpenGL, "glTexCoord2s");
qglTexCoord2sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glTexCoord2sv");
qglTexCoord3d = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glTexCoord3d");
qglTexCoord3dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glTexCoord3dv");
qglTexCoord3f = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glTexCoord3f");
qglTexCoord3fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glTexCoord3fv");
qglTexCoord3i = (void (APIENTRY *)(GLint, GLint, GLint))GetProcAddress(hOpenGL, "glTexCoord3i");
qglTexCoord3iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glTexCoord3iv");
qglTexCoord3s = (void (APIENTRY *)(GLshort, GLshort, GLshort))GetProcAddress(hOpenGL, "glTexCoord3s");
qglTexCoord3sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glTexCoord3sv");
qglTexCoord4d = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glTexCoord4d");
qglTexCoord4dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glTexCoord4dv");
qglTexCoord4f = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glTexCoord4f");
qglTexCoord4fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glTexCoord4fv");
qglTexCoord4i = (void (APIENTRY *)(GLint, GLint, GLint, GLint))GetProcAddress(hOpenGL, "glTexCoord4i");
qglTexCoord4iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glTexCoord4iv");
qglTexCoord4s = (void (APIENTRY *)(GLshort, GLshort, GLshort, GLshort))GetProcAddress(hOpenGL, "glTexCoord4s");
qglTexCoord4sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glTexCoord4sv");
qglTexCoordPointer = (void (APIENTRY *)(GLint, GLenum, GLsizei, const GLvoid *))GetProcAddress(hOpenGL, "glTexCoordPointer");
qglTexEnvf = (void (APIENTRY *)(GLenum, GLenum, GLfloat))GetProcAddress(hOpenGL, "glTexEnvf");
qglTexEnvfv = (void (APIENTRY *)(GLenum, GLenum, const GLfloat *))GetProcAddress(hOpenGL, "glTexEnvfv");
qglTexEnvi = (void (APIENTRY *)(GLenum, GLenum, GLint))GetProcAddress(hOpenGL, "glTexEnvi");
qglTexEnviv = (void (APIENTRY *)(GLenum, GLenum, const GLint *))GetProcAddress(hOpenGL, "glTexEnviv");
qglTexGend = (void (APIENTRY *)(GLenum, GLenum, GLdouble))GetProcAddress(hOpenGL, "glTexGend");
qglTexGendv = (void (APIENTRY *)(GLenum, GLenum, const GLdouble *))GetProcAddress(hOpenGL, "glTexGendv");
qglTexGenf = (void (APIENTRY *)(GLenum, GLenum, GLfloat))GetProcAddress(hOpenGL, "glTexGenf");
qglTexGenfv = (void (APIENTRY *)(GLenum, GLenum, const GLfloat *))GetProcAddress(hOpenGL, "glTexGenfv");
qglTexGeni = (void (APIENTRY *)(GLenum, GLenum, GLint))GetProcAddress(hOpenGL, "glTexGeni");
qglTexGeniv = (void (APIENTRY *)(GLenum, GLenum, const GLint *))GetProcAddress(hOpenGL, "glTexGeniv");
qglTexImage1D = (void (APIENTRY *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *))GetProcAddress(hOpenGL, "glTexImage1D");
qglTexImage2D = (void (APIENTRY *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *))GetProcAddress(hOpenGL, "glTexImage2D");
qglTexParameterf = (void (APIENTRY *)(GLenum, GLenum, GLfloat))GetProcAddress(hOpenGL, "glTexParameterf");
qglTexParameterfv = (void (APIENTRY *)(GLenum, GLenum, const GLfloat *))GetProcAddress(hOpenGL, "glTexParameterfv");
qglTexParameteri = (void (APIENTRY *)(GLenum, GLenum, GLint))GetProcAddress(hOpenGL, "glTexParameteri");
qglTexParameteriv = (void (APIENTRY *)(GLenum, GLenum, const GLint *))GetProcAddress(hOpenGL, "glTexParameteriv");
qglTexSubImage1D = (void (APIENTRY *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *))GetProcAddress(hOpenGL, "glTexSubImage1D");
qglTexSubImage2D = (void (APIENTRY *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *))GetProcAddress(hOpenGL, "glTexSubImage2D");
qglTranslated = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glTranslated");
qglTranslatef = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glTranslatef");
qglVertex2d = (void (APIENTRY *)(GLdouble, GLdouble))GetProcAddress(hOpenGL, "glVertex2d");
qglVertex2dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glVertex2dv");
qglVertex2f = (void (APIENTRY *)(GLfloat, GLfloat))GetProcAddress(hOpenGL, "glVertex2f");
qglVertex2fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glVertex2fv");
qglVertex2i = (void (APIENTRY *)(GLint, GLint))GetProcAddress(hOpenGL, "glVertex2i");
qglVertex2iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glVertex2iv");
qglVertex2s = (void (APIENTRY *)(GLshort, GLshort))GetProcAddress(hOpenGL, "glVertex2s");
qglVertex2sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glVertex2sv");
qglVertex3d = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glVertex3d");
qglVertex3dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glVertex3dv");
qglVertex3f = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glVertex3f");
qglVertex3fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glVertex3fv");
qglVertex3i = (void (APIENTRY *)(GLint, GLint, GLint))GetProcAddress(hOpenGL, "glVertex3i");
qglVertex3iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glVertex3iv");
qglVertex3s = (void (APIENTRY *)(GLshort, GLshort, GLshort))GetProcAddress(hOpenGL, "glVertex3s");
qglVertex3sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glVertex3sv");
qglVertex4d = (void (APIENTRY *)(GLdouble, GLdouble, GLdouble, GLdouble))GetProcAddress(hOpenGL, "glVertex4d");
qglVertex4dv = (void (APIENTRY *)(const GLdouble *))GetProcAddress(hOpenGL, "glVertex4dv");
qglVertex4f = (void (APIENTRY *)(GLfloat, GLfloat, GLfloat, GLfloat))GetProcAddress(hOpenGL, "glVertex4f");
qglVertex4fv = (void (APIENTRY *)(const GLfloat *))GetProcAddress(hOpenGL, "glVertex4fv");
qglVertex4i = (void (APIENTRY *)(GLint, GLint, GLint, GLint))GetProcAddress(hOpenGL, "glVertex4i");
qglVertex4iv = (void (APIENTRY *)(const GLint *))GetProcAddress(hOpenGL, "glVertex4iv");
qglVertex4s = (void (APIENTRY *)(GLshort, GLshort, GLshort, GLshort))GetProcAddress(hOpenGL, "glVertex4s");
qglVertex4sv = (void (APIENTRY *)(const GLshort *))GetProcAddress(hOpenGL, "glVertex4sv");
qglVertexPointer = (void (APIENTRY *)(GLint, GLenum, GLsizei, const GLvoid *))GetProcAddress(hOpenGL, "glVertexPointer");
qglViewport = (void (APIENTRY *)(GLint, GLint, GLsizei, GLsizei))GetProcAddress(hOpenGL, "glViewport"); qwglGetProcAddress = (PROC (WINAPI *)(LPCSTR))GetProcAddress(hOpenGL, "wglGetProcAddress"); QGL_InitExtension();
}
} void QGL_InitExtension(void)
{
const char *version = (const char *)qglGetString(GL_VERSION);
const char *extensions = (const char *)qglGetString(GL_EXTENSIONS); if (version[] > '' && version[] > '')
{
qglActiveTexture = (void (APIENTRY *)(GLenum))qwglGetProcAddress("glActiveTexture");
qglSampleCoverage = (void (APIENTRY *)(GLclampf, GLboolean))qwglGetProcAddress("glSampleCoverage");
qglCompressedTexImage3D = (void (APIENTRY *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *))qwglGetProcAddress("glCompressedTexImage3D");
qglCompressedTexImage2D = (void (APIENTRY *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *))qwglGetProcAddress("glCompressedTexImage2D");
qglCompressedTexImage1D = (void (APIENTRY *)(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *))qwglGetProcAddress("glCompressedTexImage1D");
qglCompressedTexSubImage3D = (void (APIENTRY *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *))qwglGetProcAddress("glCompressedTexSubImage3D");
qglCompressedTexSubImage2D = (void (APIENTRY *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *))qwglGetProcAddress("glCompressedTexSubImage2D");
qglCompressedTexSubImage1D = (void (APIENTRY *)(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *))qwglGetProcAddress("glCompressedTexSubImage1D");
qglGetCompressedTexImage = (void (APIENTRY *)(GLenum, GLint, GLvoid *))qwglGetProcAddress("glGetCompressedTexImage");
} if (strstr(extensions, "GL_ARB_framebuffer_object"))
{
qglIsRenderbuffer = (GLboolean (APIENTRY *)(GLuint))qwglGetProcAddress("glIsRenderbuffer");
qglBindRenderbuffer = (void (APIENTRY *)(GLenum, GLuint))qwglGetProcAddress("glBindRenderbuffer");
qglDeleteRenderbuffers = (void (APIENTRY *)(GLsizei, const GLuint *))qwglGetProcAddress("glDeleteRenderbuffers");
qglGenRenderbuffers = (void (APIENTRY *)(GLsizei, GLuint *))qwglGetProcAddress("glGenRenderbuffers");
qglRenderbufferStorage = (void (APIENTRY *)(GLenum, GLenum, GLsizei, GLsizei))qwglGetProcAddress("glRenderbufferStorage");
qglGetRenderbufferParameteriv = (void (APIENTRY *)(GLenum, GLenum, GLint *))qwglGetProcAddress("glGetRenderbufferParameteriv");
qglIsFramebuffer = (GLboolean (APIENTRY *)(GLuint))qwglGetProcAddress("glIsFramebuffer");
qglBindFramebuffer = (void (APIENTRY *)(GLenum, GLuint))qwglGetProcAddress("glBindFramebuffer");
qglDeleteFramebuffers = (void (APIENTRY *)(GLsizei, const GLuint *))qwglGetProcAddress("glDeleteFramebuffers");
qglGenFramebuffers = (void (APIENTRY *)(GLsizei, GLuint *))qwglGetProcAddress("glGenFramebuffers");
qglCheckFramebufferStatus = (GLenum (APIENTRY *)(GLenum))qwglGetProcAddress("glCheckFramebufferStatus");
qglFramebufferTexture1D = (void (APIENTRY *)(GLenum, GLenum, GLenum, GLuint, GLint))qwglGetProcAddress("glFramebufferTexture1D");
qglFramebufferTexture2D = (void (APIENTRY *)(GLenum, GLenum, GLenum, GLuint, GLint))qwglGetProcAddress("glFramebufferTexture2D");
qglFramebufferTexture3D = (void (APIENTRY *)(GLenum, GLenum, GLenum, GLuint, GLint, GLint))qwglGetProcAddress("glFramebufferTexture3D");
qglFramebufferRenderbuffer = (void (APIENTRY *)(GLenum, GLenum, GLenum, GLuint))qwglGetProcAddress("glFramebufferRenderbuffer");
qglGetFramebufferAttachmentParameteriv = (void (APIENTRY *)(GLenum, GLenum, GLenum, GLint *))qwglGetProcAddress("glGetFramebufferAttachmentParameteriv");
qglGenerateMipmap = (void (APIENTRY *)(GLenum))qwglGetProcAddress("glGenerateMipmap");
qglBlitFramebuffer = (void (APIENTRY *)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum))qwglGetProcAddress("glBlitFramebuffer");
qglRenderbufferStorageMultisample = (void (APIENTRY *)(GLenum, GLsizei, GLenum, GLsizei, GLsizei))qwglGetProcAddress("glRenderbufferStorageMultisample");
qglFramebufferTextureLayer = (void (APIENTRY *)(GLenum, GLenum, GLuint, GLint, GLint))qwglGetProcAddress("glFramebufferTextureLayer");
}
}