mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
darwin: do not create double-buffered offscreen pixel formats
http://xquartz.macosforge.org/trac/ticket/536
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
(cherry picked from commit 5fdf1f784b)
This commit is contained in:
parent
25da204f69
commit
59997d619d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue