Don't conflict with glext.h if it's already been included

This commit is contained in:
Sam Lantinga
2010-12-01 12:02:52 -08:00
parent 62570ee8ec
commit fb97826021

View File

@@ -38,6 +38,10 @@
#endif
#include <windows.h>
#endif
#ifdef __glext_h_
/* Someone has already included glext.h */
#define NO_SDL_GLEXT
#endif
#ifndef NO_SDL_GLEXT
#define __glext_h_ /* Don't let gl.h include glext.h */
#endif