rendutil.h: C99 doesn't need float-to-double-float for floor.

This commit is contained in:
Vas Crabb 2020-10-09 04:25:39 +11:00
parent 1a17e59008
commit 4962654fb6

View File

@ -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);
}