gl_raster_font: fix line height when drawing multiple lines.

This commit is contained in:
aliaspider 2016-10-22 11:42:36 +01:00
parent 63f2c7d3c3
commit 5d36ccc60e
1 changed files with 2 additions and 2 deletions

View File

@ -383,8 +383,8 @@ static void gl_raster_font_render_message(
return; return;
} }
line_height = 1 / line_height = (float) font->font_driver->get_line_height(font->font_data) *
(scale * (float) font->font_driver->get_line_height(font->font_data)); scale / font->gl->vp.height;
for (;;) for (;;)
{ {