medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit b1477a74ab3d998d84ea5bd265579955ef3a7a83
parent 2f5ff424d5e0031f206fd96f3fe5c279116245bd
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Dec 24 16:22:41 +0200

Escape to quit

Diffstat:
main.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.cc b/main.cc @@ -128,7 +128,7 @@ int main( int argc, char ** argv ) { const float current_frame_time = glfwGetTime(); const float dt = current_frame_time - last_frame_time; - if( glfwGetKey( window, GLFW_KEY_Q ) == GLFW_PRESS ) { + if( glfwGetKey( window, GLFW_KEY_Q ) == GLFW_PRESS || glfwGetKey( window, GLFW_KEY_ESCAPE ) == GLFW_PRESS ) { break; }