mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-22 14:58:44 -06:00
Ooops cleared the frame twice
This commit is contained in:
parent
59cdd84fc5
commit
cb428f4c71
|
@ -107,7 +107,6 @@ fn main() {
|
||||||
let renderer = world.borrow::<NonSendSync<UniqueView<Renderer>>>().unwrap();
|
let renderer = world.borrow::<NonSendSync<UniqueView<Renderer>>>().unwrap();
|
||||||
renderer.display.draw()
|
renderer.display.draw()
|
||||||
};
|
};
|
||||||
target.clear_color_and_depth((0., 0., 0., 1.), 1.);
|
|
||||||
world.add_unique_non_send_sync(RenderTarget(target));
|
world.add_unique_non_send_sync(RenderTarget(target));
|
||||||
|
|
||||||
//Run render workflow
|
//Run render workflow
|
||||||
|
|
Loading…
Reference in a new issue