mirror of
https://github.com/holub/mame
synced 2025-06-06 04:43:45 +03:00
rendutil.h: C99 doesn't need float-to-double-float for floor.
This commit is contained in:
parent
1a17e59008
commit
4962654fb6
@ -60,7 +60,7 @@ ru_imgformat render_detect_image(util::core_file &file);
|
||||
|
||||
static inline float render_round_nearest(float f)
|
||||
{
|
||||
return floor(f + 0.5f);
|
||||
return floorf(f + 0.5f);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user