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

View File

@@ -493,7 +493,7 @@ int main(void)
} // Check if the ESC key was pressed or the window was closed
while (glfwIsWindow(window) &&
glfwGetKey(window, GLFW_KEY_ESC) != GLFW_PRESS);
glfwGetKey(window, GLFW_KEY_ESCAPE) != GLFW_PRESS);
// Close OpenGL window and terminate GLFW
glfwTerminate();