summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_cgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/apple/apple_cgl.h')
-rw-r--r--src/glx/apple/apple_cgl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glx/apple/apple_cgl.h b/src/glx/apple/apple_cgl.h
index 5e98a00fe79..002c7e64bad 100644
--- a/src/glx/apple/apple_cgl.h
+++ b/src/glx/apple/apple_cgl.h
@@ -40,7 +40,8 @@
struct apple_cgl_api
{
- void (*get_version) (GLint * majorvers, GLint * minorvers);
+ GLint version_major, version_minor;
+ void (*get_version) (GLint * version_major, GLint * version_minor);
CGLError(*choose_pixel_format) (const CGLPixelFormatAttribute * attribs,
CGLPixelFormatObj * pix, GLint * npix);