diff options
author | Chris Robinson <[email protected]> | 2018-01-24 17:07:01 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-24 17:07:01 -0800 |
commit | 2ded5547ba431a0859bc08276ab720aea9ca92a8 (patch) | |
tree | 8f71cfb37a279805b162f9702839bad856f8dadf /OpenAL32/alExtension.c | |
parent | 395278fcdb2f83ba35b5fba9341bb868af4330b2 (diff) |
Provide messages for the remaining AL errors
Diffstat (limited to 'OpenAL32/alExtension.c')
-rw-r--r-- | OpenAL32/alExtension.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c index 7db326a2..9b6e5a97 100644 --- a/OpenAL32/alExtension.c +++ b/OpenAL32/alExtension.c @@ -45,8 +45,8 @@ AL_API ALboolean AL_APIENTRY alIsExtensionPresent(const ALchar *extName) context = GetContextRef(); if(!context) return AL_FALSE; - if(!(extName)) - SET_ERROR_AND_GOTO(context, AL_INVALID_VALUE, done); + if(!extName) + SETERR_GOTO(context, AL_INVALID_VALUE, 0, "NULL pointer", done); len = strlen(extName); ptr = context->ExtensionList; |