Skip to content

Commit

Permalink
Merge pull request #79 from Bobo1239/master
Browse files Browse the repository at this point in the history
Add default branch to wgsl switch
  • Loading branch information
hecrj authored Nov 15, 2021
2 parents cd6f154 + a3d841a commit 215f3be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shader/glyph.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ fn vs_main(input: VertexInput) -> VertexOutput {
pos = vec2<f32>(right, bottom);
out.f_tex_pos = input.tex_right_bottom;
}
default: {}
}

out.f_color = input.color;
out.position = globals.transform * vec4<f32>(pos, input.left_top.z, 1.0);

Expand Down

0 comments on commit 215f3be

Please sign in to comment.