mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-15 12:15:01 +01:00
Clear RenderWindow screen
This commit is contained in:
parent
ae380bb635
commit
a3cb228799
1 changed files with 1 additions and 0 deletions
|
|
@ -243,6 +243,7 @@ impl App {
|
|||
self.rt.display();
|
||||
let mut spr = Sprite::with_texture(self.rt.texture());
|
||||
spr.set_scale((self.scale as f32, self.scale as f32));
|
||||
self.rw.clear(Color::rgb(40, 10, 70));
|
||||
self.rw.draw(&spr);
|
||||
self.sf_egui
|
||||
.do_frame(|ctx| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue