mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
gl_raster_font: fix line height when drawing multiple lines.
This commit is contained in:
parent
63f2c7d3c3
commit
5d36ccc60e
@ -383,8 +383,8 @@ static void gl_raster_font_render_message(
|
||||
return;
|
||||
}
|
||||
|
||||
line_height = 1 /
|
||||
(scale * (float) font->font_driver->get_line_height(font->font_data));
|
||||
line_height = (float) font->font_driver->get_line_height(font->font_data) *
|
||||
scale / font->gl->vp.height;
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user