Allow getting preset properties even when referenced

This commit is contained in:
Chris Robinson
2014-01-12 23:57:44 -08:00
parent e252a100f7
commit 6f3dac6f58
-2
View File
@@ -176,8 +176,6 @@ AL_API void AL_APIENTRY alGetPresetivSOFT(ALuint id, ALenum param, ALint *values
device = context->Device;
if((preset=LookupPreset(device, id)) == NULL)
SET_ERROR_AND_GOTO(context, AL_INVALID_NAME, done);
if(preset->ref != 0)
SET_ERROR_AND_GOTO(context, AL_INVALID_OPERATION, done);
switch(param)
{
case AL_MIDI_PRESET_SOFT: