Fixed #511 and changed formatting
This commit is contained in:
parent
988b40888b
commit
3636cb1c5d
@ -7977,8 +7977,7 @@ nk_draw_list_push_image(struct nk_draw_list *list, nk_handle texture)
|
||||
#ifdef NK_INCLUDE_COMMAND_USERDATA
|
||||
|| prev->userdata.id != list->userdata.id
|
||||
#endif
|
||||
)
|
||||
nk_draw_list_push_command(list, prev->clip_rect, texture);
|
||||
) nk_draw_list_push_command(list, prev->clip_rect, texture);
|
||||
}
|
||||
}
|
||||
|
||||
@ -17415,7 +17414,7 @@ nk_clear(struct nk_context *ctx)
|
||||
ctx->active = iter->prev;
|
||||
ctx->end = iter->prev;
|
||||
if (ctx->active)
|
||||
ctx->active->flags &= ~NK_WINDOW_ROM;
|
||||
ctx->active->flags &= ~(unsigned)NK_WINDOW_ROM;
|
||||
}
|
||||
/* free unused popup windows */
|
||||
if (iter->popup.win && iter->popup.win->seq != ctx->seq) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user