Commit 3b86897d authored by Walantis Giosis's avatar Walantis Giosis

changed datatype from int to float since function returns float. otherwise...

changed datatype from int to float since function returns float. otherwise kerning fraction info gets lost.
parent 656fdbe2
......@@ -119,7 +119,7 @@ void add_text( vertex_buffer_t * buffer, texture_font_t * font,
texture_glyph_t *glyph = texture_font_get_glyph( font, text[i] );
if( glyph != NULL )
{
int kerning = 0;
float kerning = 0.0f;
if( i > 0)
{
kerning = texture_glyph_get_kerning( glyph, text[i-1] );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment