mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 17:48:11 +08:00
Fix coordinate system so it renders like before wgpu upgrade
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user