From: Jeremy Huddleston Sequoia Date: Sat, 31 May 2014 10:44:51 +0000 (-0700) Subject: darwin: Remove extra kCGLPFAColorSize attribute when requesting an offscreen context X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4f34241ec850fbeffcb3278fea85f06d1666c43;p=mesa.git darwin: Remove extra kCGLPFAColorSize attribute when requesting an offscreen context https://xquartz.macosforge.org/trac/ticket/650 Signed-off-by: Jeremy Huddleston Sequoia --- 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