diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 12:37:43 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 12:37:43 -0500 |
commit | a9490274d79ecf0d7d9872c23ca4db1ac46570e6 (patch) | |
tree | 2c73ade7804ac229f9891bfef82d3971c2cfc50d /gl.c | |
parent | 7e3f48153aacf5ef440797eceb748badb729cc6d (diff) |
sleep before SDL_GL_SwapWindow to stop busy loop
Diffstat (limited to 'gl.c')
-rw-r--r-- | gl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)\ |