Fix multi-line text spacing in menus with Vulkan driver.

This commit is contained in:
Brandon Wright 2018-03-18 18:57:24 -05:00
parent adc4f27eb9
commit 1f472db2aa

View File

@ -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 (;;)
{