Patched to compile on FreeBSD 8.2.

This commit is contained in:
Ryan C. Gordon 2012-07-11 22:20:02 -04:00
parent e3e3adf168
commit 0e49fa682a
2 changed files with 5 additions and 1 deletions

View file

@ -44,6 +44,10 @@
#define NO_SDL_GLEXT 1 #define NO_SDL_GLEXT 1
#endif #endif
#ifdef __FreeBSD__ /* !!! FIXME: temp compiler warning fix... */
#define NO_SDL_GLEXT 1
#endif
#ifdef __glext_h_ #ifdef __glext_h_
/* Someone has already included glext.h */ /* Someone has already included glext.h */
#define NO_SDL_GLEXT #define NO_SDL_GLEXT

View file

@ -75,6 +75,7 @@ typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
Bool direct, Bool direct,
const int const int
*attrib_list); *attrib_list);
#endif
#ifndef GLX_ARB_create_context_profile #ifndef GLX_ARB_create_context_profile
#define GLX_ARB_create_context_profile #define GLX_ARB_create_context_profile
@ -90,7 +91,6 @@ typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261 #define GLX_NO_RESET_NOTIFICATION_ARB 0x8261
#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252 #define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252
#endif #endif
#endif
#ifndef GLX_EXT_create_context_es2_profile #ifndef GLX_EXT_create_context_es2_profile
#define GLX_EXT_create_context_es2_profile #define GLX_EXT_create_context_es2_profile