Swizzel BGRA channels to correct output in shader

This commit is contained in:
mars 2022-11-08 22:50:06 -07:00
parent 76c697d5ab
commit 5dbe325ea9
1 changed files with 1 additions and 1 deletions

View File

@ -16,5 +16,5 @@ fn vs_main(
@fragment
fn fs_main(vertex: VertexOutput) -> @location(0) vec4<f32> {
return vertex.color;
return vertex.color.abgr;
}