summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_cgl.h
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2011-06-11 23:43:03 -0700
committerJeremy Huddleston <[email protected]>2011-06-11 23:43:03 -0700
commitdf1dacf093058e74ec102d8828d2751a9ed6e34e (patch)
tree82ba88e9b4772ef73ea76db1aa56fe88dbc651e9 /src/glx/apple/apple_cgl.h
parent02b6e97c75bf2e013064e789b70704c6376e0628 (diff)
apple: Store the CGL API version number for future reference
Signed-off-by: Jeremy Huddleston <[email protected]>
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);