macOS: add NSOpenGLPFADoubleBuffer to NSOpenGLPixelFormatAttribute
parent
8e7416f3fd
commit
3af8127e8f
|
@ -371,6 +371,7 @@ MenuBarRef GetOrCreateMainMenu(bool *unique) {
|
|||
|
||||
- (id)initWithFrame:(NSRect)frameRect {
|
||||
NSOpenGLPixelFormatAttribute attrs[] = {
|
||||
NSOpenGLPFADoubleBuffer,
|
||||
NSOpenGLPFAColorSize, 24,
|
||||
NSOpenGLPFADepthSize, 24,
|
||||
0
|
||||
|
|
Loading…
Reference in New Issue