mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-01-19 15:01:13 +00:00
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:
parent
832079f0a6
commit
4b2fc5ac01
1 changed files with 3 additions and 1 deletions
|
@ -222,6 +222,7 @@ FTEPFNGLACTIVESTENCILFACEEXTPROC qglActiveStencilFaceEXT;
|
||||||
#define DEBUG
|
#define DEBUG
|
||||||
#endif
|
#endif
|
||||||
#if defined(DEBUG)
|
#if defined(DEBUG)
|
||||||
|
#ifndef GL_ARB_debug_output
|
||||||
typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,
|
typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,
|
||||||
GLenum type,
|
GLenum type,
|
||||||
GLuint id,
|
GLuint id,
|
||||||
|
@ -229,6 +230,7 @@ typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,
|
||||||
GLsizei length,
|
GLsizei length,
|
||||||
const GLchar* message,
|
const GLchar* message,
|
||||||
GLvoid* userParam);
|
GLvoid* userParam);
|
||||||
|
#endif
|
||||||
void (APIENTRY *qglDebugMessageControlARB)(GLenum source,
|
void (APIENTRY *qglDebugMessageControlARB)(GLenum source,
|
||||||
GLenum type,
|
GLenum type,
|
||||||
GLenum severity,
|
GLenum severity,
|
||||||
|
@ -1782,7 +1784,7 @@ void GL_Init(void *(*getglfunction) (char *name))
|
||||||
qglDisableClientState = GL_ClientStateStub;
|
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);
|
qglClear(GL_COLOR_BUFFER_BIT);
|
||||||
|
|
||||||
if (qglPolygonMode)
|
if (qglPolygonMode)
|
||||||
|
|
Loading…
Reference in a new issue