A fix for dirtiness
This commit is contained in:
1 parent
fe179f2eee
commit
51174824b2
1 file changed
+3
-2
@@ -852,6 +852,7 @@ void gui_generate_draw_commands_inner(
|
||||
DEBUG("%.*s: dirtiness: %b\n",
|
||||
node->debug_string.length, node->debug_string.cstring, dirty);
|
||||
if(dirty) {
|
||||
node->dirty = true;
|
||||
GUI_Draw_Command *draw_command =
|
||||
arena_allocate_draw_command(draw_command_arena);
|
||||
DEBUG("%d, %d, %d, %x, %d, %u\n", node->style->red, node->style->green, node->style->blue, node->style->border_color, node->style->border_thickness, node->style->roundedness);
|
||||
@@ -3648,9 +3649,9 @@ int main(void)
|
||||
|
||||
//gui = test_gui;
|
||||
//gui = test_gui__calculator;
|
||||
gui = test_gui__scrollbars;
|
||||
//gui = test_gui__scrollbars;
|
||||
//gui = test_gui__draw_command_using_sliders;
|
||||
//gui = test_gui__subtree;
|
||||
gui = test_gui__subtree;
|
||||
//gui = test_gui__tmp;
|
||||
|
||||
X11_Window xwindow = {0};
|
||||
|
||||
Reference in new issue
Block a user