summaryrefslogtreecommitdiff
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:45:34 -0700
commit13b415f1011cdf8737562398b892516eb65cc9e6 (patch)
tree880b68c69ac7ae4ed1948b261cb9e2d3d0e7182f
parent9d6e12eb6b06202519e48a7321f32944d7a34b0f (diff)
darwin: Remove extra kCGLPFAColorSize attribute when requesting an offscreen context8.0
https://xquartz.macosforge.org/trac/ticket/650 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> (cherry picked from commit b4f34241ec850fbeffcb3278fea85f06d1666c43)
-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 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