aboutsummaryrefslogtreecommitdiff
path: root/subprojects/d2tk/src/frontend_pugl.c
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/d2tk/src/frontend_pugl.c')
-rw-r--r--subprojects/d2tk/src/frontend_pugl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/d2tk/src/frontend_pugl.c b/subprojects/d2tk/src/frontend_pugl.c
index ba94f8a..b607a6e 100644
--- a/subprojects/d2tk/src/frontend_pugl.c
+++ b/subprojects/d2tk/src/frontend_pugl.c
@@ -624,7 +624,7 @@ d2tk_pugl_new(const d2tk_pugl_config_t *config, uintptr_t *widget)
config->w, config->h);
}
puglSetViewHint(dpugl->view, PUGL_RESIZABLE, !config->fixed_size);
- puglSetViewHint(dpugl->view, PUGL_DOUBLE_BUFFER, false);
+ puglSetViewHint(dpugl->view, PUGL_DOUBLE_BUFFER, true);
puglSetViewHint(dpugl->view, PUGL_SWAP_INTERVAL, 1);
puglSetHandle(dpugl->view, dpugl);
puglSetEventFunc(dpugl->view, _d2tk_frontend_event_func);