Commit 5fdf1f78 authored by Jonas Maebe's avatar Jonas Maebe Committed by Jeremy Huddleston Sequoia
Browse files

darwin: do not create double-buffered offscreen pixel formats

Signed-off-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <>
parent 92b033a8
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment