diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-06-20 16:00:12 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-06-20 16:00:12 +0200 |
commit | f59094e033fafc28664700061e2726be70a1568c (patch) | |
tree | a8de2cd99f1510121ed3f70d20ed516bf8b35228 /src/libui_sdl/libui/ui.h | |
parent | 77bf92a2721867eaa1e2f5571479b3fb0eeac16e (diff) |
OpenGL: disable vsync, atleast under Windows
Diffstat (limited to 'src/libui_sdl/libui/ui.h')
-rw-r--r-- | src/libui_sdl/libui/ui.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libui_sdl/libui/ui.h b/src/libui_sdl/libui/ui.h index e15c127..03aef5d 100644 --- a/src/libui_sdl/libui/ui.h +++ b/src/libui_sdl/libui/ui.h @@ -620,6 +620,7 @@ _UI_EXTERN void *uiGLGetProcAddress(const char* proc); _UI_EXTERN int uiGLGetFramebuffer(uiGLContext* ctx); _UI_EXTERN float uiGLGetFramebufferScale(uiGLContext* ctx); _UI_EXTERN void uiGLSwapBuffers(uiGLContext* ctx); +_UI_EXTERN void uiGLSetVSync(int sync); _UI_ENUM(uiModifiers) { |