Merge pull request #59199 from akien-mga/windows-shadowed-mouse_monitor
This commit is contained in:
commit
e7d49e6937
1 changed files with 1 additions and 2 deletions
|
@ -3596,12 +3596,11 @@ DisplayServerWindows::DisplayServerWindows(const String &p_rendering_driver, Win
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//gl_manager->set_use_vsync(current_videomode.use_vsync);
|
|
||||||
RasterizerGLES3::make_current();
|
RasterizerGLES3::make_current();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
HHOOK mouse_monitor = SetWindowsHookEx(WH_MOUSE, ::MouseProc, nullptr, GetCurrentThreadId());
|
mouse_monitor = SetWindowsHookEx(WH_MOUSE, ::MouseProc, nullptr, GetCurrentThreadId());
|
||||||
|
|
||||||
Point2i window_position(
|
Point2i window_position(
|
||||||
(screen_get_size(0).width - p_resolution.width) / 2,
|
(screen_get_size(0).width - p_resolution.width) / 2,
|
||||||
|
|
Loading…
Reference in a new issue