From 50a7be6385a1252e97f9b4688bf588926d2b4c32 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 7 Sep 2010 22:23:37 -0700 Subject: [PATCH] Fix comparison check --- OpenAL32/alSource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 8df2935c..61091520 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -1314,7 +1314,7 @@ AL_API ALvoid AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources) goto done; } - while(Context->MaxActiveSources-Context->ActiveSourceCount > n) + while(Context->MaxActiveSources-Context->ActiveSourceCount < n) { void *temp = NULL; ALsizei newcount;