summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_visual.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/apple/apple_visual.c')
-rw-r--r--src/glx/apple/apple_visual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/apple/apple_visual.c b/src/glx/apple/apple_visual.c
index da5aa05fd50..7a9525e8170 100644
--- a/src/glx/apple/apple_visual.c
+++ b/src/glx/apple/apple_visual.c
@@ -61,7 +61,7 @@ apple_visual_create_pfobj(CGLPixelFormatObj * pfobj, const void *mode,
bool offscreen)
{
CGLPixelFormatAttribute attr[MAX_ATTR];
- const __GLcontextModes *c = mode;
+ const struct glx_config *c = mode;
int numattr = 0;
GLint vsref = 0;
CGLError error = 0;