Skip to content
Snippets Groups Projects
Unverified Commit 50cbc3c3 authored by Laocoon7's avatar Laocoon7 Committed by GitHub
Browse files

Update: startup resources are now plugin settings

ImageSettings was removed from Bevy, startup settings are now plugin settings not resources. These changes allow the example code to compile with the recommended(required) versions of Bevy.

See: https://github.com/bevyengine/bevy/commit/5622d56be1262fce8a2d458f2b78abf1cab3ab50
parent a80cc060
No related branches found
No related tags found
No related merge requests found
......@@ -44,8 +44,7 @@ fn startup(
fn main() {
App::new()
.insert_resource(ImageSettings::default_nearest())
.add_plugins(DefaultPlugins)
.add_plugins(DefaultPlugins.set(ImagePlugin::default_nearest()))
.add_plugin(KayakContextPlugin)
.add_plugin(KayakWidgets)
.add_startup_system(startup)
......@@ -114,8 +113,7 @@ fn startup(
}
fn main() {
App::new()
.insert_resource(ImageSettings::default_nearest())
.add_plugins(DefaultPlugins)
.add_plugins(DefaultPlugins.set(ImagePlugin::default_nearest()))
.add_plugin(KayakContextPlugin)
.add_plugin(KayakWidgets)
.add_startup_system(startup)
......
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