summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_visual.h
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2011-06-11 22:54:59 -0700
committerJeremy Huddleston <[email protected]>2011-06-11 22:54:59 -0700
commit02b6e97c75bf2e013064e789b70704c6376e0628 (patch)
treef287abc392d0d8e1f665e49d43d3670701ada5be /src/glx/apple/apple_visual.h
parentf35913b96e743c5014e99220b1a1c5532a894d69 (diff)
apple: Use a struct glx_config * rather than a void * in apple_visual_create_pfobj
Signed-off-by: Jeremy Huddleston <[email protected]>
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);