undefine __glext_h_ before including glext.h
get SDL.h through SDL_utils.h
This commit is contained in:
@@ -7,11 +7,12 @@
|
|||||||
* time, RageDisplay.h is sufficient.
|
* time, RageDisplay.h is sufficient.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "SDL.h"
|
#include "SDL_utils.h"
|
||||||
/* ours is more up-to-date */
|
/* ours is more up-to-date */
|
||||||
#define NO_SDL_GLEXT
|
#define NO_SDL_GLEXT
|
||||||
#define __glext_h_ /* try harder to stop glext.h from being forced on us by someone else */
|
#define __glext_h_ /* try harder to stop glext.h from being forced on us by someone else */
|
||||||
#include "SDL_opengl.h"
|
#include "SDL_opengl.h"
|
||||||
|
#undef __glext_h_
|
||||||
|
|
||||||
#include "glext.h"
|
#include "glext.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user