mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
(gl_raster_font) Fixed scaling for newlines
This commit is contained in:
parent
ca6f539ff5
commit
6889b58270
@ -360,8 +360,8 @@ static void gl_raster_font_render_message(
|
||||
return;
|
||||
}
|
||||
|
||||
line_height = scale * 1/ (float)
|
||||
font->font_driver->get_line_height(font->font_data);
|
||||
line_height = 1 /
|
||||
(scale * (float) font->font_driver->get_line_height(font->font_data));
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user