Commit d16468c1 authored by Sam Lantinga's avatar Sam Lantinga

Fixed compiler error with the latest Xcode package

parent e8d5bc7c
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
static void X11_GL_InitExtensions(_THIS); static void X11_GL_InitExtensions(_THIS);
/* Typedef for the GL 3.0 context creation function */ /* Typedef for the GL 3.0 context creation function */
#ifndef GLX_ARB_create_context
typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy, typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
GLXFBConfig config, GLXFBConfig config,
GLXContext GLXContext
...@@ -88,6 +89,7 @@ typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy, ...@@ -88,6 +89,7 @@ typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
Bool direct, Bool direct,
const int const int
*attrib_list); *attrib_list);
#endif /* GLX_ARB_create_context */
int int
X11_GL_LoadLibrary(_THIS, const char *path) X11_GL_LoadLibrary(_THIS, const char *path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment