Add headless support on macOS

This commit is contained in:
Michael Maltese
2017-04-15 19:23:19 -07:00
parent a389ae0711
commit 5298328cb1
5 changed files with 59 additions and 38 deletions

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();