Commit 12257a48 authored by Hanspeter Portner's avatar Hanspeter Portner

omk: don't clear draw_list.

* we want to handle this manually in nk_pugl.
parent c9303e8a
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment