mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-02 12:33:52 +00:00
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->fontData = fontData;
|
||||||
font->texture = NULL;
|
font->texture = NULL;
|
||||||
font->lineHeight = 1.f;
|
font->lineHeight = 1.f;
|
||||||
font->pixelDensity = font->fontData->height;
|
font->pixelDensity = (float) font->fontData->height;
|
||||||
map_init(&font->kerning);
|
map_init(&font->kerning);
|
||||||
|
|
||||||
// Atlas
|
// Atlas
|
||||||
|
|
Loading…
Reference in a new issue