mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Added window parameter to glfwSwapBuffers.
This commit is contained in:
+1
-1
@@ -368,7 +368,7 @@ int main(int argc, char *argv[])
|
||||
animate();
|
||||
|
||||
// Swap buffers
|
||||
glfwSwapBuffers();
|
||||
glfwSwapBuffers(window);
|
||||
glfwPollEvents();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user