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
@@ -239,7 +239,7 @@ static void window_refresh_callback(GLFWwindow window)
|
||||
printf("%08x at %0.3f: Window refresh\n", counter++, glfwGetTime());
|
||||
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
glfwSwapBuffers();
|
||||
glfwSwapBuffers(window);
|
||||
}
|
||||
|
||||
static void window_focus_callback(GLFWwindow window, int activated)
|
||||
|
||||
Reference in New Issue
Block a user