From 3af8127e8f3d6afb6231fc021005eabd196d75fc Mon Sep 17 00:00:00 2001 From: Koen Schmeets Date: Tue, 20 Oct 2020 14:38:34 +0200 Subject: [PATCH] macOS: add NSOpenGLPFADoubleBuffer to NSOpenGLPixelFormatAttribute --- src/platform/guimac.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/guimac.mm b/src/platform/guimac.mm index 0f0997c4..5aa7f054 100644 --- a/src/platform/guimac.mm +++ b/src/platform/guimac.mm @@ -371,6 +371,7 @@ MenuBarRef GetOrCreateMainMenu(bool *unique) { - (id)initWithFrame:(NSRect)frameRect { NSOpenGLPixelFormatAttribute attrs[] = { + NSOpenGLPFADoubleBuffer, NSOpenGLPFAColorSize, 24, NSOpenGLPFADepthSize, 24, 0