pull in GL ourself
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user