Mesa (master): darwin: Remove extra kCGLPFAColorSize attribute when requesting an offscreen context
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Sat May 31 10:45:23 UTC 2014
Module: Mesa
Branch: master
Commit: b4f34241ec850fbeffcb3278fea85f06d1666c43
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4f34241ec850fbeffcb3278fea85f06d1666c43
Author: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Sat May 31 03:44:51 2014 -0700
darwin: Remove extra kCGLPFAColorSize attribute when requesting an offscreen context
https://xquartz.macosforge.org/trac/ticket/650
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
---
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 046581b..d665cd7 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
More information about the mesa-commit
mailing list