mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 08:50:15 +00:00
Renamed GLFW_SAMPLES and GLFW_SHOULD_CLOSE.
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ int main(void)
|
||||
|
||||
set_swap_interval(window, swap_interval);
|
||||
|
||||
while (!glfwGetWindowParam(window, GLFW_CLOSE_REQUESTED))
|
||||
while (!glfwGetWindowParam(window, GLFW_SHOULD_CLOSE))
|
||||
{
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user