diff options
author | Jonas Maebe <[email protected]> | 2012-09-10 00:44:15 +0200 |
---|---|---|
committer | Jeremy Huddleston Sequoia <[email protected]> | 2012-09-24 16:06:07 -0700 |
commit | 5fdf1f784bf449d7ce9839506fa23c5357696c4c (patch) | |
tree | 59bb1ffa88c7a423d2b13115e70d58239f5e1234 | |
parent | 92b033a89ebd46d640ecb2592159087a87e5516e (diff) |
darwin: do not create double-buffered offscreen pixel formats
http://xquartz.macosforge.org/trac/ticket/536
Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
-rw-r--r-- | src/glx/apple/apple_visual.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/apple/apple_visual.c b/src/glx/apple/apple_visual.c index a24616480ab..282934f1749 100644 --- a/src/glx/apple/apple_visual.c +++ b/src/glx/apple/apple_visual.c @@ -116,7 +116,7 @@ apple_visual_create_pfobj(CGLPixelFormatObj * pfobj, const struct glx_config * m *uses_stereo = false; } - if (mode->doubleBufferMode) { + if (!offscreen && mode->doubleBufferMode) { attr[numattr++] = kCGLPFADoubleBuffer; *double_buffered = true; } |