Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Don't conflict with glext.h if it's already been included
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 1, 2010
1 parent 00dae1d commit 73804d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/SDL_opengl.h
Expand Up @@ -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
Expand Down

0 comments on commit 73804d0

Please sign in to comment.