diff options
author | Chris Robinson <[email protected]> | 2008-10-27 23:37:56 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-10-27 23:37:56 -0700 |
commit | 2c80a80704d70951cabeebb857eae5b16e03af62 (patch) | |
tree | 388656c1bec7223508a1f8781c94de3f8821e782 | |
parent | 301a4c4a95118586aefcce7cad93acfdd4870963 (diff) |
Fix typo preventing capture from opening
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |