bevy/examples/window
Rob Parrett 1c573de4f9 Fix panic in multiple_windows example (#1737)
Fixes #1736

There seemed to be an obvious transcription error where `setup_pipeline` was being called during `on_update` of `AppState::CreateWindow` instead of `AppState::Setup`.

However, the example still panicked after fixing that.

I'm not sure if there's some intended or unintended change in event processing during state transitions or something, but this PR make the example work again.

Cleaned up an unused `Stage` label while I was in there.

Please feel free to close this in favor of another approach.
2021-03-24 00:39:54 +00:00
..
clear_color.rs Rename add_resource to insert_resource (#1356) 2021-01-30 12:55:13 -08:00
multiple_windows.rs Fix panic in multiple_windows example (#1737) 2021-03-24 00:39:54 +00:00
scale_factor_override.rs Make Commands and World apis consistent (#1703) 2021-03-23 00:23:40 +00:00
window_settings.rs Rename add_resource to insert_resource (#1356) 2021-01-30 12:55:13 -08:00