Skip to content

Commit

Permalink
Window: remove set cursor call
Browse files Browse the repository at this point in the history
  • Loading branch information
JungerBoyo committed Jan 21, 2025
1 parent 4dfc48b commit 8ad2ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ve001_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ void mousePosCallback(GLFWwindow *win_handle, vmath::f64 x_pos, vmath::f64 y_pos
if (x_pos == dw / 2.0 && y_pos == dh / 2.0) {
return;
}
glfwSetCursorPos(win_handle, dw / 2.0, dh / 2.0);
//glfwSetCursorPos(win_handle, dw / 2.0, dh / 2.0);

const auto aspect_ratio = static_cast<vmath::f32>(dw) / static_cast<vmath::f32>(dh);

Expand Down

0 comments on commit 8ad2ce0

Please sign in to comment.