From 4b2fc5ac011a098221f90df80df03409145b0738 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 21 Feb 2014 12:21:12 +0000 Subject: [PATCH] fix compile error. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4617 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_vidcommon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/gl/gl_vidcommon.c b/engine/gl/gl_vidcommon.c index 8595e0a37..49232281f 100644 --- a/engine/gl/gl_vidcommon.c +++ b/engine/gl/gl_vidcommon.c @@ -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)