macOS: add NSOpenGLPFADoubleBuffer to NSOpenGLPixelFormatAttribute

pull/755/head
Koen Schmeets 2020-10-20 14:38:34 +02:00 committed by phkahler
parent 8e7416f3fd
commit 3af8127e8f
1 changed files with 1 additions and 0 deletions

View File

@ -371,6 +371,7 @@ MenuBarRef GetOrCreateMainMenu(bool *unique) {
- (id)initWithFrame:(NSRect)frameRect {
NSOpenGLPixelFormatAttribute attrs[] = {
NSOpenGLPFADoubleBuffer,
NSOpenGLPFAColorSize, 24,
NSOpenGLPFADepthSize, 24,
0