Cleanup & implementation of #32

This commit is contained in:
Jarcode
2018-03-18 12:20:20 -07:00
parent f32f0ded0f
commit 283afaaaca
7 changed files with 36 additions and 19 deletions

View File

@@ -119,7 +119,7 @@ static void set_visible(GLFWwindow* w, bool visible) {
else glfwHideWindow(w);
}
static bool swap_buffers(GLFWwindow* w) {
static void swap_buffers(GLFWwindow* w) {
glfwSwapBuffers(w);
glfwPollEvents();
}