apple: Rename __GLcontextModes to struct glx_config

Fixes regression introduced by: 6ddf66e923

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit bb621cb61e)
This commit is contained in:
Jeremy Huddleston 2011-06-05 17:02:33 -04:00
parent ff7e6622fc
commit 14b9e91d01
2 changed files with 2 additions and 2 deletions

View file

@ -128,7 +128,7 @@ apple_glx_pbuffer_create(Display * dpy, GLXFBConfig config,
Window root;
int screen;
Pixmap xid;
struct glx_config *modes = (__GLcontextModes *) config;
struct glx_config *modes = (struct glx_config *) config;
root = DefaultRootWindow(dpy);
screen = DefaultScreen(dpy);

View file

@ -843,7 +843,7 @@ glXCreatePixmap(Display * dpy, GLXFBConfig config, Pixmap pixmap,
WARN_ONCE_GLX_1_3(dpy, __func__);
#ifdef GLX_USE_APPLEGL
const struct glx_config *modes = (const __GLcontextModes *) config;
const struct glx_config *modes = (const struct glx_config *) config;
if (apple_glx_pixmap_create(dpy, modes->screen, pixmap, modes))
return None;