mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-08 11:56:19 +02:00
osx: only use accelerated backends
This commit is contained in:
1 parent
b43c2e4d13
commit
e1ca002937
1 file changed
+1
-1
@@ -48,7 +48,7 @@ bool cInterfaceAGL::Create(void *&window_handle)
|
||||
|
||||
NSRect size;
|
||||
NSUInteger style = NSMiniaturizableWindowMask;
|
||||
NSOpenGLPixelFormatAttribute attr[4] = { NSOpenGLPFADoubleBuffer, NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core, 0 };
|
||||
NSOpenGLPixelFormatAttribute attr[] = { NSOpenGLPFADoubleBuffer, NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core, NSOpenGLPFAAccelerated, 0 };
|
||||
NSOpenGLPixelFormat *fmt = [[NSOpenGLPixelFormat alloc]
|
||||
initWithAttributes: attr];
|
||||
if (fmt == nil) {
|
||||
|
||||
Reference in new issue
Block a user