summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-16 17:13:18 +0100
committerGitHub <noreply@github.com>2022-03-16 17:13:18 +0100
commite7d49e6937903cad50635dd92fc9cd19bab94570 (patch)
treea7fac4c3ff5f9e9d0012350d13974601802b8bc5 /platform/windows
parent7e556178a59c1959c461cc91bc797040e99a06d7 (diff)
parentfa37f170296284bb737dabb1c6c6fbf66db31c0f (diff)
Merge pull request #59199 from akien-mga/windows-shadowed-mouse_monitor
Diffstat (limited to 'platform/windows')
-rw-r--r--platform/windows/display_server_windows.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp
index e1ab2d1c83..d09ca52099 100644
--- a/platform/windows/display_server_windows.cpp
+++ b/platform/windows/display_server_windows.cpp
@@ -3596,12 +3596,11 @@ DisplayServerWindows::DisplayServerWindows(const String &p_rendering_driver, Win
return;
}
- //gl_manager->set_use_vsync(current_videomode.use_vsync);
RasterizerGLES3::make_current();
}
#endif
- HHOOK mouse_monitor = SetWindowsHookEx(WH_MOUSE, ::MouseProc, nullptr, GetCurrentThreadId());
+ mouse_monitor = SetWindowsHookEx(WH_MOUSE, ::MouseProc, nullptr, GetCurrentThreadId());
Point2i window_position(
(screen_get_size(0).width - p_resolution.width) / 2,