Skip to content

Commit

Permalink
Fix shader_prepass example (#15719)
Browse files Browse the repository at this point in the history
Simple fix for another missed piece in the port to required components
  • Loading branch information
tim-blackbird authored Oct 7, 2024
1 parent cab0076 commit e7b83ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/shader/shader_prepass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ impl Material for PrepassOutputMaterial {
fn toggle_prepass_view(
mut prepass_view: Local<u32>,
keycode: Res<ButtonInput<KeyCode>>,
material_handle: Query<&Handle<PrepassOutputMaterial>>,
material_handle: Query<&MeshMaterial3d<PrepassOutputMaterial>>,
mut materials: ResMut<Assets<PrepassOutputMaterial>>,
mut text: Query<&mut Text>,
) {
Expand Down

0 comments on commit e7b83ac

Please sign in to comment.