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
@@ -131,7 +131,7 @@ int main(void)
|
||||
{
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
glfwSwapBuffers();
|
||||
glfwSwapBuffers(window_handle);
|
||||
glfwWaitEvents();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user