summaryrefslogtreecommitdiff
path: root/src/assets.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-02-04 14:53:49 +0100
committerAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-02-04 14:53:49 +0100
commite271c4518fd02c8dac2343ef0b9fd2cecd0812be (patch)
tree74b79885021d97ef83dd25bb596f8a20b090c4ce /src/assets.h
parent3cb8d5ce252c246e2218a05968dc10db38116994 (diff)
fix text calculation and rendering floating error
Diffstat (limited to 'src/assets.h')
-rw-r--r--src/assets.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/assets.h b/src/assets.h
index 1b76785..a9816b5 100644
--- a/src/assets.h
+++ b/src/assets.h
@@ -28,6 +28,8 @@ typedef struct t_glyph
{
s32 width;
s32 height;
+ s32 advance;
+ s32 lsb;
s32 xoff;
s32 yoff;
void *bitmap;