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;
|
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 (;;)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue