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/examples/heightmap.c b/examples/heightmap.c index 7b03a1b..ce894f9 100644 --- a/examples/heightmap.c +++ b/examples/heightmap.c
@@ -663,7 +663,7 @@ glDrawElements(GL_LINES, 2* MAP_NUM_LINES , GL_UNSIGNED_INT, 0); /* display and process events through callbacks */ - glfwSwapBuffers(); + glfwSwapBuffers(window); glfwPollEvents(); /* Check the frame rate and update the heightmap if needed */ dt = glfwGetTime();