Fixed key names in the example and test programs.

This commit is contained in:
Marcus
2011-01-03 22:22:14 +01:00
parent 3b0084799c
commit e3cb563a28
13 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
static void key_callback(GLFWwindow window, int key, int action)
{
if (action == GLFW_PRESS && key == GLFW_KEY_ESC)
if (action == GLFW_PRESS && key == GLFW_KEY_ESCAPE)
glfwCloseWindow(window);
}