aboutsummaryrefslogtreecommitdiffstats
path: root/al/extension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/extension.cpp')
-rw-r--r--al/extension.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/al/extension.cpp b/al/extension.cpp
index 077e3324..edd30f88 100644
--- a/al/extension.cpp
+++ b/al/extension.cpp
@@ -37,9 +37,6 @@
AL_API DECL_FUNC1(ALboolean, alIsExtensionPresent, const ALchar*)
FORCE_ALIGN ALboolean AL_APIENTRY alIsExtensionPresentDirect(ALCcontext *context, const ALchar *extName) noexcept
{
- if(!context) UNLIKELY
- return AL_FALSE;
-
if(!extName) UNLIKELY
{
context->setError(AL_INVALID_VALUE, "NULL pointer");