From 2cc42097386cf95efe85517246ae60b07e8e54b3 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 17 Jan 2005 17:45:31 +0000 Subject: [PATCH] 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 --- engine/gl/glquake.h | 79 --------------------------------------------- 1 file changed, 79 deletions(-) diff --git a/engine/gl/glquake.h b/engine/gl/glquake.h index ed284cb16..620825d35 100644 --- a/engine/gl/glquake.h +++ b/engine/gl/glquake.h @@ -748,85 +748,6 @@ GLint GLSlang_GetUniformLocation (int prog, char *name); extern PFNGLLOCKARRAYSEXTPROC qglLockArraysEXT; 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)); #endif