aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-05-23 05:58:06 -0700
committerChris Robinson <[email protected]>2018-05-23 05:58:06 -0700
commit1782208fde4352e4e40a3f3ec9102fb136e1f5e1 (patch)
treeaf835021dc326f7b90f36a2b627b78db735942cc
parent84a94a61098ea6bf1ede1d93ace00b5e2dcaf625 (diff)
Remove unused function
-rw-r--r--Alc/ALu.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 3c36cbc6..acd5de06 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -145,16 +145,6 @@ static inline HrtfDirectMixerFunc SelectHrtfMixer(void)
}
-/* Prior to VS2013, MSVC lacks the round() family of functions. */
-#if defined(_MSC_VER) && _MSC_VER < 1800
-static float roundf(float val)
-{
- if(val < 0.0f)
- return ceilf(val-0.5f);
- return floorf(val+0.5f);
-}
-#endif
-
/* This RNG method was created based on the math found in opusdec. It's quick,
* and starting with a seed value of 22222, is suitable for generating
* whitenoise.