Make Escape exit msaa test

This commit is contained in:
Camilla Berglund 2016-08-22 00:05:44 +02:00
parent 9f60cd18e3
commit 2b6a139526

View File

@ -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;
}
}