mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Renamed GLFW_SAMPLES and GLFW_SHOULD_CLOSE.
This commit is contained in:
+1
-1
@@ -614,7 +614,7 @@ int main( void )
|
||||
/* Check if we are still running */
|
||||
if (glfwGetKey( window, GLFW_KEY_ESCAPE ))
|
||||
break;
|
||||
if (glfwGetWindowParam(window, GLFW_CLOSE_REQUESTED))
|
||||
if (glfwGetWindowParam(window, GLFW_SHOULD_CLOSE))
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user