aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-04-18 08:22:57 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-04-18 08:22:57 +0200
commitadeaf2a297f89dd12a6aa854974acdb15bbc14e0 (patch)
treeb4ca3e0e4bc1875e9510b9536a756a524a5aef1b
parent524cc81759ec3d5528646c4f9535e5dc0997dd5e (diff)
downloadsherlock.lv2-adeaf2a297f89dd12a6aa854974acdb15bbc14e0.tar.xz
add NK_PUGL_ALWAYS_RENDER preprocessor switch.
-rw-r--r--nk_pugl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nk_pugl.h b/nk_pugl.h
index 4b84654..6eba4af 100644
--- a/nk_pugl.h
+++ b/nk_pugl.h
@@ -317,7 +317,7 @@ _nk_pugl_render_gl2(nk_pugl_window_t *win)
{
nk_pugl_config_t *cfg = &win->cfg;
-#if !defined(_WIN32)
+#if !defined(_WIN32) && !defined(NK_PUGL_ALWAYS_RENDER)
// compare current command buffer with last one to defer any changes
bool has_changes = false;
const size_t size = win->ctx.memory.allocated;