mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 09:35:21 +00:00
Fix C++ compat.
This commit is contained in:
parent
685a0d581f
commit
9b12e9b3b4
@ -53,7 +53,7 @@ static void *font_renderer_init(const char *font_path, float font_size)
|
||||
if (!handle)
|
||||
return NULL;
|
||||
|
||||
handle->scale_factor = (unsigned)round(font_size / FONT_HEIGHT);
|
||||
handle->scale_factor = (unsigned)roundf(font_size / FONT_HEIGHT);
|
||||
if (!handle->scale_factor)
|
||||
handle->scale_factor = 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user