mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Renamed GLFW_SAMPLES and GLFW_SHOULD_CLOSE.
This commit is contained in:
+1
-1
@@ -386,7 +386,7 @@ int main(void)
|
||||
|
||||
printf("Main loop starting\n");
|
||||
|
||||
while (!glfwGetWindowParam(window, GLFW_CLOSE_REQUESTED))
|
||||
while (!glfwGetWindowParam(window, GLFW_SHOULD_CLOSE))
|
||||
glfwWaitEvents();
|
||||
|
||||
glfwTerminate();
|
||||
|
||||
Reference in New Issue
Block a user