darwin: Remove extra kCGLPFAColorSize attribute when requesting an offscreen context
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>
Sat, 31 May 2014 10:44:51 +0000 (03:44 -0700)
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>
Sat, 31 May 2014 10:44:51 +0000 (03:44 -0700)
https://xquartz.macosforge.org/trac/ticket/650

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
src/glx/apple/apple_visual.c

index 046581b8b45599cf13ad360c43b9eeea9765d2f0..d665cd7e01c271d6368c7f8577e1c3c1dd20be2d 100644 (file)
@@ -89,8 +89,6 @@ apple_visual_create_pfobj(CGLPixelFormatObj * pfobj, const struct glx_config * m
          ("offscreen rendering enabled.  Using kCGLPFAOffScreen\n");
 
       attr[numattr++] = kCGLPFAOffScreen;
-      attr[numattr++] = kCGLPFAColorSize;
-      attr[numattr++] = 32;
    }
    else if (getenv("LIBGL_ALWAYS_SOFTWARE") != NULL) {
       apple_glx_diagnostic