diff --git a/nuklear.h b/nuklear.h index 12fa7ab..13940f6 100644 --- a/nuklear.h +++ b/nuklear.h @@ -20789,7 +20789,6 @@ nk_window_set_bounds(struct nk_context *ctx, if (!ctx) return; win = nk_window_find(ctx, name); if (!win) return; - NK_ASSERT(ctx->current != win && "You cannot update a currently in procecss window"); win->bounds = bounds; } NK_API void diff --git a/src/nuklear_window.c b/src/nuklear_window.c index 2e382b2..e3dd51a 100644 --- a/src/nuklear_window.c +++ b/src/nuklear_window.c @@ -567,7 +567,6 @@ nk_window_set_bounds(struct nk_context *ctx, if (!ctx) return; win = nk_window_find(ctx, name); if (!win) return; - NK_ASSERT(ctx->current != win && "You cannot update a currently in procecss window"); win->bounds = bounds; } NK_API void