mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Merge pull request #3465 from bparker06/glyph_fix
fix glyph rendering of long messagebox strings
This commit is contained in:
commit
d63585dcb1
@ -299,7 +299,7 @@ static void gl_raster_font_render_line(
|
||||
{
|
||||
int off_x, off_y, tex_x, tex_y, width, height;
|
||||
const struct font_glyph *glyph =
|
||||
font->font_driver->get_glyph(font->font_data, utf8_walk(&msg));
|
||||
font->font_driver->get_glyph(font->font_data, msg[i]);
|
||||
|
||||
if (!glyph) /* Do something smarter here ... */
|
||||
glyph = font->font_driver->get_glyph(font->font_data, '?');
|
||||
|
Loading…
x
Reference in New Issue
Block a user