Remove unnecessary cast
This commit is contained in:
parent
288cd89cf8
commit
8aeb9f16bf
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ impl TextRenderer {
|
|||
|
||||
glyph_vertices.extend(
|
||||
iter::repeat(GlyphToRender {
|
||||
pos: [x as i32, y as i32],
|
||||
pos: [x, y],
|
||||
dim: [width as u16, height as u16],
|
||||
uv: [atlas_x, atlas_y],
|
||||
color: color.0,
|
||||
|
|
Loading…
Reference in a new issue