Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11opengl.c @ 5020:6dfc9c4a9ae5
Fixed compiler error with the latest Xcode package
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 18 Jan 2011 14:26:30 -0800 |
parents | e4e462f591d7 |
children | cd3a1d87cab7 |
comparison
equal
deleted
inserted
replaced
5019:64a2d8f538a1 | 5020:6dfc9c4a9ae5 |
---|---|
79 #endif | 79 #endif |
80 | 80 |
81 static void X11_GL_InitExtensions(_THIS); | 81 static void X11_GL_InitExtensions(_THIS); |
82 | 82 |
83 /* Typedef for the GL 3.0 context creation function */ | 83 /* Typedef for the GL 3.0 context creation function */ |
84 #ifndef GLX_ARB_create_context | |
84 typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy, | 85 typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy, |
85 GLXFBConfig config, | 86 GLXFBConfig config, |
86 GLXContext | 87 GLXContext |
87 share_context, | 88 share_context, |
88 Bool direct, | 89 Bool direct, |
89 const int | 90 const int |
90 *attrib_list); | 91 *attrib_list); |
92 #endif /* GLX_ARB_create_context */ | |
91 | 93 |
92 int | 94 int |
93 X11_GL_LoadLibrary(_THIS, const char *path) | 95 X11_GL_LoadLibrary(_THIS, const char *path) |
94 { | 96 { |
95 void *handle; | 97 void *handle; |