From c5c211b973d14e4156978822c47e9bbad8fc07ca Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 15 May 2023 14:09:11 -0700 Subject: Remove an unnecessary check --- al/debug.cpp | 3 --- 1 file changed, 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; -- cgit v1.2.3