aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-12 23:57:44 -0800
committerChris Robinson <[email protected]>2014-01-12 23:57:44 -0800
commit6f3dac6f584245adc2a9fb360cc08459eb2f8a6b (patch)
tree6865112b5a0b5a5d1dcd3b4630e66642cc86df4e /OpenAL32
parente252a100f7a2742d03253581514f43a45ca08315 (diff)
Allow getting preset properties even when referenced
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/alPreset.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenAL32/alPreset.c b/OpenAL32/alPreset.c
index 4188bf6c..d34772a4 100644
--- a/OpenAL32/alPreset.c
+++ b/OpenAL32/alPreset.c
@@ -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: