From f59094e033fafc28664700061e2726be70a1568c Mon Sep 17 00:00:00 2001 From: Arisotura Date: Thu, 20 Jun 2019 16:00:12 +0200 Subject: OpenGL: disable vsync, atleast under Windows --- src/libui_sdl/libui/unix/gl.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libui_sdl/libui/unix/gl.c') 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) -- cgit v1.2.3