Use a more appropriate error for trying to delete an effect slot that's in use
This commit is contained in:
@@ -141,7 +141,7 @@ AL_API ALvoid AL_APIENTRY alDeleteAuxiliaryEffectSlots(ALsizei n, ALuint *effect
|
||||
}
|
||||
else if(EffectSlot->ref != 0)
|
||||
{
|
||||
alSetError(Context, AL_INVALID_NAME);
|
||||
alSetError(Context, AL_INVALID_OPERATION);
|
||||
n = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user