From c775ca6133d93ed97359a6a50bd94a5563c740de Mon Sep 17 00:00:00 2001 From: fschildt Date: Wed, 1 Oct 2025 14:08:24 +0200 Subject: general refactoring, prepare breakout game --- src/common/Font.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/Font.cpp') 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(bitmap_correct); -- cgit v1.2.3