remove bitrot, update and set versions of all deps, notably gfx & nalgebra
This commit is contained in:
@@ -34,6 +34,7 @@ pub fn get_tiles<D, F, T>(device: &mut D,
|
||||
mipmap.dim as u16,
|
||||
mipmap.len as u16,
|
||||
texture::AaMode::Single),
|
||||
texture::Mipmap::Provided,
|
||||
&mipmap.slices())
|
||||
.expect("create tile texture");
|
||||
|
||||
@@ -44,7 +45,7 @@ pub fn get_tiles<D, F, T>(device: &mut D,
|
||||
let access = gfx::pso::AccessInfo::new();
|
||||
let view = manager.ref_srv(tex.1.raw());
|
||||
command.generate_mipmap(*view);
|
||||
device.submit(command, &access);
|
||||
device.submit(command, &access).expect("generate tile mipmaps");
|
||||
}
|
||||
tex.1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user