Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2021-07-26 13:16:42 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-07-26 13:16:42 +0300
commitc17a266e299f374718c2c607c301dc6ef910ccdf (patch)
tree2ea5f31204b71985396e63daaf20c774248cddca /intern
parent1a3cb90e4eaf1aceb47ab02e53c305e2deb5c675 (diff)
Revert "GHOST/wayland: use Wayland only when 'BLENDER_WAYLAND' is set"
This reverts commit c971c851d38ad52779fa5d75c86bbfb83abf660b. This change was part of the still-under-review patch D11489, which hasn't been accepted yet.
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_ISystem.cpp7
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. */