aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alExtension.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alExtension.c')
-rw-r--r--OpenAL32/alExtension.c6
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;