aboutsummaryrefslogtreecommitdiff
path: root/src/glfww.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glfww.c')
-rw-r--r--src/glfww.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glfww.c b/src/glfww.c
index 09d1c82..4d77462 100644
--- a/src/glfww.c
+++ b/src/glfww.c
@@ -48,7 +48,9 @@ int get_w(){
int get_h(){
return h;
}
+
#define glfw_load(w) glfwSwapBuffers(w);
+
void glfw_loop(GLFWwindow*window){
while(!glfwWindowShouldClose(window)){