aboutsummaryrefslogtreecommitdiff
path: root/src/common/Font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/Font.cpp')
-rw-r--r--src/common/Font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/Font.cpp b/src/common/Font.cpp
index 31a6720..b5b177c 100644
--- a/src/common/Font.cpp
+++ b/src/common/Font.cpp
@@ -86,8 +86,8 @@ Font::LoadGlyph(Glyph& glyph, uint32_t codepoint)
}
delete[] bitmap_flipped;
- glyph.bitmap.width = width;
- glyph.bitmap.height = height;
+ glyph.bitmap.w = width;
+ glyph.bitmap.h = height;
glyph.bitmap.pixels = std::unique_ptr<uint8_t>(bitmap_correct);