forked from StrafesNET/strafe-client
print instead of panic
This commit is contained in:
parent
f58a17adba
commit
e7f01eff80
@ -162,7 +162,10 @@ impl GraphicsState{
|
||||
height=height/4*4;
|
||||
wgpu::TextureFormat::Bc7RgbaUnormSrgb
|
||||
},
|
||||
other=>panic!("unsupported format{:?}",other),
|
||||
other=>{
|
||||
println!("unsupported texture format{:?}",other);
|
||||
return None;
|
||||
},
|
||||
};
|
||||
|
||||
let size=wgpu::Extent3d{
|
||||
|
Loading…
Reference in New Issue
Block a user