diff options
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1050,6 +1050,12 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) int oldMode; ALuint i; + if(device->IsLoopbackDevice && !(attrList && attrList[0])) + { + WARN("Missing attributes for loopback device\n"); + return ALC_INVALID_VALUE; + } + // Check for attributes if(attrList && attrList[0]) { |