From 5fdf1f784bf449d7ce9839506fa23c5357696c4c Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Mon, 10 Sep 2012 00:44:15 +0200 Subject: darwin: do not create double-buffered offscreen pixel formats http://xquartz.macosforge.org/trac/ticket/536 Signed-off-by: Jeremy Huddleston Sequoia --- src/glx/apple/apple_visual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3