aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-08-11 02:10:26 -0700
committerChris Robinson <[email protected]>2023-08-11 02:10:26 -0700
commit09eff761b8c8a2da79b0083c86a304eb3643b396 (patch)
tree7408644f085ba7ccc6ca2f64d2f1959dbc4e1e08 /alc/context.h
parent9296af5566afea4ba4cb78b374ef3ee0bf9bc04b (diff)
Add AL_EXT_debug functions to set/get object names
Diffstat (limited to 'alc/context.h')
-rw-r--r--alc/context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/alc/context.h b/alc/context.h
index 0611775a..f936bbe8 100644
--- a/alc/context.h
+++ b/alc/context.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <string>
#include <string_view>
+#include <unordered_map>
#include <utility>
#include <vector>
@@ -146,6 +147,8 @@ struct ALCcontext : public al::intrusive_ref<ALCcontext>, ContextBase {
std::vector<std::string_view> mExtensions;
std::string mExtensionsString{};
+ std::unordered_map<ALuint,std::string> mSourceNames;
+ std::unordered_map<ALuint,std::string> mEffectSlotNames;
ALCcontext(al::intrusive_ptr<ALCdevice> device, ContextFlagBitset flags);
ALCcontext(const ALCcontext&) = delete;