Swizzel BGRA channels to correct output in shader
This commit is contained in:
parent
76c697d5ab
commit
5dbe325ea9
|
@ -16,5 +16,5 @@ fn vs_main(
|
|||
|
||||
@fragment
|
||||
fn fs_main(vertex: VertexOutput) -> @location(0) vec4<f32> {
|
||||
return vertex.color;
|
||||
return vertex.color.abgr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue