summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2014-05-31 03:44:51 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2014-05-31 03:44:51 -0700
commitb4f34241ec850fbeffcb3278fea85f06d1666c43 (patch)
treeed07c771d36de0192686c9455309519a5712aed0 /src/glx
parent83bba8f14603022c6c80bef95020e079d7cb73c0 (diff)
downloadexternal_mesa3d-b4f34241ec850fbeffcb3278fea85f06d1666c43.zip
external_mesa3d-b4f34241ec850fbeffcb3278fea85f06d1666c43.tar.gz
external_mesa3d-b4f34241ec850fbeffcb3278fea85f06d1666c43.tar.bz2
darwin: Remove extra kCGLPFAColorSize attribute when requesting an offscreen context
https://xquartz.macosforge.org/trac/ticket/650 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/apple/apple_visual.c2
1 files changed, 0 insertions, 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