mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
Fixed key names in the example and test programs.
This commit is contained in:
@@ -497,7 +497,7 @@ static void key_callback(GLFWwindow window, int key, int action)
|
||||
{
|
||||
switch(key)
|
||||
{
|
||||
case GLFW_KEY_ESC:
|
||||
case GLFW_KEY_ESCAPE:
|
||||
/* Exit program on Escape */
|
||||
running = GL_FALSE;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user