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

Patched to compile on FreeBSD 8.2.

  • Loading branch information
icculus committed Jul 12, 2012
1 parent ed68bfa commit 865f3cc0efb6bc9663ab533ff808098c779a0964
Showing with 5 additions and 1 deletion.
  1. +4 −0 include/SDL_opengl.h
  2. +1 −1 src/video/x11/SDL_x11opengl.c
@@ -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

0 comments on commit 865f3cc

Please sign in to comment.