summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/MainNoGUI.cpp
diff options
context:
space:
mode:
authorMichael Maltese <michaeljosephmaltese@gmail.com>2017-04-15 19:23:19 -0700
committerMichael Maltese <michaeljosephmaltese@gmail.com>2017-04-15 19:34:42 -0700
commit5298328cb175a17eb9ea534a9d07dc57b42d2d42 (patch)
tree1a0bcdbc85ba3045cf0ff92fc7332ef9b15a5011 /Source/Core/DolphinNoGUI/MainNoGUI.cpp
parenta389ae0711142d8c5c996fda3d1e6c5731d71de3 (diff)
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 d9293a0faa..f5860e2dca 100644
--- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp
+++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
@@ -370,7 +370,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();