aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2024-10-26 15:09:59 +0200
committerDrew DeVault <sir@cmpwn.com>2024-10-26 15:09:59 +0200
commitce0d3fc291089ac22a2cba914787620a95ea999e (patch)
tree17943561ef235b32ff87e577abe0170c127c5a46
parentsdl2: add (some) mouse functionality (diff)
downloadhare-chip8-ce0d3fc291089ac22a2cba914787620a95ea999e.tar.gz
Add SDL_GL_SetSwapInterval
-rw-r--r--sdl2/gl.ha1
1 files changed, 1 insertions, 0 deletions
diff --git a/sdl2/gl.ha b/sdl2/gl.ha
index 9e3c163..b49ecf0 100644
--- a/sdl2/gl.ha
+++ b/sdl2/gl.ha
@@ -45,3 +45,4 @@ export @symbol("SDL_GL_GetProcAddress") fn SDL_GL_GetProcAddress(
export @symbol("SDL_GL_SetAttribute") fn SDL_GL_SetAttribute(
attr: SDL_GLattr, value: int) *opaque;
export @symbol("SDL_GL_SwapWindow") fn SDL_GL_SwapWindow(window: *SDL_Window) void;
+export @symbol("SDL_GL_SetSwapInterval") fn SDL_GL_SetSwapInterval(interval: int) bool;