diff --git a/tests/msaa.c b/tests/msaa.c index ab697c69..6330838a 100644 --- a/tests/msaa.c +++ b/tests/msaa.c @@ -84,6 +84,9 @@ static void key_callback(GLFWwindow* window, int key, int scancode, int action, case GLFW_KEY_SPACE: glfwSetTime(0.0); break; + case GLFW_KEY_ESCAPE: + glfwSetWindowShouldClose(window, GLFW_TRUE); + break; } }