Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed build against 10.4 SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 18, 2011
1 parent fe593aa commit 743665c
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/video/x11/SDL_x11opengl.c
Expand Up @@ -64,6 +64,15 @@
#define GLX_CONTEXT_FLAGS_ARB 0x2094
#define GLX_CONTEXT_DEBUG_BIT_ARB 0x0001
#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002

/* Typedef for the GL 3.0 context creation function */
typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
GLXFBConfig config,
GLXContext
share_context,
Bool direct,
const int
*attrib_list);
#endif

#define OPENGL_REQUIRS_DLOPEN
Expand All @@ -80,16 +89,6 @@

static void X11_GL_InitExtensions(_THIS);

/* Typedef for the GL 3.0 context creation function */
#ifndef GLX_ARB_create_context
typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
GLXFBConfig config,
GLXContext
share_context,
Bool direct,
const int
*attrib_list);
#endif /* GLX_ARB_create_context */

int
X11_GL_LoadLibrary(_THIS, const char *path)
Expand Down

0 comments on commit 743665c

Please sign in to comment.