diff options
author | Chris Robinson <[email protected]> | 2019-07-30 21:32:05 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-30 21:32:05 -0700 |
commit | f286c3fa3857579a6c7cf84f32ff953e498577bf (patch) | |
tree | 53fa7c741295ecc997aa342178efbfbc401fc7a3 /al/extension.cpp | |
parent | ac554de67d5eb353283c3359bbac15fb4ddad7d9 (diff) |
Move another function to a ALCcontext method
Diffstat (limited to 'al/extension.cpp')
-rw-r--r-- | al/extension.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/al/extension.cpp b/al/extension.cpp index c190ad03..1b36e3db 100644 --- a/al/extension.cpp +++ b/al/extension.cpp @@ -29,7 +29,6 @@ #include "alcontext.h" #include "alexcpt.h" -#include "error.h" #include "opthelpers.h" @@ -40,7 +39,7 @@ START_API_FUNC if(UNLIKELY(!context)) return AL_FALSE; if(!extName) - SETERR_RETURN(context.get(), AL_INVALID_VALUE, AL_FALSE, "NULL pointer"); + SETERR_RETURN(context, AL_INVALID_VALUE, AL_FALSE, "NULL pointer"); size_t len{strlen(extName)}; const char *ptr{context->mExtensionList}; |