diff options
author | Chris Robinson <[email protected]> | 2023-05-15 14:09:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-05-15 14:09:11 -0700 |
commit | c5c211b973d14e4156978822c47e9bbad8fc07ca (patch) | |
tree | c3333c262e54c0c3a52be427008cd7146900aa22 | |
parent | de1d0e59797a7eb64c697e861cf033d8cba7190d (diff) |
Remove an unnecessary check
-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; |