From 73804d00abc7b6856243196b34f59774c9fe4828 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 1 Dec 2010 12:02:52 -0800 Subject: [PATCH] Don't conflict with glext.h if it's already been included --- include/SDL_opengl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h index 081962d44..b7589468b 100644 --- a/include/SDL_opengl.h +++ b/include/SDL_opengl.h @@ -38,6 +38,10 @@ #endif #include #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