diff options
author | Chris Robinson <[email protected]> | 2009-08-16 16:02:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-08-16 16:02:13 -0700 |
commit | c8f700930a08c2652c2fee312f1de20a14433af1 (patch) | |
tree | 54367054115ce389f0fd1a9f2fb18139be49df4d /OpenAL32/alExtension.c | |
parent | decbe4df454214a9f68ad5c7a19379d9ceb80413 (diff) |
More modifications and fixes for context checks
Diffstat (limited to 'OpenAL32/alExtension.c')
-rw-r--r-- | OpenAL32/alExtension.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c index 04d705b6..427b39fe 100644 --- a/OpenAL32/alExtension.c +++ b/OpenAL32/alExtension.c @@ -353,11 +353,7 @@ ALAPI ALboolean ALAPIENTRY alIsExtensionPresent(const ALchar *extName) } pContext = GetContextSuspended(); - if(!pContext) - { - alSetError(AL_INVALID_OPERATION); - return AL_FALSE; - } + if(!pContext) return AL_FALSE; len = strlen(extName); ptr = pContext->ExtensionList; |