diff options
author | Chris Robinson <[email protected]> | 2007-12-17 19:10:22 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-17 19:10:22 -0800 |
commit | 879593242056b5ab6ec93a3dde057310907e43c7 (patch) | |
tree | 098bfceccfc0701d913420ce7bc14543ae5fc55f /OpenAL32/alFilter.c | |
parent | be50a5f992a32da16218f4c4dcf9f78e0ce847a6 (diff) |
0 is a valid filter and effect name
Diffstat (limited to 'OpenAL32/alFilter.c')
-rw-r--r-- | OpenAL32/alFilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c index 6d57008f..c5d3ae31 100644 --- a/OpenAL32/alFilter.c +++ b/OpenAL32/alFilter.c @@ -146,7 +146,7 @@ AL_API ALboolean AL_APIENTRY alIsFilter(ALuint filter) ProcessContext(Context); - return (*list ? AL_TRUE : AL_FALSE); + return ((*list || !filter) ? AL_TRUE : AL_FALSE); } AL_API ALvoid AL_APIENTRY alFilteri(ALuint filter, ALenum param, ALint iValue) |