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 dc22c27aad
commit 14d78bb03f

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