aboutsummaryrefslogtreecommitdiffstats
path: root/al/listener.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-13 20:33:44 -0700
committerChris Robinson <[email protected]>2019-08-13 20:33:44 -0700
commit0806a003e2b359b173b84548d8b78a25e8b51ca3 (patch)
tree60fd0c38e32e8a051a643408ff3e6907f5ae8dda /al/listener.h
parent91ff01d1ad3c2995266902f41454c04e2b6e5d47 (diff)
Use new/delete for listener properties
Diffstat (limited to 'al/listener.h')
-rw-r--r--al/listener.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/al/listener.h b/al/listener.h
index 05d93d19..1b440bca 100644
--- a/al/listener.h
+++ b/al/listener.h
@@ -8,6 +8,7 @@
#include "AL/alc.h"
#include "AL/efx.h"
+#include "almalloc.h"
#include "vecmat.h"
enum class DistanceModel;
@@ -22,6 +23,8 @@ struct ALlistenerProps {
ALfloat MetersPerUnit;
std::atomic<ALlistenerProps*> next;
+
+ DEF_NEWDEL(ALlistenerProps)
};
struct ALlistener {