Fixed compiler error with the latest Xcode package

This commit is contained in:
Sam Lantinga 2011-01-18 14:26:30 -08:00
parent e8d5bc7c67
commit d16468c1cb

View file

@ -81,6 +81,7 @@
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
@ -88,6 +89,7 @@ typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
Bool direct,
const int
*attrib_list);
#endif /* GLX_ARB_create_context */
int
X11_GL_LoadLibrary(_THIS, const char *path)