From df3ce8fb77e718ee4371fe7ca9f4a7c889319efb Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 7 Sep 2018 15:04:40 -0700 Subject: [PATCH] mesa/main: remove unused IROUNDD MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Reviewed-by: Kristian H. Kristensen Reviewed-by: Matt Turner Part-of: --- 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. */ -- 2.30.2