Add headless support on macOS

This commit is contained in:
Michael Maltese committed 2017-04-15 19:34:42 -07:00
1 parent a389ae0711
commit 5298328cb1
5 files changed
+59 -38

No files matched your search

+1 -1
View File
@@ -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();