diff options
author | Chris Robinson <[email protected]> | 2023-08-11 02:10:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-08-11 02:10:26 -0700 |
commit | 09eff761b8c8a2da79b0083c86a304eb3643b396 (patch) | |
tree | 7408644f085ba7ccc6ca2f64d2f1959dbc4e1e08 /al/buffer.h | |
parent | 9296af5566afea4ba4cb78b374ef3ee0bf9bc04b (diff) |
Add AL_EXT_debug functions to set/get object names
Diffstat (limited to 'al/buffer.h')
-rw-r--r-- | al/buffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/al/buffer.h b/al/buffer.h index 3df1fa4c..f936cf98 100644 --- a/al/buffer.h +++ b/al/buffer.h @@ -3,6 +3,7 @@ #include <atomic> #include <cstddef> +#include <string_view> #include "AL/al.h" @@ -47,6 +48,8 @@ struct ALbuffer : public BufferStorage { /* Self ID */ ALuint id{0}; + static void SetName(ALCcontext *context, ALuint id, std::string_view name); + DISABLE_ALLOC() #ifdef ALSOFT_EAX |