[Mesa-dev] [PATCH 17/28] mesa/main: remove unused IROUNDD

Dylan Baker dylan at pnwbakers.com
Fri Nov 9 18:40:10 UTC 2018


---
 src/mesa/main/imports.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index fbb7e59ca06..165a9ce05e1 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -119,14 +119,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.19.1



More information about the mesa-dev mailing list