mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-25 12:30:49 +00:00
Fix mouse lock/high-dpi 2
This commit is contained in:
parent
3b1debaa0d
commit
f33ed2892a
2 changed files with 5 additions and 8 deletions
|
@ -885,13 +885,7 @@ void _InputInitialiseJoys()
|
|||
|
||||
long _InputInitialiseMouse()
|
||||
{
|
||||
#ifdef IMPROVED_VIDEOMODE
|
||||
// May be windowed, transition will be handled in CMenuManager::SwitchMenuOnAndOff()
|
||||
glfwSetInputMode(PSGLOBAL(window), GLFW_CURSOR, GLFW_CURSOR_HIDDEN);
|
||||
#else
|
||||
// Always fullscreen, disable mouse
|
||||
glfwSetInputMode(PSGLOBAL(window), GLFW_CURSOR, GLFW_CURSOR_DISABLED);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue