Handle negative glyph positions correctly
This commit is contained in:
parent
ca27ec508c
commit
2a01a1b2e0
4 changed files with 19 additions and 19 deletions
|
@ -74,7 +74,7 @@ impl TextAtlas {
|
|||
step_mode: wgpu::VertexStepMode::Vertex,
|
||||
attributes: &[
|
||||
wgpu::VertexAttribute {
|
||||
format: VertexFormat::Uint32x2,
|
||||
format: VertexFormat::Sint32x2,
|
||||
offset: 0,
|
||||
shader_location: 0,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue