mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Added window parameter to glfwSwapBuffers.
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ int main(void)
|
||||
while (running)
|
||||
{
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
glfwSwapBuffers();
|
||||
glfwSwapBuffers(window);
|
||||
glfwWaitEvents();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user