This commit is contained in:
Bruno Herbelin
2025-01-09 19:51:35 +01:00
parent f8b42408e2
commit 4549665e08

View File

@@ -338,7 +338,7 @@ bool Rendering::init()
return false; return false;
} }
#if GLFW_VERSION_MAJOR > 2 && GLFW_VERSION_MINOR > 2 #if GLFW_VERSION_MAJOR > 2 && GLFW_VERSION_MINOR > 3
wayland_ = glfwGetPlatform() == GLFW_PLATFORM_WAYLAND; wayland_ = glfwGetPlatform() == GLFW_PLATFORM_WAYLAND;
if (wayland_) if (wayland_)
Log::Info("Warning: some features are not available with WAYLAND window manager and framerate might be slow. Vimix prefers X11 window manager."); Log::Info("Warning: some features are not available with WAYLAND window manager and framerate might be slow. Vimix prefers X11 window manager.");