mirror of
https://github.com/halpz/re3.git
synced 2025-07-02 15:30:46 +00:00
Fix mouse lock/high-dpi 2
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user