aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcontext.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-18 00:38:31 -0800
committerChris Robinson <[email protected]>2018-11-18 00:38:31 -0800
commitd7cc9b912b71b17d6cd1bb9726673b79a4c0173a (patch)
tree591ba44cad8cf3d7d6ec2303c8fab49e954f5168 /Alc/alcontext.h
parent38d6df9c1d10ac74af3454c67147dd21bb0a7bb8 (diff)
Use new/delete for ALCcontext objects
Diffstat (limited to 'Alc/alcontext.h')
-rw-r--r--Alc/alcontext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/alcontext.h b/Alc/alcontext.h
index 16a5e909..f04607a9 100644
--- a/Alc/alcontext.h
+++ b/Alc/alcontext.h
@@ -9,6 +9,7 @@
#include "atomic.h"
#include "vector.h"
#include "threads.h"
+#include "almalloc.h"
#include "alListener.h"
@@ -113,6 +114,8 @@ struct ALCcontext_struct {
ATOMIC(ALCcontext*) next;
ALlistener Listener;
+
+ DEF_NEWDEL(ALCcontext)
};
ALCcontext *GetContextRef(void);