Fix typo preventing capture from opening

This commit is contained in:
Chris Robinson 2008-10-27 23:37:56 -07:00
parent 301a4c4a95
commit 2c80a80704

View File

@ -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;