mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 14:08:32 +00:00
Fix shader_prepass
example (#15719)
Simple fix for another missed piece in the port to required components
This commit is contained in:
parent
cab00766d9
commit
e7b83acadc
1 changed files with 1 additions and 1 deletions
|
@ -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>,
|
||||
) {
|
||||
|
|
Loading…
Add table
Reference in a new issue