diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2015-09-18 13:40:09 +0200 |
|---|---|---|
| committer | Markus Wick <degasus@users.noreply.github.com> | 2015-09-18 13:40:09 +0200 |
| commit | a7e9a154a58ce1cda9b2b721e57f4045f58c20eb (patch) | |
| tree | 5483bef75515ece4532591c3af2aa23fcd860b69 /Source/Core/VideoBackends/OGL/GLInterface/AGL.cpp | |
| parent | 3f564809038bfb6679f319de81457b0d5677524a (diff) | |
Revert "GLInterface: Fix VideoSW on linux + OSX"
Diffstat (limited to 'Source/Core/VideoBackends/OGL/GLInterface/AGL.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/GLInterface/AGL.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/GLInterface/AGL.cpp b/Source/Core/VideoBackends/OGL/GLInterface/AGL.cpp index 62ee8e5a35..924fdea821 100644 --- a/Source/Core/VideoBackends/OGL/GLInterface/AGL.cpp +++ b/Source/Core/VideoBackends/OGL/GLInterface/AGL.cpp @@ -15,7 +15,7 @@ void cInterfaceAGL::Swap() // Create rendering window. // Call browser: Core.cpp:EmuThread() > main.cpp:Video_Initialize() -bool cInterfaceAGL::Create(void *window_handle, bool core) +bool cInterfaceAGL::Create(void *window_handle) { cocoaWin = reinterpret_cast<NSView*>(window_handle); NSSize size = [cocoaWin frame].size; @@ -33,7 +33,7 @@ bool cInterfaceAGL::Create(void *window_handle, bool core) s_backbuffer_width = size.width; s_backbuffer_height = size.height; - NSOpenGLPixelFormatAttribute attr[] = { NSOpenGLPFADoubleBuffer, NSOpenGLPFAOpenGLProfile, NSOpenGLPFAAccelerated, core ? NSOpenGLProfileVersion3_2Core : 0u, 0u }; + NSOpenGLPixelFormatAttribute attr[] = { NSOpenGLPFADoubleBuffer, NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core, NSOpenGLPFAAccelerated, 0 }; NSOpenGLPixelFormat *fmt = [[NSOpenGLPixelFormat alloc] initWithAttributes: attr]; if (fmt == nil) |
