Skip to content

Commit a895e87

Browse files
authored
Fix AsBindGroup hygenic issues with storage texture. (#18640)
# Objective Fixes #18573
1 parent c44dd39 commit a895e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_render/macros/src/as_bind_group.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ pub fn derive_as_bind_group(ast: syn::DeriveInput) -> Result<TokenStream> {
521521
binding_impls.insert(0, quote! {
522522
( #binding_index,
523523
#render_path::render_resource::OwnedBindingResource::TextureView(
524-
#dimension,
524+
#render_path::render_resource::#dimension,
525525
{
526526
let handle: Option<&#asset_path::Handle<#image_path::Image>> = (&self.#field_name).into();
527527
if let Some(handle) = handle {

0 commit comments

Comments
 (0)