ADDED: cursorLocked variable and review required code #4940 #4955

This commit is contained in:
Ray
2025-08-12 11:33:58 +02:00
parent c4414fa1ed
commit 95e4494cfe
6 changed files with 24 additions and 24 deletions

View File

@ -1029,7 +1029,7 @@ void EnableCursor(void)
if (glfwRawMouseMotionSupported()) glfwSetInputMode(platform.handle, GLFW_RAW_MOUSE_MOTION, GLFW_FALSE);
CORE.Input.Mouse.cursorHidden = false;
CORE.Input.Mouse.cursorLocked = false;
}
// Disables cursor (lock cursor)
@ -1045,7 +1045,7 @@ void DisableCursor(void)
if (glfwRawMouseMotionSupported()) glfwSetInputMode(platform.handle, GLFW_RAW_MOUSE_MOTION, GLFW_TRUE);
CORE.Input.Mouse.cursorHidden = true;
CORE.Input.Mouse.cursorLocked = true;
}
// Swap back buffer with front buffer (screen drawing)