summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/MainNoGUI.cpp
diff options
context:
space:
mode:
authorshuffle2 <godisgovernment@gmail.com>2017-06-05 20:49:02 -0700
committerGitHub <noreply@github.com>2017-06-05 20:49:02 -0700
commit192fec50b9e3a98aa625684c0a6bd016bfedbcd5 (patch)
tree842cb3abfb59fbe8f6938799b305a29475ed8df7 /Source/Core/DolphinNoGUI/MainNoGUI.cpp
parent9a9b0eed7202bd052df92113072ef7e46a0b2582 (diff)
parentc63925dc218aaa116328716e57af576eb39178bf (diff)
Merge pull request #5276 from ligfx/macosheadless
Add headless support on macOS
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/MainNoGUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
index 9e4eb3e433..528f2aa0e0 100644
--- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp
+++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
@@ -363,7 +363,7 @@ class PlatformX11 : public Platform
static Platform* GetPlatform()
{
-#if defined(USE_EGL) && defined(USE_HEADLESS)
+#if defined(USE_HEADLESS)
return new Platform();
#elif HAVE_X11
return new PlatformX11();