summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-09-07 15:04:40 -0700
committerDylan Baker <[email protected]>2020-04-21 11:09:03 -0700
commitdf3ce8fb77e718ee4371fe7ca9f4a7c889319efb (patch)
tree55e1c17111d856e6bac40a86ee2e74285b218b2c
parent64014c8302da52480643cb7711298153cfdb0d51 (diff)
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>
-rw-r--r--src/util/imports.h8
1 files changed, 0 insertions, 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
@@ -104,14 +104,6 @@ static inline int IROUND(float f)
}
/**
- * 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.
*/
static inline int64_t IROUND64(float f)