summaryrefslogtreecommitdiffstats
path: root/src/skel/glfw
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-11-16 13:49:00 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-11-16 13:49:00 +0100
commitf33ed2892a7a083d10c89b93b0122c6b4100a9a2 (patch)
tree7f34f758a54a6f03f8cef42a2c7497d63fcc2c04 /src/skel/glfw
parentFix mouse lock/high-dpi (diff)
downloadre3-f33ed2892a7a083d10c89b93b0122c6b4100a9a2.tar
re3-f33ed2892a7a083d10c89b93b0122c6b4100a9a2.tar.gz
re3-f33ed2892a7a083d10c89b93b0122c6b4100a9a2.tar.bz2
re3-f33ed2892a7a083d10c89b93b0122c6b4100a9a2.tar.lz
re3-f33ed2892a7a083d10c89b93b0122c6b4100a9a2.tar.xz
re3-f33ed2892a7a083d10c89b93b0122c6b4100a9a2.tar.zst
re3-f33ed2892a7a083d10c89b93b0122c6b4100a9a2.zip
Diffstat (limited to 'src/skel/glfw')
-rw-r--r--src/skel/glfw/glfw.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp
index 86abca64..982e8641 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -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;
}