aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-05-09 17:40:30 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-05-09 17:40:30 +0200
commit12257a487ecd6adbc2c43a58ff407bab10387807 (patch)
tree2fd981adbedd0c8a474f2f798077efe472720a61
parentc9303e8a0c84b2dd1419c5bff06b65f42d0ad948 (diff)
downloadsherlock.lv2-12257a487ecd6adbc2c43a58ff407bab10387807.tar.xz
omk: don't clear draw_list.
* we want to handle this manually in nk_pugl.
-rw-r--r--nuklear.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuklear.h b/nuklear.h
index 4070dee..b1f229e 100644
--- a/nuklear.h
+++ b/nuklear.h
@@ -16198,7 +16198,7 @@ nk_clear(struct nk_context *ctx)
ctx->style.cursor_active = ctx->style.cursors[NK_CURSOR_ARROW];
NK_MEMSET(&ctx->overlay, 0, sizeof(ctx->overlay));
#ifdef NK_INCLUDE_VERTEX_BUFFER_OUTPUT
- nk_draw_list_clear(&ctx->draw_list);
+ //nk_draw_list_clear(&ctx->draw_list);
#endif
/* garbage collector */