Use a 24-bit dither depth limit

This commit is contained in:
Chris Robinson
2018-10-03 13:51:21 -07:00
parent f3f94e478b
commit db65113c5f
+1 -1
View File
@@ -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));
}
}