quick workaround for background showing on resize: clear to current theme's bg0 color
This commit is contained in:
parent
6a50a6bbdc
commit
2f1212c0ac
|
@ -804,6 +804,10 @@ ORCA_EXPORT void oc_on_frame_refresh(void)
|
||||||
}
|
}
|
||||||
oc_canvas_select(canvas);
|
oc_canvas_select(canvas);
|
||||||
oc_surface_select(surface);
|
oc_surface_select(surface);
|
||||||
|
|
||||||
|
oc_set_color(ui.theme->bg0);
|
||||||
|
oc_clear();
|
||||||
|
|
||||||
oc_ui_draw();
|
oc_ui_draw();
|
||||||
oc_render(canvas);
|
oc_render(canvas);
|
||||||
oc_surface_present(surface);
|
oc_surface_present(surface);
|
||||||
|
|
Loading…
Reference in New Issue