diff options
-rw-r--r-- | al/debug.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/al/debug.cpp b/al/debug.cpp index 9c0a63ef..7d119944 100644 --- a/al/debug.cpp +++ b/al/debug.cpp @@ -259,9 +259,6 @@ FORCE_ALIGN void AL_APIENTRY alDebugMessageInsertEXT(ALenum source, ALenum type, FORCE_ALIGN void AL_APIENTRY alDebugMessageInsertDirectEXT(ALCcontext *context, ALenum source, ALenum type, ALuint id, ALenum severity, ALsizei length, const ALchar *message) noexcept { - if(!context) UNLIKELY - return; - if(!context->mContextFlags.test(ContextFlags::DebugBit)) return; |