fix compile error.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4617 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-02-21 12:21:12 +00:00
parent 832079f0a6
commit 4b2fc5ac01
1 changed files with 3 additions and 1 deletions

View File

@ -222,6 +222,7 @@ FTEPFNGLACTIVESTENCILFACEEXTPROC qglActiveStencilFaceEXT;
#define DEBUG
#endif
#if defined(DEBUG)
#ifndef GL_ARB_debug_output
typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,
GLenum type,
GLuint id,
@ -229,6 +230,7 @@ typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,
GLsizei length,
const GLchar* message,
GLvoid* userParam);
#endif
void (APIENTRY *qglDebugMessageControlARB)(GLenum source,
GLenum type,
GLenum severity,
@ -1782,7 +1784,7 @@ void GL_Init(void *(*getglfunction) (char *name))
qglDisableClientState = GL_ClientStateStub;
}
qglClearColor (0,0,0,0); //clear to black so that it looks a little nicer on start.
qglClearColor (0,0,0,1); //clear to black so that it looks a little nicer on start.
qglClear(GL_COLOR_BUFFER_BIT);
if (qglPolygonMode)