summaryrefslogtreecommitdiff
path: root/src/glx/apple/apple_glx_pbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/apple/apple_glx_pbuffer.c')
-rw-r--r--src/glx/apple/apple_glx_pbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/apple/apple_glx_pbuffer.c b/src/glx/apple/apple_glx_pbuffer.c
index 1466fea487..a5ef59ccf8 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;
- __GLcontextModes *modes = (__GLcontextModes *) config;
+ struct glx_config *modes = (__GLcontextModes *) config;
root = DefaultRootWindow(dpy);
screen = DefaultScreen(dpy);