render set clip, fix render push vertex
This commit is contained in:
@@ -373,6 +373,7 @@ fn void ui_draw(void) {
|
||||
rect_color = accent1_color_global;
|
||||
}
|
||||
|
||||
// rn_set_clip(box->parent->rect);
|
||||
if (is_flag_set(box->flags, ui_box_flag_draw_rect)) {
|
||||
rn_draw_rect(box->rect, rect_color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user