forked from StrafesNET/strafe-client
lol idk #1
@ -162,7 +162,10 @@ impl GraphicsState{
|
|||||||
height=height/4*4;
|
height=height/4*4;
|
||||||
wgpu::TextureFormat::Bc7RgbaUnormSrgb
|
wgpu::TextureFormat::Bc7RgbaUnormSrgb
|
||||||
},
|
},
|
||||||
other=>panic!("unsupported format{:?}",other),
|
other=>{
|
||||||
|
println!("unsupported texture format{:?}",other);
|
||||||
|
return None;
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
let size=wgpu::Extent3d{
|
let size=wgpu::Extent3d{
|
||||||
|
Loading…
Reference in New Issue
Block a user