Don't conflict with glext.h if it's already been included
This commit is contained in:
parent
dc22c27aad
commit
14d78bb03f
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue