mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
App::clear_color: give egui::Visuals as argument
This commit is contained in:
@@ -278,7 +278,8 @@ impl AppRunner {
|
||||
}
|
||||
|
||||
pub fn clear_color_buffer(&self) {
|
||||
self.painter.clear(self.app.clear_color());
|
||||
self.painter
|
||||
.clear(self.app.clear_color(&self.egui_ctx.style().visuals));
|
||||
}
|
||||
|
||||
/// Paint the results of the last call to [`Self::logic`].
|
||||
|
||||
Reference in New Issue
Block a user