Module: Mesa Branch: master Commit: df3ce8fb77e718ee4371fe7ca9f4a7c889319efb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df3ce8fb77e718ee4371fe7ca9f4a7c889319efb
Author: Dylan Baker <[email protected]> Date: Fri Sep 7 15:04:40 2018 -0700 mesa/main: remove unused IROUNDD Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Matt Turner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024> --- src/util/imports.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/util/imports.h b/src/util/imports.h index f7563dcb405..3a73275ffd6 100644 --- a/src/util/imports.h +++ b/src/util/imports.h @@ -103,14 +103,6 @@ static inline int IROUND(float f) return (int) ((f >= 0.0F) ? (f + 0.5F) : (f - 0.5F)); } -/** - * Convert double to int by rounding to nearest integer, away from zero. - */ -static inline int IROUNDD(double d) -{ - return (int) ((d >= 0.0) ? (d + 0.5) : (d - 0.5)); -} - /** * Convert float to int64 by rounding to nearest integer. */ _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
