From dfc0c13dfa082fda9e0a9815dd4bbacafefe4b70 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Tue, 19 Nov 2024 22:16:28 +0300 Subject: [PATCH] Prevent ImGui from displaying OS cursor. --- UnleashedRecomp/gpu/video.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/UnleashedRecomp/gpu/video.cpp b/UnleashedRecomp/gpu/video.cpp index da96bc0c..549204f1 100644 --- a/UnleashedRecomp/gpu/video.cpp +++ b/UnleashedRecomp/gpu/video.cpp @@ -1001,6 +1001,7 @@ static void CreateImGuiBackend() { ImGuiIO& io = ImGui::GetIO(); io.BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset; + io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange; OptionsMenu::Init(); ImGui_ImplSDL2_InitForOther(Window::s_pWindow);