Handle negative glyph positions correctly
This commit is contained in:
parent
ca27ec508c
commit
2a01a1b2e0
4 changed files with 19 additions and 19 deletions
|
@ -46,7 +46,7 @@ pub(crate) struct GlyphDetails {
|
|||
#[repr(C)]
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub(crate) struct GlyphToRender {
|
||||
pos: [u32; 2],
|
||||
pos: [i32; 2],
|
||||
dim: [u16; 2],
|
||||
uv: [u16; 2],
|
||||
color: [u8; 4],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue