diff --git a/Source/Engine/Platform/Linux/LinuxPlatform.cpp b/Source/Engine/Platform/Linux/LinuxPlatform.cpp index 55354347a..680de1dfb 100644 --- a/Source/Engine/Platform/Linux/LinuxPlatform.cpp +++ b/Source/Engine/Platform/Linux/LinuxPlatform.cpp @@ -1803,7 +1803,11 @@ const String& LinuxPlatform::GetHomeDirectory() String LinuxPlatform::GetDisplayServer() { +#if PLATFORM_SDL + return SDLPlatform::GetDisplayServer(); +#else return xDisplay ? TEXT("X11") : TEXT(""); +#endif } bool LinuxPlatform::Is64BitPlatform()