summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2015-09-17 17:48:25 +0200
committerdegasus <wickmarkus@web.de>2015-09-19 13:22:55 +0200
commitc976e14277aa70eaeb4fe6115137645a2a77b507 (patch)
treef468c9b1a058146fec28e14eef5f2f89017af865 /Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp
parent9b08de95224c817815c0705f8531cf007553b57e (diff)
GLInterface: Fix VideoSW on linux + OSX (v2)
Our Video Software backend isn't OpenGL Core compatible, so we need a flag to alloc a compatible one. v2: Fix AGL profile selection.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp b/Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp
index 3649886104..43c399e8ba 100644
--- a/Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp
+++ b/Source/Core/VideoBackends/OGL/GLInterface/EGL.cpp
@@ -96,7 +96,7 @@ void cInterfaceEGL::DetectMode()
// Create rendering window.
// Call browser: Core.cpp:EmuThread() > main.cpp:Video_Initialize()
-bool cInterfaceEGL::Create(void *window_handle)
+bool cInterfaceEGL::Create(void *window_handle, bool core)
{
const char *s;
EGLint egl_major, egl_minor;