mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Fix multi-line text spacing in menus with Vulkan driver.
This commit is contained in:
parent
adc4f27eb9
commit
1f472db2aa
@ -240,7 +240,8 @@ static void vulkan_raster_font_render_message(
|
||||
return;
|
||||
}
|
||||
|
||||
line_height = scale / font->font_driver->get_line_height(font->font_data);
|
||||
line_height = (float) font->font_driver->get_line_height(font->font_data) *
|
||||
scale / font->vk->vp.height;
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user