diff --git a/al/debug.cpp b/al/debug.cpp index e91dc29c2..bfe773bf4 100644 --- a/al/debug.cpp +++ b/al/debug.cpp @@ -21,7 +21,6 @@ #include "alc/context.h" #include "alc/device.h" -#include "alc/inprogext.h" #include "alnumeric.h" #include "alspan.h" #include "alstring.h" diff --git a/alc/context.cpp b/alc/context.cpp index 29dea5e51..9c2183f5f 100644 --- a/alc/context.cpp +++ b/alc/context.cpp @@ -124,6 +124,12 @@ ALCcontext::ALCcontext(al::intrusive_ptr device, ContextFlagBitset fl { mDebugGroups.emplace_back(DebugSource::Other, 0, std::string{}); mDebugEnabled.store(mContextFlags.test(ContextFlags::DebugBit), std::memory_order_relaxed); + + /* Notification and low-severity debug messages are disabled by default. */ + alDebugMessageControlDirectEXT(this, AL_DONT_CARE_EXT, AL_DONT_CARE_EXT, + AL_DEBUG_SEVERITY_NOTIFICATION_EXT, 0, nullptr, AL_FALSE); + alDebugMessageControlDirectEXT(this, AL_DONT_CARE_EXT, AL_DONT_CARE_EXT, + AL_DEBUG_SEVERITY_LOW_EXT, 0, nullptr, AL_FALSE); } ALCcontext::~ALCcontext()