From db65113c5fceb1996b71b405cce8fbea6f802e60 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 3 Oct 2018 13:51:21 -0700 Subject: Use a 24-bit dither depth limit --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/ALc.c') 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)); } } -- cgit v1.2.3