From 6e32812bc1a194ec55154f99868311110c0cfee6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 7 Sep 2010 22:38:29 -0700 Subject: Remove unnecessary check --- OpenAL32/alSource.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 61091520..b839356d 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -1308,12 +1308,6 @@ AL_API ALvoid AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources) } } - if(Context->ActiveSourceCount+n < n) - { - alSetError(Context, AL_OUT_OF_MEMORY); - goto done; - } - while(Context->MaxActiveSources-Context->ActiveSourceCount < n) { void *temp = NULL; -- cgit v1.2.3