Fixed errorneous dirty-redraw of siblings
This commit is contained in:
1 parent
9477dc3115
commit
2db1602172
1 file changed
+2
-1
@@ -845,10 +845,11 @@ void gui_generate_draw_commands_inner(
|
||||
|
||||
GUI_Node *sibling = GUI_NODE_SIBLING(node);
|
||||
if(sibling != NULL) {
|
||||
GUI_Node *parent = GUI_NODE_PARENT(node);
|
||||
gui_generate_draw_commands_inner(
|
||||
x_offset, y_offset,
|
||||
sibling,
|
||||
dirty || sibling->dirty,
|
||||
parent->dirty || sibling->dirty,
|
||||
draw_command_arena, out_num_draw_commands);
|
||||
}
|
||||
GUI_Node *first_child = GUI_NODE_FIRST_CHILD(node);
|
||||
|
||||
Reference in new issue
Block a user