glBlah is evil. Use the realy qglBlah stuff instead.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@805 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-01-17 17:45:31 +00:00
parent 23dc0e4b01
commit 2cc4209738

View file

@ -748,85 +748,6 @@ GLint GLSlang_GetUniformLocation (int prog, char *name);
extern PFNGLLOCKARRAYSEXTPROC qglLockArraysEXT; extern PFNGLLOCKARRAYSEXTPROC qglLockArraysEXT;
extern PFNGLUNLOCKARRAYSEXTPROC qglUnlockArraysEXT; extern PFNGLUNLOCKARRAYSEXTPROC qglUnlockArraysEXT;
#define glAlphaFunc qglAlphaFunc
#define glBlendFunc qglBlendFunc
#define glBegin qglBegin
#define glClearDepth qglClearDepth
#define glClearStencil qglClearStencil
#define glColor3f qglColor3f
#define glColor4f qglColor4f
#define glColor4ub qglColor4ub
#define glColor4ubv qglColor4ubv
#define glColorMask qglColorMask
#define glDisable qglDisable
#define glEnable qglEnable
#define glEnd qglEnd
#define glFlush qglFlush
#define glScalef qglScalef
#define glTranslatef qglTranslatef
#define glGetInteger qglGetInteger
#define glTexCoord1f qglTexCoord1f
#define glTexCoord2f qglTexCoord2f
#define glTexCoord2fv qglTexCoord2fv
#define glTexParameterf qglTexParameterf
#define glNormal3f qglNormal3f
#define glNormal3fv qglNormal3fv
#define glTexParameteri qglTexParameteri
#define glTexImage2D qglTexImage2D
#define glMultMatrixf qglMultMatrixf
#define glGetIntegerv qglGetIntegerv
#define glTexEnvf qglTexEnvf
#define glTexEnvfv qglTexEnvfv
#define glTexEnvi qglTexEnvi
#define glTexGeni qglTexGeni
#define glVertex2f qglVertex2f
#define glVertex3f qglVertex3f
#define glVertex3fv qglVertex3fv
#define glCullFace qglCullFace
#define glPushMatrix qglPushMatrix
#define glPopMatrix qglPopMatrix
#define glViewport qglViewport
#define glRotatef qglRotatef
#define glShadeModel qglShadeModel
#define glDepthMask qglDepthMask
#define glDepthFunc qglDepthFunc
#define glClearColor qglClearColor
#define glFinish qglFinish
#define glClear qglClear
#define glHint qglHint
#define glDepthRange qglDepthRange
#define glMatrixMode qglMatrixMode
#define glOrtho qglOrtho
#define glDrawBuffer qglDrawBuffer
#define glTexSubImage2D qglTexSubImage2D
#define glGetString qglGetString
#define glPolygonMode qglPolygonMode
#define glReadPixels qglReadPixels
#define glLoadMatrixf qglLoadMatrixf
#define glColor4fv qglColor4fv
#define glFrustum qglFrustum
#define glGetFloatv qglGetFloatv
#define glReadBuffer qglReadBuffer
#define glLoadIdentity qglLoadIdentity
#define glGetTexLevelParameteriv qglGetTexLevelParameteriv
//vertex lists
#define glTexCoordPointer qglTexCoordPointer
#define glVertexPointer qglVertexPointer
#define glNormalPointer qglNormalPointer
#define glColorPointer qglColorPointer
#define glDrawElements qglDrawElements
#define glDisableClientState qglDisableClientState
#define glEnableClientState qglEnableClientState
#define glDrawArrays qglDrawArrays
//stencil functions
#define glStencilOp qglStencilOp
#define glStencilFunc qglStencilFunc
#define glPushAttrib qglPushAttrib
#define glPopAttrib qglPopAttrib
void GL_Init(void *(*getglfunction) (char *name)); void GL_Init(void *(*getglfunction) (char *name));
#endif #endif