mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 14:52:08 +00:00
Include winquake.h must be BEFORE include gl/gl.h or compile WILL fail
with win32.
This commit is contained in:
parent
d5b4938803
commit
c8ee33715b
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue