aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/unix/gl.c
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2019-06-20 16:00:12 +0200
committerArisotura <thetotalworm@gmail.com>2019-06-20 16:00:12 +0200
commitf59094e033fafc28664700061e2726be70a1568c (patch)
treea8de2cd99f1510121ed3f70d20ed516bf8b35228 /src/libui_sdl/libui/unix/gl.c
parent77bf92a2721867eaa1e2f5571479b3fb0eeac16e (diff)
OpenGL: disable vsync, atleast under Windows
Diffstat (limited to 'src/libui_sdl/libui/unix/gl.c')
-rw-r--r--src/libui_sdl/libui/unix/gl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libui_sdl/libui/unix/gl.c b/src/libui_sdl/libui/unix/gl.c
index e1665ee..e15cf4f 100644
--- a/src/libui_sdl/libui/unix/gl.c
+++ b/src/libui_sdl/libui/unix/gl.c
@@ -193,6 +193,11 @@ void uiGLSwapBuffers(uiGLContext* ctx)
ctx->backbuffer = ctx->backbuffer ? 0 : 1;
}
+void uiGLSetVSync(int sync)
+{
+ // TODO
+}
+
void uiGLMakeContextCurrent(uiGLContext* ctx)
{
if (!ctx)