feat: enable raw mouse motion

This commit is contained in:
2026-03-21 14:26:45 +08:00
parent 08340f15d3
commit 3b839ad630
2 changed files with 7 additions and 2 deletions

View File

@@ -46,7 +46,12 @@ void Window::init() {
glfwSetInputMode(m_window, GLFW_CURSOR, GLFW_CURSOR_DISABLED);
if (glfwRawMouseMotionSupported()) {
glfwSetInputMode(m_window, GLFW_RAW_MOUSE_MOTION, GLFW_TRUE);
} else {
LOG::warn("Don,t support Raw Mouse Motion");
}
//update_viewport();
}