Patched to compile on FreeBSD 8.2.
This commit is contained in:
parent
e3e3adf168
commit
0e49fa682a
2 changed files with 5 additions and 1 deletions
|
@ -44,6 +44,10 @@
|
|||
#define NO_SDL_GLEXT 1
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__ /* !!! FIXME: temp compiler warning fix... */
|
||||
#define NO_SDL_GLEXT 1
|
||||
#endif
|
||||
|
||||
#ifdef __glext_h_
|
||||
/* Someone has already included glext.h */
|
||||
#define NO_SDL_GLEXT
|
||||
|
|
|
@ -75,6 +75,7 @@ typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
|
|||
Bool direct,
|
||||
const int
|
||||
*attrib_list);
|
||||
#endif
|
||||
|
||||
#ifndef 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_LOSE_CONTEXT_ON_RESET_ARB 0x8252
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef GLX_EXT_create_context_es2_profile
|
||||
#define GLX_EXT_create_context_es2_profile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue