diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_ISystem.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/intern/ghost/intern/GHOST_ISystem.cpp b/intern/ghost/intern/GHOST_ISystem.cpp index d1f5e2ba11d..d9fecda22a4 100644 --- a/intern/ghost/intern/GHOST_ISystem.cpp +++ b/intern/ghost/intern/GHOST_ISystem.cpp @@ -57,13 +57,6 @@ GHOST_TSuccess GHOST_ISystem::createSystem() /* Special case, try Wayland, fall back to X11. */ try { m_system = new GHOST_SystemWayland(); - if (!std::getenv("BLENDER_WAYLAND")) { - printf( - "Connected to a Wayland compositor but Wayland is disabled at runtime.\n" - "Set environment variable 'BLENDER_WAYLAND' " - "(e.g. BLENDER_WAYLAND= blender) to use Wayland.\n"); - throw std::runtime_error(std::string()); - } } catch (const std::runtime_error &) { /* fallback to X11. */ |