Merge pull request #5276 from ligfx/macosheadless

Add headless support on macOS
This commit is contained in:
shuffle2
2017-06-05 20:49:02 -07:00
committed by GitHub
6 changed files with 79 additions and 56 deletions

View File

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