summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_visual.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/apple/apple_visual.h')
-rw-r--r--src/glx/apple/apple_visual.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/apple/apple_visual.h b/src/glx/apple/apple_visual.h
index 2cf9a9e2513..65bbc2e10ab 100644
--- a/src/glx/apple/apple_visual.h
+++ b/src/glx/apple/apple_visual.h
@@ -32,9 +32,9 @@
#include <stdbool.h>
#include <OpenGL/CGLTypes.h>
+#include "glxconfig.h"
-/* mode is expected to be of type struct glx_config. */
-void apple_visual_create_pfobj(CGLPixelFormatObj * pfobj, const void *mode,
+void apple_visual_create_pfobj(CGLPixelFormatObj * pfobj, const struct glx_config * mode,
bool * double_buffered, bool * uses_stereo,
bool offscreen);