aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index ab0c7921..4a254f88 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -487,7 +487,7 @@ ALCAPI ALCdevice* ALCAPIENTRY alcCaptureOpenDevice(const ALCchar *deviceName, AL
InitAL();
- if(SampleSize > 0)
+ if(SampleSize <= 0)
{
SetALCError(ALC_INVALID_VALUE);
return NULL;