Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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

  • Loading branch information
slouken committed Dec 1, 2010
1 parent 00dae1d commit 73804d00abc7b6856243196b34f59774c9fe4828
Showing with 4 additions and 0 deletions.
  1. +4 −0 include/SDL_opengl.h
@@ -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

0 comments on commit 73804d0

Please sign in to comment.