From c8f700930a08c2652c2fee312f1de20a14433af1 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 16 Aug 2009 16:02:13 -0700 Subject: More modifications and fixes for context checks --- OpenAL32/alExtension.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'OpenAL32/alExtension.c') 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; -- cgit v1.2.3