diff options
author | Chris Robinson <[email protected]> | 2018-10-03 13:51:21 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-10-03 13:51:21 -0700 |
commit | db65113c5fceb1996b71b405cce8fbea6f802e60 (patch) | |
tree | a93f31e60d10dafa6cffe9184fcb0382494c6072 | |
parent | f3f94e478b0b186bd0de07e734b1d5e1222e0dee (diff) |
Use a 24-bit dither depth limit
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); } } |