undefine __glext_h_ before including glext.h

get SDL.h through SDL_utils.h
This commit is contained in:
Glenn Maynard
2003-02-14 07:07:05 +00:00
parent 9278d29a9c
commit f8210b0718
+2 -1
View File
@@ -7,11 +7,12 @@
* time, RageDisplay.h is sufficient.
*/
#include "SDL.h"
#include "SDL_utils.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_
#include "glext.h"