Fixed compiler error with the latest Xcode package

This commit is contained in:
Sam Lantinga
2011-01-18 14:26:30 -08:00
parent 9f1db64d7f
commit 5716390ec1

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)