Include winquake.h must be BEFORE include gl/gl.h or compile WILL fail

with win32.
This commit is contained in:
Dabb 2000-12-10 10:54:04 +00:00
parent d5b4938803
commit c8ee33715b
2 changed files with 8 additions and 2 deletions

View file

@ -41,6 +41,11 @@
# endif
#endif
#ifdef _WIN32
// must be BEFORE include gl/gl.h
# include "winquake.h"
#endif
#include <GL/gl.h>
#ifdef HAVE_GL_GLX_H

View file

@ -33,12 +33,13 @@
#include <string.h>
#include <GL/gl.h>
#ifdef _WIN32
// must be BEFORE include gl/gl.h
# include "winquake.h"
#endif
#include <GL/gl.h>
#include "console.h"
#include "glquake.h"
#include "input.h"