diff options
author | Chris Robinson <[email protected]> | 2010-09-07 22:38:29 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-09-07 22:38:29 -0700 |
commit | 6e32812bc1a194ec55154f99868311110c0cfee6 (patch) | |
tree | 0f038307c3ebb77350805139c1316f387689ee9d | |
parent | 50a7be6385a1252e97f9b4688bf588926d2b4c32 (diff) |
Remove unnecessary check
-rw-r--r-- | OpenAL32/alSource.c | 6 |
1 files changed, 0 insertions, 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; |