aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/win_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/win_gl.c')
-rw-r--r--pugl/detail/win_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/win_gl.c b/pugl/detail/win_gl.c
index 0768a4e..eb7771c 100644
--- a/pugl/detail/win_gl.c
+++ b/pugl/detail/win_gl.c
@@ -220,7 +220,7 @@ puglWinGlCreate(PuglView* view)
// Enter context and set swap interval
wglMakeCurrent(impl->hdc, surface->hglrc);
if (surface->procs.wglSwapInterval) {
- surface->procs.wglSwapInterval(1);
+ surface->procs.wglSwapInterval(view->hints[PUGL_SWAP_INTERVAL]);
}
return 0;