summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index d4f46116..27c41396 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -105,7 +105,7 @@ void init_Text(SDL_Renderer *render) {
105 SDL_SetPaletteColors(d->grayscale, colors, 0, 256); 105 SDL_SetPaletteColors(d->grayscale, colors, 0, 256);
106 } 106 }
107 /* Initialize the glyph cache. */ { 107 /* Initialize the glyph cache. */ {
108 d->cacheSize = init1_I2(fontSize_UI * 16); 108 d->cacheSize = init1_I2(fontSize_UI * 32);
109 d->cachePos = zero_I2(); 109 d->cachePos = zero_I2();
110 d->cache = SDL_CreateTexture(render, 110 d->cache = SDL_CreateTexture(render,
111 SDL_PIXELFORMAT_RGBA8888, 111 SDL_PIXELFORMAT_RGBA8888,