mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 18:15:10 +00:00
Make Escape exit msaa test
This commit is contained in:
parent
9f60cd18e3
commit
2b6a139526
@ -84,6 +84,9 @@ static void key_callback(GLFWwindow* window, int key, int scancode, int action,
|
|||||||
case GLFW_KEY_SPACE:
|
case GLFW_KEY_SPACE:
|
||||||
glfwSetTime(0.0);
|
glfwSetTime(0.0);
|
||||||
break;
|
break;
|
||||||
|
case GLFW_KEY_ESCAPE:
|
||||||
|
glfwSetWindowShouldClose(window, GLFW_TRUE);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user