Fix coordinate system so it renders like before wgpu upgrade

This commit is contained in:
Keavon Chambers
2020-05-02 17:46:34 -07:00
parent 323a951362
commit 2ab74f7ba1
5 changed files with 27 additions and 35 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ impl Pipeline {
primitive_topology: wgpu::PrimitiveTopology::TriangleList,
color_states: &[
wgpu::ColorStateDescriptor {
format: wgpu::TextureFormat::Bgra8UnormSrgb,
format: wgpu::TextureFormat::Bgra8UnormSrgb, // TODO: Make this match Application.swap_chain_descriptor
color_blend: wgpu::BlendDescriptor::REPLACE,
alpha_blend: wgpu::BlendDescriptor::REPLACE,
write_mask: wgpu::ColorWrite::ALL,