mirror of
https://github.com/ocornut/imgui.git
synced 2026-04-23 07:45:35 +00:00
Accidentally broke this while shuffling code...
This commit is contained in:
@@ -231,7 +231,7 @@ static ImGui_ImplGlfw_Data* ImGui_ImplGlfw_GetBackendData(GLFWwindow* window)
|
||||
// Functions
|
||||
static bool ImGui_ImplGlfw_IsWayland()
|
||||
{
|
||||
#if GLFW_HAS_X11_OR_WAYLAND
|
||||
#if !GLFW_HAS_X11_OR_WAYLAND
|
||||
return false;
|
||||
#elif GLFW_HAS_GETPLATFORM
|
||||
return glfwGetPlatform() == GLFW_PLATFORM_WAYLAND;
|
||||
|
||||
Reference in New Issue
Block a user