mirror of
https://github.com/ocornut/imgui.git
synced 2026-05-30 13:55:24 +08: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
|
// Functions
|
||||||
static bool ImGui_ImplGlfw_IsWayland()
|
static bool ImGui_ImplGlfw_IsWayland()
|
||||||
{
|
{
|
||||||
#if GLFW_HAS_X11_OR_WAYLAND
|
#if !GLFW_HAS_X11_OR_WAYLAND
|
||||||
return false;
|
return false;
|
||||||
#elif GLFW_HAS_GETPLATFORM
|
#elif GLFW_HAS_GETPLATFORM
|
||||||
return glfwGetPlatform() == GLFW_PLATFORM_WAYLAND;
|
return glfwGetPlatform() == GLFW_PLATFORM_WAYLAND;
|
||||||
|
|||||||
Reference in New Issue
Block a user