mirror of
https://github.com/lisk77/comet.git
synced 2025-10-23 21:38:50 +00:00
fix: removed not needed namespace declarations in graphic_resource_manager.rs
This commit is contained in:
parent
99bd7bf3e4
commit
c90d09fd49
1 changed files with 4 additions and 4 deletions
|
@ -80,11 +80,11 @@ impl GraphicResourceManager {
|
|||
&self,
|
||||
file_name: &str,
|
||||
is_normal_map: bool,
|
||||
device: &wgpu::Device,
|
||||
queue: &wgpu::Queue,
|
||||
) -> anyhow::Result<texture::Texture> {
|
||||
device: &Device,
|
||||
queue: &Queue,
|
||||
) -> anyhow::Result<Texture> {
|
||||
let data = self.load_binary(file_name)?;
|
||||
texture::Texture::from_bytes(device, queue, &data, file_name, is_normal_map)
|
||||
Texture::from_bytes(device, queue, &data, file_name, is_normal_map)
|
||||
}
|
||||
|
||||
/// `file_name` is the full name, so with the extension
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue