Skip to content

Commit

Permalink
Remove spurious files
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 committed Dec 14, 2022
1 parent 54cd232 commit e4d76cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1607,7 +1607,4 @@ wasm = true
inherits = "release"
opt-level = "z"
lto = "fat"
codegen-units = 1

[profile.release]
lto = "fat"
codegen-units = 1
2 changes: 1 addition & 1 deletion crates/bevy_render/src/render_phase/draw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ macro_rules! render_command_tuple_impl {
($($name,)*): SystemParamItem<'w, '_, Self::Param>,
_pass: &mut TrackedRenderPass<'w>,
) -> RenderCommandResult {
$(if let RenderCommandResult::Failure = $name::render(_item, $view, $entity, $name, _pass) {
$(if $name::render(_item, $view, $entity, $name, _pass) == RenderCommandResult::Failure {
return RenderCommandResult::Failure;
})*
RenderCommandResult::Success
Expand Down

0 comments on commit e4d76cd

Please sign in to comment.