mirror of https://github.com/bjornbytes/lovr.git
Fix strange font cast issue;
This commit is contained in:
parent
773abf26ae
commit
c6c29e3895
|
@ -29,7 +29,7 @@ Font* lovrFontCreate(FontData* fontData) {
|
|||
font->fontData = fontData;
|
||||
font->texture = NULL;
|
||||
font->lineHeight = 1.f;
|
||||
font->pixelDensity = font->fontData->height;
|
||||
font->pixelDensity = (float) font->fontData->height;
|
||||
map_init(&font->kerning);
|
||||
|
||||
// Atlas
|
||||
|
|
Loading…
Reference in New Issue