mirror of
https://github.com/yawut/SDL.git
synced 2026-08-17 06:16:32 -05:00
Don't conflict with glext.h if it's already been included
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user