aboutsummaryrefslogtreecommitdiff
path: root/src/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics')
-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.
*/