aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-09-07 22:38:29 -0700
committerChris Robinson <[email protected]>2010-09-07 22:38:29 -0700
commit6e32812bc1a194ec55154f99868311110c0cfee6 (patch)
tree0f038307c3ebb77350805139c1316f387689ee9d
parent50a7be6385a1252e97f9b4688bf588926d2b4c32 (diff)
Remove unnecessary check
-rw-r--r--OpenAL32/alSource.c6
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;