From e1ca002937cf8915ab9fb04f82e2dc5e68db1fa2 Mon Sep 17 00:00:00 2001 From: degasus Date: Mon, 11 Mar 2013 16:36:07 +0100 Subject: [PATCH] osx: only use accelerated backends --- Source/Core/DolphinWX/Src/GLInterface/AGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp b/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp index bee3d00175..603e6f399c 100644 --- a/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp +++ b/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp @@ -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) {