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
@@ -82,7 +82,7 @@ int main(void)
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
glfwSwapBuffers(windows[i]);
|
||||
|
||||
if (glfwGetWindowParam(windows[i], GLFW_CLOSE_REQUESTED))
|
||||
if (glfwGetWindowParam(windows[i], GLFW_SHOULD_CLOSE))
|
||||
running = GL_FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user