darwin: Remove extra kCGLPFAColorSize attribute when requesting an offscreen context
[mesa.git] / src / glx / apple / apple_cgl.h
index 5e98a00fe79c6c98456232ddb580e9d3290eeec3..002c7e64badd0b5e8fa827d7f68d9935c58d3051 100644 (file)
@@ -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);