Module: Mesa Branch: 7.10 Commit: 56930eccb29189068c15a395fc1cce7320bc5095 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=56930eccb29189068c15a395fc1cce7320bc5095
Author: Jeremy Huddleston <jerem...@apple.com> Date: Sun Jun 5 17:02:33 2011 -0400 apple: Rename __GLcontextModes to struct glx_config Fixes regression introduced by: 6ddf66e9230ee862ac341c4767cf6b3b2dd2552b Signed-off-by: Jeremy Huddleston <jerem...@apple.com> (cherry picked from commit bb621cb61e0c6d7fcd06df5a77c75efe5c76926d) --- src/glx/apple/apple_glx_pbuffer.c | 2 +- src/glx/glx_pbuffer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glx/apple/apple_glx_pbuffer.c b/src/glx/apple/apple_glx_pbuffer.c index d79125d..2817cda 100644 --- a/src/glx/apple/apple_glx_pbuffer.c +++ b/src/glx/apple/apple_glx_pbuffer.c @@ -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); diff --git a/src/glx/glx_pbuffer.c b/src/glx/glx_pbuffer.c index 5f91bc6..55f570a 100644 --- a/src/glx/glx_pbuffer.c +++ b/src/glx/glx_pbuffer.c @@ -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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit