quick workaround for background showing on resize: clear to current theme's bg0 color

This commit is contained in:
Martin Fouilleul 2023-09-15 12:46:27 +02:00
parent 6a50a6bbdc
commit 2f1212c0ac
1 changed files with 4 additions and 0 deletions

View File

@ -804,6 +804,10 @@ ORCA_EXPORT void oc_on_frame_refresh(void)
}
oc_canvas_select(canvas);
oc_surface_select(surface);
oc_set_color(ui.theme->bg0);
oc_clear();
oc_ui_draw();
oc_render(canvas);
oc_surface_present(surface);