From 2b6a139526d6d2ea2a4eece6cf2d53b7c445a68a Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 22 Aug 2016 00:05:44 +0200 Subject: [PATCH] Make Escape exit msaa test --- tests/msaa.c | 3 +++ 1 file changed, 3 insertions(+) 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; } }