mirror of
https://github.com/lisk77/comet.git
synced 2025-10-24 05:48: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,
|
&self,
|
||||||
file_name: &str,
|
file_name: &str,
|
||||||
is_normal_map: bool,
|
is_normal_map: bool,
|
||||||
device: &wgpu::Device,
|
device: &Device,
|
||||||
queue: &wgpu::Queue,
|
queue: &Queue,
|
||||||
) -> anyhow::Result<texture::Texture> {
|
) -> anyhow::Result<Texture> {
|
||||||
let data = self.load_binary(file_name)?;
|
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
|
/// `file_name` is the full name, so with the extension
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue