Add headless support on macOS
This commit is contained in:
1 parent
a389ae0711
commit
5298328cb1
5 files changed
+59
-38
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user