aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-06-27 01:47:54 +0200
committerdec05eba <dec05eba@protonmail.com>2023-06-27 01:47:54 +0200
commit3cc088e1c3866b57b4392bb8430774e7e40be57a (patch)
tree1891e1fdb111bf091547f71e3da7afc26ed4d5da /src
parentae948467c6233c7fe1ee8be20b9fdf21da68c42d (diff)
Update stb image
Diffstat (limited to 'src')
-rw-r--r--src/graphics/font.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/graphics/font.c b/src/graphics/font.c
index 4fd9840..12235f6 100644
--- a/src/graphics/font.c
+++ b/src/graphics/font.c
@@ -98,17 +98,16 @@ static void mgl_font_handle_new_render_position(mgl_font *self, int glyph_width)
|----|
And then texture atlas gets resized:
- |----|----| |
- |ABCD| | <-| 1. The right side gets filled in with new glyphs.
- |EDFG| | <-|
- |----|----| |
- | | | |
- | | | |
- | | | |
- |----|----| |
- |
- ^^^^^^^^^^^ |
- ---------------|
+ |----|----|
+ |ABCD| | <- 1. The right side gets filled in with new glyphs.
+ |EDFG| | <-
+ |----|----|
+ | | |
+ | | |
+ | | |
+ |----|----|
+
+ ^^^^^^^^^^^
2. The bottom side gets filled in with new glyphs after the right side is filled with glyphs.
*/