Skip to content
Snippets Groups Projects
Commit 78f6e8dd authored by John Mitchell's avatar John Mitchell
Browse files

Fixed missing clear pass.

parent 9228e05f
No related branches found
No related tags found
No related merge requests found
...@@ -65,6 +65,10 @@ fn startup( ...@@ -65,6 +65,10 @@ fn startup(
mut font_mapping: ResMut<FontMapping>, mut font_mapping: ResMut<FontMapping>,
asset_server: Res<AssetServer>, asset_server: Res<AssetServer>,
) { ) {
// Camera 2D forces a clear pass in bevy.
// We do this because our scene is not rendering anything else.
commands.spawn(Camera2dBundle::default());
font_mapping.set_default(asset_server.load("roboto.kayak_font")); font_mapping.set_default(asset_server.load("roboto.kayak_font"));
let mut widget_context = KayakRootContext::new(); let mut widget_context = KayakRootContext::new();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment