aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-10-03 13:51:21 -0700
committerChris Robinson <[email protected]>2018-10-03 13:51:21 -0700
commitdb65113c5fceb1996b71b405cce8fbea6f802e60 (patch)
treea93f31e60d10dafa6cffe9184fcb0382494c6072
parentf3f94e478b0b186bd0de07e734b1d5e1222e0dee (diff)
Use a 24-bit dither depth limit
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 49e9a43f..6e10897b 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2146,7 +2146,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
if(depth > 0)
{
- depth = clampi(depth, 2, 20);
+ depth = clampi(depth, 2, 24);
device->DitherDepth = powf(2.0f, (ALfloat)(depth-1));
}
}