diff options
author | Chris Robinson <[email protected]> | 2023-05-01 01:22:29 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-05-01 01:22:29 -0700 |
commit | 931e261fe0944c1876a95a373996351f3424f399 (patch) | |
tree | e5114b184ccaa96a091c2ac51d6cf0db1a955556 /alc/context.h | |
parent | 343b2ce1b3395a672608552d5fe2b1a312c100b1 (diff) |
Implement debug message filtering for IDs
Diffstat (limited to 'alc/context.h')
-rw-r--r-- | alc/context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/alc/context.h b/alc/context.h index 031e061e..c626160b 100644 --- a/alc/context.h +++ b/alc/context.h @@ -6,6 +6,7 @@ #include <memory> #include <mutex> #include <stdint.h> +#include <unordered_map> #include <utility> #include "AL/al.h" @@ -145,6 +146,7 @@ struct ALCcontext : public al::intrusive_ref<ALCcontext>, ContextBase { ALDEBUGPROCSOFT mDebugCb{}; void *mDebugParam{nullptr}; std::vector<uint> mDebugFilters; + std::unordered_map<uint,std::vector<uint>> mDebugIdFilters; std::deque<LogEntry> mDebugLog; ALlistener mListener{}; |