From b4f34241ec850fbeffcb3278fea85f06d1666c43 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Sat, 31 May 2014 03:44:51 -0700 Subject: darwin: Remove extra kCGLPFAColorSize attribute when requesting an offscreen context https://xquartz.macosforge.org/trac/ticket/650 Signed-off-by: Jeremy Huddleston Sequoia --- src/glx/apple/apple_visual.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/glx/apple/apple_visual.c b/src/glx/apple/apple_visual.c index 046581b8b45..d665cd7e01c 100644 --- a/src/glx/apple/apple_visual.c +++ b/src/glx/apple/apple_visual.c @@ -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 -- cgit v1.2.3