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
@@ -129,7 +129,7 @@ int main(void)
|
||||
|
||||
glClearColor(0.f, 0.f, 0.f, 0.f);
|
||||
|
||||
while (!glfwGetWindowParam(window_handle, GLFW_CLOSE_REQUESTED))
|
||||
while (!glfwGetWindowParam(window_handle, GLFW_SHOULD_CLOSE))
|
||||
{
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user