mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
apple: Rename __GLcontextModes to struct glx_config
Fixes regression introduced by:6ddf66e923Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commitbb621cb61e)
This commit is contained in:
parent
ff7e6622fc
commit
14b9e91d01
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue