From 8759b67f66d2e58299ba2af4d32d5a735c61c1db Mon Sep 17 00:00:00 2001 From: Tobias Jakobi Date: Mon, 24 Feb 2014 22:19:50 +0100 Subject: [PATCH] video_lima: align width/height of font tex to 16 (Mali block size) --- gfx/lima_gfx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/lima_gfx.c b/gfx/lima_gfx.c index 1222d0d8f8..a7fda150c3 100644 --- a/gfx/lima_gfx.c +++ b/gfx/lima_gfx.c @@ -597,8 +597,8 @@ static void *lima_gfx_init(const video_info_t *video, const input_driver_t **inp lima->screen_aspect = get_screen_aspect(lima->state); - lima->font_height = 360; - lima->font_width = align_common((unsigned)(lima->screen_aspect * (float)lima->font_height), 4); + lima->font_height = 368; + lima->font_width = align_common((unsigned)(lima->screen_aspect * (float)lima->font_height), 16); lima->upload_format = video->rgb32 ? LIMA_TEXEL_FORMAT_RGBA_8888 : LIMA_TEXEL_FORMAT_BGR_565;