Remove unused loadgl typedefs
Per request from Mako88, remove unused loadgl typedefs. loadgl.h was imported from elsewhere and defines typedefs for many functions that Descent does not use. Some of these are guarded by WINVER conditionals and, in Mako88's unspecified environment, defining WINVER to expose these results in a build failure because the guarded typedef requires a type that is not defined by the environment. Compensate for that by removing all unused gl typedefs. # Save the results to a file, then run the file separately. This # avoids any chance that sed might try to edit the file while later # searches are still running. git grep 'typedef .*OGLFUNCCALL \*' common/include/loadgl.h | sed -e 's/^.*OGLFUNCCALL \*//' -e 's/).*$//' | while read f; do if ! git grep -q 'DEFVAR\s'"$f"'\>' -- common/include/loadgl.h; then echo "/\\<$f\\>/d" fi done > unused.sed sed -i common/include/loadgl.h -f unused.sed
This commit is contained in:
parent
d851ee988d
commit
655d0e6714
|
@ -186,340 +186,48 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
typedef void (OGLFUNCCALL *glAccum_fp)(GLenum op, GLfloat value);
|
||||
typedef void (OGLFUNCCALL *glAlphaFunc_fp)(GLenum func, GLclampf ref);
|
||||
typedef GLboolean (OGLFUNCCALL *glAreTexturesResident_fp)(GLsizei n, const GLuint *textures, GLboolean *residences);
|
||||
typedef void (OGLFUNCCALL *glArrayElement_fp)(GLint i);
|
||||
typedef void (OGLFUNCCALL *glBegin_fp)(GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glBindTexture_fp)(GLenum target, GLuint texture);
|
||||
typedef void (OGLFUNCCALL *glBitmap_fp)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
|
||||
typedef void (OGLFUNCCALL *glBlendFunc_fp)(GLenum sfactor, GLenum dfactor);
|
||||
typedef void (OGLFUNCCALL *glCallList_fp)(GLuint list);
|
||||
typedef void (OGLFUNCCALL *glCallLists_fp)(GLsizei n, GLenum type, const GLvoid *lists);
|
||||
typedef void (OGLFUNCCALL *glClear_fp)(GLbitfield mask);
|
||||
typedef void (OGLFUNCCALL *glClearAccum_fp)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
|
||||
typedef void (OGLFUNCCALL *glClearColor_fp)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
|
||||
typedef void (OGLFUNCCALL *glClearDepth_fp)(GLclampd depth);
|
||||
typedef void (OGLFUNCCALL *glClearIndex_fp)(GLfloat c);
|
||||
typedef void (OGLFUNCCALL *glClearStencil_fp)(GLint s);
|
||||
typedef void (OGLFUNCCALL *glClipPlane_fp)(GLenum plane, const GLdouble *equation);
|
||||
typedef void (OGLFUNCCALL *glColor3b_fp)(GLbyte red, GLbyte green, GLbyte blue);
|
||||
typedef void (OGLFUNCCALL *glColor3bv_fp)(const GLbyte *v);
|
||||
typedef void (OGLFUNCCALL *glColor3d_fp)(GLdouble red, GLdouble green, GLdouble blue);
|
||||
typedef void (OGLFUNCCALL *glColor3dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glColor3f_fp)(GLfloat red, GLfloat green, GLfloat blue);
|
||||
typedef void (OGLFUNCCALL *glColor3fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glColor3i_fp)(GLint red, GLint green, GLint blue);
|
||||
typedef void (OGLFUNCCALL *glColor3iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glColor3s_fp)(GLshort red, GLshort green, GLshort blue);
|
||||
typedef void (OGLFUNCCALL *glColor3sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glColor3ub_fp)(GLubyte red, GLubyte green, GLubyte blue);
|
||||
typedef void (OGLFUNCCALL *glColor3ubv_fp)(const GLubyte *v);
|
||||
typedef void (OGLFUNCCALL *glColor3ui_fp)(GLuint red, GLuint green, GLuint blue);
|
||||
typedef void (OGLFUNCCALL *glColor3uiv_fp)(const GLuint *v);
|
||||
typedef void (OGLFUNCCALL *glColor3us_fp)(GLushort red, GLushort green, GLushort blue);
|
||||
typedef void (OGLFUNCCALL *glColor3usv_fp)(const GLushort *v);
|
||||
typedef void (OGLFUNCCALL *glColor4b_fp)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
|
||||
typedef void (OGLFUNCCALL *glColor4bv_fp)(const GLbyte *v);
|
||||
typedef void (OGLFUNCCALL *glColor4d_fp)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
|
||||
typedef void (OGLFUNCCALL *glColor4dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glColor4f_fp)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
|
||||
typedef void (OGLFUNCCALL *glColor4fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glColor4i_fp)(GLint red, GLint green, GLint blue, GLint alpha);
|
||||
typedef void (OGLFUNCCALL *glColor4iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glColor4s_fp)(GLshort red, GLshort green, GLshort blue, GLshort alpha);
|
||||
typedef void (OGLFUNCCALL *glColor4sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glColor4ub_fp)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
|
||||
typedef void (OGLFUNCCALL *glColor4ubv_fp)(const GLubyte *v);
|
||||
typedef void (OGLFUNCCALL *glColor4ui_fp)(GLuint red, GLuint green, GLuint blue, GLuint alpha);
|
||||
typedef void (OGLFUNCCALL *glColor4uiv_fp)(const GLuint *v);
|
||||
typedef void (OGLFUNCCALL *glColor4us_fp)(GLushort red, GLushort green, GLushort blue, GLushort alpha);
|
||||
typedef void (OGLFUNCCALL *glColor4usv_fp)(const GLushort *v);
|
||||
typedef void (OGLFUNCCALL *glColorMask_fp)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
|
||||
typedef void (OGLFUNCCALL *glColorMaterial_fp)(GLenum face, GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glColorPointer_fp)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
|
||||
typedef void (OGLFUNCCALL *glCopyPixels_fp)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
|
||||
typedef void (OGLFUNCCALL *glCopyTexImage1D_fp)(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
|
||||
typedef void (OGLFUNCCALL *glCopyTexImage2D_fp)(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
|
||||
typedef void (OGLFUNCCALL *glCopyTexSubImage1D_fp)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
|
||||
typedef void (OGLFUNCCALL *glCopyTexSubImage2D_fp)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
|
||||
typedef void (OGLFUNCCALL *glCullFace_fp)(GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glDeleteLists_fp)(GLuint list, GLsizei range);
|
||||
typedef void (OGLFUNCCALL *glDeleteTextures_fp)(GLsizei n, const GLuint *textures);
|
||||
typedef void (OGLFUNCCALL *glDepthFunc_fp)(GLenum func);
|
||||
typedef void (OGLFUNCCALL *glDepthMask_fp)(GLboolean flag);
|
||||
typedef void (OGLFUNCCALL *glDepthRange_fp)(GLclampd zNear, GLclampd zFar);
|
||||
typedef void (OGLFUNCCALL *glDisable_fp)(GLenum cap);
|
||||
typedef void (OGLFUNCCALL *glDisableClientState_fp)(GLenum array);
|
||||
typedef void (OGLFUNCCALL *glDrawArrays_fp)(GLenum mode, GLint first, GLsizei count);
|
||||
typedef void (OGLFUNCCALL *glDrawBuffer_fp)(GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glDrawElements_fp)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
|
||||
typedef void (OGLFUNCCALL *glDrawPixels_fp)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
|
||||
typedef void (OGLFUNCCALL *glEdgeFlag_fp)(GLboolean flag);
|
||||
typedef void (OGLFUNCCALL *glEdgeFlagPointer_fp)(GLsizei stride, const GLvoid *pointer);
|
||||
typedef void (OGLFUNCCALL *glEdgeFlagv_fp)(const GLboolean *flag);
|
||||
typedef void (OGLFUNCCALL *glEnable_fp)(GLenum cap);
|
||||
typedef void (OGLFUNCCALL *glEnableClientState_fp)(GLenum array);
|
||||
typedef void (OGLFUNCCALL *glEnd_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glEndList_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glEvalCoord1d_fp)(GLdouble u);
|
||||
typedef void (OGLFUNCCALL *glEvalCoord1dv_fp)(const GLdouble *u);
|
||||
typedef void (OGLFUNCCALL *glEvalCoord1f_fp)(GLfloat u);
|
||||
typedef void (OGLFUNCCALL *glEvalCoord1fv_fp)(const GLfloat *u);
|
||||
typedef void (OGLFUNCCALL *glEvalCoord2d_fp)(GLdouble u, GLdouble v);
|
||||
typedef void (OGLFUNCCALL *glEvalCoord2dv_fp)(const GLdouble *u);
|
||||
typedef void (OGLFUNCCALL *glEvalCoord2f_fp)(GLfloat u, GLfloat v);
|
||||
typedef void (OGLFUNCCALL *glEvalCoord2fv_fp)(const GLfloat *u);
|
||||
typedef void (OGLFUNCCALL *glEvalMesh1_fp)(GLenum mode, GLint i1, GLint i2);
|
||||
typedef void (OGLFUNCCALL *glEvalMesh2_fp)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
|
||||
typedef void (OGLFUNCCALL *glEvalPoint1_fp)(GLint i);
|
||||
typedef void (OGLFUNCCALL *glEvalPoint2_fp)(GLint i, GLint j);
|
||||
typedef void (OGLFUNCCALL *glFeedbackBuffer_fp)(GLsizei size, GLenum type, GLfloat *buffer);
|
||||
typedef void (OGLFUNCCALL *glFinish_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glFlush_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glFogf_fp)(GLenum pname, GLfloat param);
|
||||
typedef void (OGLFUNCCALL *glFogfv_fp)(GLenum pname, const GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glFogi_fp)(GLenum pname, GLint param);
|
||||
typedef void (OGLFUNCCALL *glFogiv_fp)(GLenum pname, const GLint *params);
|
||||
typedef void (OGLFUNCCALL *glFrontFace_fp)(GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glFrustum_fp)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
|
||||
typedef GLuint (OGLFUNCCALL *glGenLists_fp)(GLsizei range);
|
||||
typedef void (OGLFUNCCALL *glGenTextures_fp)(GLsizei n, GLuint *textures);
|
||||
typedef void (OGLFUNCCALL *glGetBooleanv_fp)(GLenum pname, GLboolean *params);
|
||||
typedef void (OGLFUNCCALL *glGetClipPlane_fp)(GLenum plane, GLdouble *equation);
|
||||
typedef void (OGLFUNCCALL *glGetDoublev_fp)(GLenum pname, GLdouble *params);
|
||||
typedef GLenum (OGLFUNCCALL *glGetError_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glGetFloatv_fp)(GLenum pname, GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glGetIntegerv_fp)(GLenum pname, GLint *params);
|
||||
typedef void (OGLFUNCCALL *glGetLightfv_fp)(GLenum light, GLenum pname, GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glGetLightiv_fp)(GLenum light, GLenum pname, GLint *params);
|
||||
typedef void (OGLFUNCCALL *glGetMapdv_fp)(GLenum target, GLenum query, GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glGetMapfv_fp)(GLenum target, GLenum query, GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glGetMapiv_fp)(GLenum target, GLenum query, GLint *v);
|
||||
typedef void (OGLFUNCCALL *glGetMaterialfv_fp)(GLenum face, GLenum pname, GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glGetMaterialiv_fp)(GLenum face, GLenum pname, GLint *params);
|
||||
typedef void (OGLFUNCCALL *glGetPixelMapfv_fp)(GLenum map, GLfloat *values);
|
||||
typedef void (OGLFUNCCALL *glGetPixelMapuiv_fp)(GLenum map, GLuint *values);
|
||||
typedef void (OGLFUNCCALL *glGetPixelMapusv_fp)(GLenum map, GLushort *values);
|
||||
typedef void (OGLFUNCCALL *glGetPointerv_fp)(GLenum pname, GLvoid* *params);
|
||||
typedef void (OGLFUNCCALL *glGetPolygonStipple_fp)(GLubyte *mask);
|
||||
typedef const GLubyte *(OGLFUNCCALL *glGetString_fp)(GLenum name);
|
||||
typedef void (OGLFUNCCALL *glGetTexEnvfv_fp)(GLenum target, GLenum pname, GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glGetTexEnviv_fp)(GLenum target, GLenum pname, GLint *params);
|
||||
typedef void (OGLFUNCCALL *glGetTexGendv_fp)(GLenum coord, GLenum pname, GLdouble *params);
|
||||
typedef void (OGLFUNCCALL *glGetTexGenfv_fp)(GLenum coord, GLenum pname, GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glGetTexGeniv_fp)(GLenum coord, GLenum pname, GLint *params);
|
||||
typedef void (OGLFUNCCALL *glGetTexImage_fp)(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
|
||||
typedef void (OGLFUNCCALL *glGetTexLevelParameterfv_fp)(GLenum target, GLint level, GLenum pname, GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glGetTexLevelParameteriv_fp)(GLenum target, GLint level, GLenum pname, GLint *params);
|
||||
typedef void (OGLFUNCCALL *glGetTexParameterfv_fp)(GLenum target, GLenum pname, GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glGetTexParameteriv_fp)(GLenum target, GLenum pname, GLint *params);
|
||||
typedef void (OGLFUNCCALL *glHint_fp)(GLenum target, GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glIndexMask_fp)(GLuint mask);
|
||||
typedef void (OGLFUNCCALL *glIndexPointer_fp)(GLenum type, GLsizei stride, const GLvoid *pointer);
|
||||
typedef void (OGLFUNCCALL *glIndexd_fp)(GLdouble c);
|
||||
typedef void (OGLFUNCCALL *glIndexdv_fp)(const GLdouble *c);
|
||||
typedef void (OGLFUNCCALL *glIndexf_fp)(GLfloat c);
|
||||
typedef void (OGLFUNCCALL *glIndexfv_fp)(const GLfloat *c);
|
||||
typedef void (OGLFUNCCALL *glIndexi_fp)(GLint c);
|
||||
typedef void (OGLFUNCCALL *glIndexiv_fp)(const GLint *c);
|
||||
typedef void (OGLFUNCCALL *glIndexs_fp)(GLshort c);
|
||||
typedef void (OGLFUNCCALL *glIndexsv_fp)(const GLshort *c);
|
||||
typedef void (OGLFUNCCALL *glIndexub_fp)(GLubyte c);
|
||||
typedef void (OGLFUNCCALL *glIndexubv_fp)(const GLubyte *c);
|
||||
typedef void (OGLFUNCCALL *glInitNames_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glInterleavedArrays_fp)(GLenum format, GLsizei stride, const GLvoid *pointer);
|
||||
typedef GLboolean (OGLFUNCCALL *glIsEnabled_fp)(GLenum cap);
|
||||
typedef GLboolean (OGLFUNCCALL *glIsList_fp)(GLuint list);
|
||||
typedef GLboolean (OGLFUNCCALL *glIsTexture_fp)(GLuint texture);
|
||||
typedef void (OGLFUNCCALL *glLightModelf_fp)(GLenum pname, GLfloat param);
|
||||
typedef void (OGLFUNCCALL *glLightModelfv_fp)(GLenum pname, const GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glLightModeli_fp)(GLenum pname, GLint param);
|
||||
typedef void (OGLFUNCCALL *glLightModeliv_fp)(GLenum pname, const GLint *params);
|
||||
typedef void (OGLFUNCCALL *glLightf_fp)(GLenum light, GLenum pname, GLfloat param);
|
||||
typedef void (OGLFUNCCALL *glLightfv_fp)(GLenum light, GLenum pname, const GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glLighti_fp)(GLenum light, GLenum pname, GLint param);
|
||||
typedef void (OGLFUNCCALL *glLightiv_fp)(GLenum light, GLenum pname, const GLint *params);
|
||||
typedef void (OGLFUNCCALL *glLineStipple_fp)(GLint factor, GLushort pattern);
|
||||
typedef void (OGLFUNCCALL *glLineWidth_fp)(GLfloat width);
|
||||
typedef void (OGLFUNCCALL *glListBase_fp)(GLuint base);
|
||||
typedef void (OGLFUNCCALL *glLoadIdentity_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glLoadMatrixd_fp)(const GLdouble *m);
|
||||
typedef void (OGLFUNCCALL *glLoadMatrixf_fp)(const GLfloat *m);
|
||||
typedef void (OGLFUNCCALL *glLoadName_fp)(GLuint name);
|
||||
typedef void (OGLFUNCCALL *glLogicOp_fp)(GLenum opcode);
|
||||
typedef void (OGLFUNCCALL *glMap1d_fp)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
|
||||
typedef void (OGLFUNCCALL *glMap1f_fp)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
|
||||
typedef void (OGLFUNCCALL *glMap2d_fp)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
|
||||
typedef void (OGLFUNCCALL *glMap2f_fp)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
|
||||
typedef void (OGLFUNCCALL *glMapGrid1d_fp)(GLint un, GLdouble u1, GLdouble u2);
|
||||
typedef void (OGLFUNCCALL *glMapGrid1f_fp)(GLint un, GLfloat u1, GLfloat u2);
|
||||
typedef void (OGLFUNCCALL *glMapGrid2d_fp)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
|
||||
typedef void (OGLFUNCCALL *glMapGrid2f_fp)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
|
||||
typedef void (OGLFUNCCALL *glMaterialf_fp)(GLenum face, GLenum pname, GLfloat param);
|
||||
typedef void (OGLFUNCCALL *glMaterialfv_fp)(GLenum face, GLenum pname, const GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glMateriali_fp)(GLenum face, GLenum pname, GLint param);
|
||||
typedef void (OGLFUNCCALL *glMaterialiv_fp)(GLenum face, GLenum pname, const GLint *params);
|
||||
typedef void (OGLFUNCCALL *glMatrixMode_fp)(GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glMultMatrixd_fp)(const GLdouble *m);
|
||||
typedef void (OGLFUNCCALL *glMultMatrixf_fp)(const GLfloat *m);
|
||||
typedef void (OGLFUNCCALL *glNewList_fp)(GLuint list, GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glNormal3b_fp)(GLbyte nx, GLbyte ny, GLbyte nz);
|
||||
typedef void (OGLFUNCCALL *glNormal3bv_fp)(const GLbyte *v);
|
||||
typedef void (OGLFUNCCALL *glNormal3d_fp)(GLdouble nx, GLdouble ny, GLdouble nz);
|
||||
typedef void (OGLFUNCCALL *glNormal3dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glNormal3f_fp)(GLfloat nx, GLfloat ny, GLfloat nz);
|
||||
typedef void (OGLFUNCCALL *glNormal3fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glNormal3i_fp)(GLint nx, GLint ny, GLint nz);
|
||||
typedef void (OGLFUNCCALL *glNormal3iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glNormal3s_fp)(GLshort nx, GLshort ny, GLshort nz);
|
||||
typedef void (OGLFUNCCALL *glNormal3sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glNormalPointer_fp)(GLenum type, GLsizei stride, const GLvoid *pointer);
|
||||
typedef void (OGLFUNCCALL *glOrtho_fp)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
|
||||
typedef void (OGLFUNCCALL *glPassThrough_fp)(GLfloat token);
|
||||
typedef void (OGLFUNCCALL *glPixelMapfv_fp)(GLenum map, GLsizei mapsize, const GLfloat *values);
|
||||
typedef void (OGLFUNCCALL *glPixelMapuiv_fp)(GLenum map, GLsizei mapsize, const GLuint *values);
|
||||
typedef void (OGLFUNCCALL *glPixelMapusv_fp)(GLenum map, GLsizei mapsize, const GLushort *values);
|
||||
typedef void (OGLFUNCCALL *glPixelStoref_fp)(GLenum pname, GLfloat param);
|
||||
typedef void (OGLFUNCCALL *glPixelStorei_fp)(GLenum pname, GLint param);
|
||||
typedef void (OGLFUNCCALL *glPixelTransferf_fp)(GLenum pname, GLfloat param);
|
||||
typedef void (OGLFUNCCALL *glPixelTransferi_fp)(GLenum pname, GLint param);
|
||||
typedef void (OGLFUNCCALL *glPixelZoom_fp)(GLfloat xfactor, GLfloat yfactor);
|
||||
typedef void (OGLFUNCCALL *glPointSize_fp)(GLfloat size);
|
||||
typedef void (OGLFUNCCALL *glPolygonMode_fp)(GLenum face, GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glPolygonOffset_fp)(GLfloat factor, GLfloat units);
|
||||
typedef void (OGLFUNCCALL *glPolygonStipple_fp)(const GLubyte *mask);
|
||||
typedef void (OGLFUNCCALL *glPopAttrib_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glPopClientAttrib_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glPopMatrix_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glPopName_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glPrioritizeTextures_fp)(GLsizei n, const GLuint *textures, const GLclampf *priorities);
|
||||
typedef void (OGLFUNCCALL *glPushAttrib_fp)(GLbitfield mask);
|
||||
typedef void (OGLFUNCCALL *glPushClientAttrib_fp)(GLbitfield mask);
|
||||
typedef void (OGLFUNCCALL *glPushMatrix_fp)(void);
|
||||
typedef void (OGLFUNCCALL *glPushName_fp)(GLuint name);
|
||||
typedef void (OGLFUNCCALL *glRasterPos2d_fp)(GLdouble x, GLdouble y);
|
||||
typedef void (OGLFUNCCALL *glRasterPos2dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glRasterPos2f_fp)(GLfloat x, GLfloat y);
|
||||
typedef void (OGLFUNCCALL *glRasterPos2fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glRasterPos2i_fp)(GLint x, GLint y);
|
||||
typedef void (OGLFUNCCALL *glRasterPos2iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glRasterPos2s_fp)(GLshort x, GLshort y);
|
||||
typedef void (OGLFUNCCALL *glRasterPos2sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glRasterPos3d_fp)(GLdouble x, GLdouble y, GLdouble z);
|
||||
typedef void (OGLFUNCCALL *glRasterPos3dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glRasterPos3f_fp)(GLfloat x, GLfloat y, GLfloat z);
|
||||
typedef void (OGLFUNCCALL *glRasterPos3fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glRasterPos3i_fp)(GLint x, GLint y, GLint z);
|
||||
typedef void (OGLFUNCCALL *glRasterPos3iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glRasterPos3s_fp)(GLshort x, GLshort y, GLshort z);
|
||||
typedef void (OGLFUNCCALL *glRasterPos3sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glRasterPos4d_fp)(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
|
||||
typedef void (OGLFUNCCALL *glRasterPos4dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glRasterPos4f_fp)(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
||||
typedef void (OGLFUNCCALL *glRasterPos4fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glRasterPos4i_fp)(GLint x, GLint y, GLint z, GLint w);
|
||||
typedef void (OGLFUNCCALL *glRasterPos4iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glRasterPos4s_fp)(GLshort x, GLshort y, GLshort z, GLshort w);
|
||||
typedef void (OGLFUNCCALL *glRasterPos4sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glReadBuffer_fp)(GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glReadPixels_fp)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
|
||||
typedef void (OGLFUNCCALL *glRectd_fp)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
|
||||
typedef void (OGLFUNCCALL *glRectdv_fp)(const GLdouble *v1, const GLdouble *v2);
|
||||
typedef void (OGLFUNCCALL *glRectf_fp)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
|
||||
typedef void (OGLFUNCCALL *glRectfv_fp)(const GLfloat *v1, const GLfloat *v2);
|
||||
typedef void (OGLFUNCCALL *glRecti_fp)(GLint x1, GLint y1, GLint x2, GLint y2);
|
||||
typedef void (OGLFUNCCALL *glRectiv_fp)(const GLint *v1, const GLint *v2);
|
||||
typedef void (OGLFUNCCALL *glRects_fp)(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
|
||||
typedef void (OGLFUNCCALL *glRectsv_fp)(const GLshort *v1, const GLshort *v2);
|
||||
typedef GLint (OGLFUNCCALL *glRenderMode_fp)(GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glRotated_fp)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
|
||||
typedef void (OGLFUNCCALL *glRotatef_fp)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
|
||||
typedef void (OGLFUNCCALL *glScaled_fp)(GLdouble x, GLdouble y, GLdouble z);
|
||||
typedef void (OGLFUNCCALL *glScalef_fp)(GLfloat x, GLfloat y, GLfloat z);
|
||||
typedef void (OGLFUNCCALL *glScissor_fp)(GLint x, GLint y, GLsizei width, GLsizei height);
|
||||
typedef void (OGLFUNCCALL *glSelectBuffer_fp)(GLsizei size, GLuint *buffer);
|
||||
typedef void (OGLFUNCCALL *glShadeModel_fp)(GLenum mode);
|
||||
typedef void (OGLFUNCCALL *glStencilFunc_fp)(GLenum func, GLint ref, GLuint mask);
|
||||
typedef void (OGLFUNCCALL *glStencilMask_fp)(GLuint mask);
|
||||
typedef void (OGLFUNCCALL *glStencilOp_fp)(GLenum fail, GLenum zfail, GLenum zpass);
|
||||
typedef void (OGLFUNCCALL *glTexCoord1d_fp)(GLdouble s);
|
||||
typedef void (OGLFUNCCALL *glTexCoord1dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord1f_fp)(GLfloat s);
|
||||
typedef void (OGLFUNCCALL *glTexCoord1fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord1i_fp)(GLint s);
|
||||
typedef void (OGLFUNCCALL *glTexCoord1iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord1s_fp)(GLshort s);
|
||||
typedef void (OGLFUNCCALL *glTexCoord1sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord2d_fp)(GLdouble s, GLdouble t);
|
||||
typedef void (OGLFUNCCALL *glTexCoord2dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord2f_fp)(GLfloat s, GLfloat t);
|
||||
typedef void (OGLFUNCCALL *glTexCoord2fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord2i_fp)(GLint s, GLint t);
|
||||
typedef void (OGLFUNCCALL *glTexCoord2iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord2s_fp)(GLshort s, GLshort t);
|
||||
typedef void (OGLFUNCCALL *glTexCoord2sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord3d_fp)(GLdouble s, GLdouble t, GLdouble r);
|
||||
typedef void (OGLFUNCCALL *glTexCoord3dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord3f_fp)(GLfloat s, GLfloat t, GLfloat r);
|
||||
typedef void (OGLFUNCCALL *glTexCoord3fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord3i_fp)(GLint s, GLint t, GLint r);
|
||||
typedef void (OGLFUNCCALL *glTexCoord3iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord3s_fp)(GLshort s, GLshort t, GLshort r);
|
||||
typedef void (OGLFUNCCALL *glTexCoord3sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord4d_fp)(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
|
||||
typedef void (OGLFUNCCALL *glTexCoord4dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord4f_fp)(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
|
||||
typedef void (OGLFUNCCALL *glTexCoord4fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord4i_fp)(GLint s, GLint t, GLint r, GLint q);
|
||||
typedef void (OGLFUNCCALL *glTexCoord4iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoord4s_fp)(GLshort s, GLshort t, GLshort r, GLshort q);
|
||||
typedef void (OGLFUNCCALL *glTexCoord4sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glTexCoordPointer_fp)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
|
||||
typedef void (OGLFUNCCALL *glTexEnvf_fp)(GLenum target, GLenum pname, GLfloat param);
|
||||
typedef void (OGLFUNCCALL *glTexEnvfv_fp)(GLenum target, GLenum pname, const GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glTexEnvi_fp)(GLenum target, GLenum pname, GLint param);
|
||||
typedef void (OGLFUNCCALL *glTexEnviv_fp)(GLenum target, GLenum pname, const GLint *params);
|
||||
typedef void (OGLFUNCCALL *glTexGend_fp)(GLenum coord, GLenum pname, GLdouble param);
|
||||
typedef void (OGLFUNCCALL *glTexGendv_fp)(GLenum coord, GLenum pname, const GLdouble *params);
|
||||
typedef void (OGLFUNCCALL *glTexGenf_fp)(GLenum coord, GLenum pname, GLfloat param);
|
||||
typedef void (OGLFUNCCALL *glTexGenfv_fp)(GLenum coord, GLenum pname, const GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glTexGeni_fp)(GLenum coord, GLenum pname, GLint param);
|
||||
typedef void (OGLFUNCCALL *glTexGeniv_fp)(GLenum coord, GLenum pname, const GLint *params);
|
||||
typedef void (OGLFUNCCALL *glTexImage1D_fp)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
|
||||
typedef void (OGLFUNCCALL *glTexImage2D_fp)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
|
||||
typedef void (OGLFUNCCALL *glTexParameterf_fp)(GLenum target, GLenum pname, GLfloat param);
|
||||
typedef void (OGLFUNCCALL *glTexParameterfv_fp)(GLenum target, GLenum pname, const GLfloat *params);
|
||||
typedef void (OGLFUNCCALL *glTexParameteri_fp)(GLenum target, GLenum pname, GLint param);
|
||||
typedef void (OGLFUNCCALL *glTexParameteriv_fp)(GLenum target, GLenum pname, const GLint *params);
|
||||
typedef void (OGLFUNCCALL *glTexSubImage1D_fp)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
|
||||
typedef void (OGLFUNCCALL *glTexSubImage2D_fp)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
|
||||
typedef void (OGLFUNCCALL *glTranslated_fp)(GLdouble x, GLdouble y, GLdouble z);
|
||||
typedef void (OGLFUNCCALL *glTranslatef_fp)(GLfloat x, GLfloat y, GLfloat z);
|
||||
typedef void (OGLFUNCCALL *glVertex2d_fp)(GLdouble x, GLdouble y);
|
||||
typedef void (OGLFUNCCALL *glVertex2dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glVertex2f_fp)(GLfloat x, GLfloat y);
|
||||
typedef void (OGLFUNCCALL *glVertex2fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glVertex2i_fp)(GLint x, GLint y);
|
||||
typedef void (OGLFUNCCALL *glVertex2iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glVertex2s_fp)(GLshort x, GLshort y);
|
||||
typedef void (OGLFUNCCALL *glVertex2sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glVertex3d_fp)(GLdouble x, GLdouble y, GLdouble z);
|
||||
typedef void (OGLFUNCCALL *glVertex3dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glVertex3f_fp)(GLfloat x, GLfloat y, GLfloat z);
|
||||
typedef void (OGLFUNCCALL *glVertex3fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glVertex3i_fp)(GLint x, GLint y, GLint z);
|
||||
typedef void (OGLFUNCCALL *glVertex3iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glVertex3s_fp)(GLshort x, GLshort y, GLshort z);
|
||||
typedef void (OGLFUNCCALL *glVertex3sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glVertex4d_fp)(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
|
||||
typedef void (OGLFUNCCALL *glVertex4dv_fp)(const GLdouble *v);
|
||||
typedef void (OGLFUNCCALL *glVertex4f_fp)(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
||||
typedef void (OGLFUNCCALL *glVertex4fv_fp)(const GLfloat *v);
|
||||
typedef void (OGLFUNCCALL *glVertex4i_fp)(GLint x, GLint y, GLint z, GLint w);
|
||||
typedef void (OGLFUNCCALL *glVertex4iv_fp)(const GLint *v);
|
||||
typedef void (OGLFUNCCALL *glVertex4s_fp)(GLshort x, GLshort y, GLshort z, GLshort w);
|
||||
typedef void (OGLFUNCCALL *glVertex4sv_fp)(const GLshort *v);
|
||||
typedef void (OGLFUNCCALL *glVertexPointer_fp)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
|
||||
typedef void (OGLFUNCCALL *glViewport_fp)(GLint x, GLint y, GLsizei width, GLsizei height);
|
||||
|
||||
|
@ -527,33 +235,10 @@ typedef void (OGLFUNCCALL *glMultiTexCoord2fARB_fp)(GLenum target, GLfloat s, GL
|
|||
typedef void (OGLFUNCCALL *glActiveTextureARB_fp)(GLenum target);
|
||||
typedef void (OGLFUNCCALL *glMultiTexCoord2fSGIS_fp)(GLenum target, GLfloat s, GLfloat t);
|
||||
typedef void (OGLFUNCCALL *glSelectTextureSGIS_fp)(GLenum target);
|
||||
typedef void (OGLFUNCCALL *glColorTableEXT_fp)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
|
||||
typedef void (OGLFUNCCALL *glCombinerParameteriNV_fp)(GLenum, GLint);
|
||||
typedef void (OGLFUNCCALL *glCombinerInputNV_fp)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
|
||||
typedef void (OGLFUNCCALL *glCombinerOutputNV_fp)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
|
||||
typedef void (OGLFUNCCALL *glFinalCombinerInputNV_fp)(GLenum, GLenum, GLenum, GLenum);
|
||||
|
||||
#ifdef _WIN32
|
||||
typedef BOOL (OGLFUNCCALL *wglCopyContext_fp)(HGLRC, HGLRC, UINT);
|
||||
typedef HGLRC (OGLFUNCCALL *wglCreateContext_fp)(HDC);
|
||||
typedef HGLRC (OGLFUNCCALL *wglCreateLayerContext_fp)(HDC, int);
|
||||
typedef BOOL (OGLFUNCCALL *wglDeleteContext_fp)(HGLRC);
|
||||
typedef HGLRC (OGLFUNCCALL *wglGetCurrentContext_fp)(VOID);
|
||||
typedef HDC (OGLFUNCCALL *wglGetCurrentDC_fp)(VOID);
|
||||
typedef PROC (OGLFUNCCALL *wglGetProcAddress_fp)(LPCSTR);
|
||||
typedef BOOL (OGLFUNCCALL *wglMakeCurrent_fp)(HDC, HGLRC);
|
||||
typedef BOOL (OGLFUNCCALL *wglShareLists_fp)(HGLRC, HGLRC);
|
||||
typedef BOOL (OGLFUNCCALL *wglUseFontBitmapsA_fp)(HDC, DWORD, DWORD, DWORD);
|
||||
typedef BOOL (OGLFUNCCALL *wglUseFontBitmapsW_fp)(HDC, DWORD, DWORD, DWORD);
|
||||
typedef BOOL (OGLFUNCCALL *wglUseFontOutlinesA_fp)(HDC, DWORD, DWORD, DWORD, FLOAT,FLOAT, int, LPGLYPHMETRICSFLOAT);
|
||||
typedef BOOL (OGLFUNCCALL *wglUseFontOutlinesW_fp)(HDC, DWORD, DWORD, DWORD, FLOAT,FLOAT, int, LPGLYPHMETRICSFLOAT);
|
||||
typedef BOOL (OGLFUNCCALL *wglDescribeLayerPlane_fp)(HDC, int, int, UINT,LPLAYERPLANEDESCRIPTOR);
|
||||
typedef int (OGLFUNCCALL *wglSetLayerPaletteEntries_fp)(HDC, int, int, int,CONST COLORREF *);
|
||||
typedef int (OGLFUNCCALL *wglGetLayerPaletteEntries_fp)(HDC, int, int, int,COLORREF *);
|
||||
typedef BOOL (OGLFUNCCALL *wglRealizeLayerPalette_fp)(HDC, int, BOOL);
|
||||
typedef BOOL (OGLFUNCCALL *wglSwapLayerBuffers_fp)(HDC, UINT);
|
||||
#if (WINVER >= 0x0500)
|
||||
typedef DWORD (OGLFUNCCALL *wglSwapMultipleBuffers_fp)(UINT, CONST WGLSWAP *);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue