Module: Mesa Branch: 9.0 Commit: 2fe673fec3d602ba2b686eedbdf2d70a42794a82 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2fe673fec3d602ba2b686eedbdf2d70a42794a82
Author: Jonas Maebe <[email protected]> Date: Mon Sep 10 00:44:15 2012 +0200 darwin: do not create double-buffered offscreen pixel formats http://xquartz.macosforge.org/trac/ticket/536 Signed-off-by: Jeremy Huddleston Sequoia <[email protected]> (cherry picked from commit 5fdf1f784bf449d7ce9839506fa23c5357696c4c) --- 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 a246164..282934f 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; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
