diff options
author | 2020-10-09 04:25:39 +1100 | |
---|---|---|
committer | 2020-10-09 04:25:39 +1100 | |
commit | 4962654fb68d96a6bb5723e4b648671d3b95eaee (patch) | |
tree | 841d88426fe2bd4b391aa2a813c9e7ad924ec887 | |
parent | 1a17e59008c77850060279cbb38680753bc7fcb8 (diff) |
rendutil.h: C99 doesn't need float-to-double-float for floor.
-rw-r--r-- | src/emu/rendutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/rendutil.h b/src/emu/rendutil.h index c5cdd7d2c4c..9208d729352 100644 --- a/src/emu/rendutil.h +++ b/src/emu/rendutil.h @@ -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); } |