From 3e49e7914013746b70917ada00ac1d2f8903819d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 24 Apr 2012 03:52:21 -0700 Subject: Couple small error handling fixups --- OpenAL32/alSource.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'OpenAL32/alSource.c') diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index baa0fc2c..5f52322f 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -699,8 +699,7 @@ AL_API void AL_APIENTRY alSource3i(ALuint source, ALenum param, ALint value1, AL break; default: - alSetError(Context, AL_INVALID_ENUM); - break; + al_throwerr(Context, AL_INVALID_ENUM); } } al_endtry; -- cgit v1.2.3