Merge pull request #665 from PROP65/assert_delete
Remove unnecessary assert
This commit is contained in:
commit
c3282bf274
|
@ -20789,7 +20789,6 @@ nk_window_set_bounds(struct nk_context *ctx,
|
||||||
if (!ctx) return;
|
if (!ctx) return;
|
||||||
win = nk_window_find(ctx, name);
|
win = nk_window_find(ctx, name);
|
||||||
if (!win) return;
|
if (!win) return;
|
||||||
NK_ASSERT(ctx->current != win && "You cannot update a currently in procecss window");
|
|
||||||
win->bounds = bounds;
|
win->bounds = bounds;
|
||||||
}
|
}
|
||||||
NK_API void
|
NK_API void
|
||||||
|
|
|
@ -567,7 +567,6 @@ nk_window_set_bounds(struct nk_context *ctx,
|
||||||
if (!ctx) return;
|
if (!ctx) return;
|
||||||
win = nk_window_find(ctx, name);
|
win = nk_window_find(ctx, name);
|
||||||
if (!win) return;
|
if (!win) return;
|
||||||
NK_ASSERT(ctx->current != win && "You cannot update a currently in procecss window");
|
|
||||||
win->bounds = bounds;
|
win->bounds = bounds;
|
||||||
}
|
}
|
||||||
NK_API void
|
NK_API void
|
||||||
|
|
Loading…
Reference in New Issue