mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 18:40:31 +00:00
Fix 'result is not floating point' warning
This commit is contained in:
parent
ec88b464c3
commit
4e07d14488
@ -499,9 +499,9 @@ static void xmb_draw_icon(
|
|||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
if (
|
if (
|
||||||
x < -icon_size / 2 ||
|
x < (-icon_size / 2.0f) ||
|
||||||
x > width ||
|
x > width ||
|
||||||
y < icon_size / 2 ||
|
y < (icon_size / 2.0f) ||
|
||||||
y > height + icon_size)
|
y > height + icon_size)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user