mirror of
https://github.com/glfw/glfw.git
synced 2026-09-17 14:22:50 +00:00
Replaced GLFW_MOUSE_CURSOR enable with glfwSetCursorMode.
This commit is contained in:
@@ -465,7 +465,7 @@ int main(void)
|
||||
glfwEnable(window, GLFW_STICKY_KEYS);
|
||||
|
||||
// Enable mouse cursor (only needed for fullscreen mode)
|
||||
glfwEnable(window, GLFW_MOUSE_CURSOR);
|
||||
glfwSetCursorMode(window, GLFW_CURSOR_NORMAL);
|
||||
|
||||
// Set callback functions
|
||||
glfwSetWindowSizeCallback(windowSizeFun);
|
||||
|
||||
Reference in New Issue
Block a user