aboutsummaryrefslogtreecommitdiff
path: root/src/common/Font.cpp
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-10-01 14:08:24 +0200
committerfschildt <florian.schildt@protonmail.com>2025-10-01 14:09:13 +0200
commitc775ca6133d93ed97359a6a50bd94a5563c740de (patch)
tree9d3efb1c7e7538ff9d5cae408d2c29f9dd3daeab /src/common/Font.cpp
parent41c2e2ecfcccf62b3c646980dd283848e33a8134 (diff)
general refactoring, prepare breakout game
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);