Skip to content

Commit

Permalink
* Changed the template to fit the current master branch of Amethyst (…
Browse files Browse the repository at this point in the history
…c4a0eaa47711bb138652cbe0a8ee85ac5707584f).
  • Loading branch information
Quetzal2 committed Dec 11, 2019
1 parent cb110c0 commit 6d2f66c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/0.12.0/main/src/main.rs.gdpu
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use amethyst::{
core::transform::TransformBundle,
ecs::prelude::{ReadExpect, Resources, SystemData},
prelude::*,
renderer::{
plugins::{RenderFlat2D, RenderToWindow},
Expand Down Expand Up @@ -28,7 +27,7 @@ fn main() -> amethyst::Result<()> {
.with_bundle(
RenderingBundle::<DefaultBackend>::new()
.with_plugin(
RenderToWindow::from_config_path(display_config_path)
RenderToWindow::from_config_path(display_config_path)?
.with_clear([0.34, 0.36, 0.52, 1.0]),
)
.with_plugin(RenderFlat2D::default()),
Expand Down

0 comments on commit 6d2f66c

Please sign in to comment.