Mesa (8.0): darwin: Remove extra kCGLPFAColorSize attribute when requesting an offscreen context
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Sat May 31 10:45:43 UTC 2014
Module: Mesa
Branch: 8.0
Commit: 13b415f1011cdf8737562398b892516eb65cc9e6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13b415f1011cdf8737562398b892516eb65cc9e6
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>
(cherry picked from commit b4f34241ec850fbeffcb3278fea85f06d1666c43)
---
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