aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2020-04-22 11:51:51 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2020-04-22 11:51:51 +0200
commit4c8a4217f96607419792bda06f39e7f57bbeb1cd (patch)
tree88c0be5cb2939c73847c081bd05d78a1ba75ca48
parent13b3dcb7f3dce868c6666b735e20f326ea712dbc (diff)
parentd93235efc96122a8b9183b73b761395747bb205b (diff)
downloadpatchmatrix-4c8a4217f96607419792bda06f39e7f57bbeb1cd.tar.xz
Merge commit 'd93235efc96122a8b9183b73b761395747bb205b'
-rw-r--r--subprojects/nk_pugl/nk_pugl/nk_pugl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/subprojects/nk_pugl/nk_pugl/nk_pugl.h b/subprojects/nk_pugl/nk_pugl/nk_pugl.h
index bd8b7bc..46c425e 100644
--- a/subprojects/nk_pugl/nk_pugl/nk_pugl.h
+++ b/subprojects/nk_pugl/nk_pugl/nk_pugl.h
@@ -1053,7 +1053,6 @@ nk_pugl_init(nk_pugl_window_t *win)
// init pugl
win->world = puglNewWorld(cfg->parent ? PUGL_MODULE : PUGL_PROGRAM,
cfg->threads ? PUGL_WORLD_THREADS : 0);
- fprintf(stderr, "threads: %i\n", cfg->threads);
#if defined(__APPLE__) || defined(_WIN32)
uint8_t bytes [0x10];
@@ -1129,7 +1128,7 @@ nk_pugl_init(nk_pugl_window_t *win)
cfg->width, cfg->height);
}
puglSetViewHint(win->view, PUGL_RESIZABLE, cfg->resizable);
- puglSetViewHint(win->view, PUGL_DOUBLE_BUFFER, false);
+ puglSetViewHint(win->view, PUGL_DOUBLE_BUFFER, true);
puglSetViewHint(win->view, PUGL_SWAP_INTERVAL, 1);
puglSetHandle(win->view, win);
puglSetEventFunc(win->view, _nk_pugl_event_func);