Skip to content

Commit

Permalink
metal: fix from_metal_texture API
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Feb 12, 2024
1 parent 4ba5a67 commit e9d93a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blade-graphics/src/metal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ impl TextureView {

/// Create a TextureView from a raw Metal Texture.
/// Does not keep a reference, need not being destoryed.
pub fn from_metal_texture(&self, raw: &metal::TextureRef) -> Self {
pub fn from_metal_texture(raw: &metal::TextureRef) -> Self {
Self { raw: raw.as_ptr() }
}
}
Expand Down

0 comments on commit e9d93a4

Please sign in to comment.