diff options
Diffstat (limited to 'OpenAL32/alExtension.c')
-rw-r--r-- | OpenAL32/alExtension.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c index 4c1c73b6..04d705b6 100644 --- a/OpenAL32/alExtension.c +++ b/OpenAL32/alExtension.c @@ -352,15 +352,13 @@ ALAPI ALboolean ALAPIENTRY alIsExtensionPresent(const ALchar *extName) return AL_FALSE; } - pContext = alcGetCurrentContext(); + pContext = GetContextSuspended(); if(!pContext) { alSetError(AL_INVALID_OPERATION); return AL_FALSE; } - SuspendContext(pContext); - len = strlen(extName); ptr = pContext->ExtensionList; while(ptr && *ptr) |