commit | 585a840329ecc803ef363949b1e5eb28624c4a49 | [log] [tgz] |
---|---|---|
author | Camilla Berglund <elmindreda@elmindreda.org> | Mon Aug 06 18:13:37 2012 +0200 |
committer | Camilla Berglund <elmindreda@elmindreda.org> | Mon Aug 06 18:13:37 2012 +0200 |
tree | 2775668959c6592e7fb0d00ac6ff1e5858c78f63 | |
parent | aff30d0baa42af743c1ed956fa6e517f35e37a4d [diff] [blame] |
Added window parameter to glfwSwapBuffers.
diff --git a/tests/sharing.c b/tests/sharing.c index 5a2e028..8031a9b 100644 --- a/tests/sharing.c +++ b/tests/sharing.c
@@ -172,11 +172,12 @@ { glfwMakeContextCurrent(windows[0]); draw_quad(texture); - glfwSwapBuffers(); glfwMakeContextCurrent(windows[1]); draw_quad(texture); - glfwSwapBuffers(); + + glfwSwapBuffers(windows[0]); + glfwSwapBuffers(windows[1]); glfwWaitEvents(); }