summaryrefslogtreecommitdiff
path: root/gl.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-05 12:37:43 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-05 12:37:43 -0500
commita9490274d79ecf0d7d9872c23ca4db1ac46570e6 (patch)
tree2c73ade7804ac229f9891bfef82d3971c2cfc50d /gl.c
parent7e3f48153aacf5ef440797eceb748badb729cc6d (diff)
sleep before SDL_GL_SwapWindow to stop busy loop
Diffstat (limited to 'gl.c')
-rw-r--r--gl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gl.c b/gl.c
index 5ef3360..a9850cd 100644
--- a/gl.c
+++ b/gl.c
@@ -16,6 +16,7 @@
do(VIEWPORT, Viewport)\
do(CLEARCOLOR, ClearColor)\
do(CLEAR, Clear)\
+ do(FINISH, Finish)\
do(CREATESHADER, CreateShader)\
do(DELETESHADER, DeleteShader)\
do(CREATEPROGRAM, CreateProgram)\