Update cursor test tracking when enabling cursor

Related to #1461.
This commit is contained in:
Camilla Löwy 2019-04-10 19:04:21 +02:00 committed by Camilla Löwy
parent 45a62adf82
commit f03614277d

View File

@ -181,6 +181,7 @@ static void key_callback(GLFWwindow* window, int key, int scancode, int action,
case GLFW_KEY_N:
glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_NORMAL);
glfwGetCursorPos(window, &cursor_x, &cursor_y);
printf("(( cursor is normal ))\n");
break;