summary refs log tree commit diff
path: root/src/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index 413cd47..2f1c2c0 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -16,6 +16,7 @@ Window::Window(const char *title, uint32_t width, uint32_t height) {
     }
 
     glfwMakeContextCurrent(m_window);
+    glfwSetInputMode(m_window, GLFW_CURSOR, GLFW_CURSOR_DISABLED);
 }
 
 Window::~Window() {