pull in GL ourself

This commit is contained in:
Glenn Maynard
2004-06-14 05:54:01 +00:00
parent 7ef3d3e6bb
commit 1182fa0390
+9 -10
View File
@@ -1,17 +1,16 @@
#include "global.h" #include "global.h"
/* /* ours may be more up-to-date */
* This header pulls in GL headers and defines things that require them. #define __glext_h_
* This only needs to be included if you actually use these; most of the
* time, RageDisplay.h is sufficient. #if defined(WIN32)
*/ #include <windows.h>
#endif
#include <GL/gl.h>
#include <GL/glu.h>
/* ours is more up-to-date */
#define NO_SDL_GLEXT
#define __glext_h_ /* try harder to stop glext.h from being forced on us by someone else */
#include "SDL_opengl.h"
#undef __glext_h_ #undef __glext_h_
#include "glext.h" #include "glext.h"
#include "RageFile.h" #include "RageFile.h"