diff options
| author | Drew DeVault <sir@cmpwn.com> | 2024-10-26 15:09:59 +0200 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2024-10-26 15:09:59 +0200 |
| commit | ce0d3fc291089ac22a2cba914787620a95ea999e (patch) | |
| tree | 17943561ef235b32ff87e577abe0170c127c5a46 | |
| parent | sdl2: add (some) mouse functionality (diff) | |
| download | hare-chip8-ce0d3fc291089ac22a2cba914787620a95ea999e.tar.gz | |
Add SDL_GL_SetSwapInterval
| -rw-r--r-- | sdl2/gl.ha | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |
