diff options
author | Chris Robinson <[email protected]> | 2020-03-01 17:16:09 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-03-01 17:16:09 -0800 |
commit | 3e1a2c0f77baa81244a436e29db4e4780cdc2105 (patch) | |
tree | cacb56fa34b20d971a0d89718a4b20d733ef9ebb /alc/alcmain.h | |
parent | a01617904c222578b71d6912cc5e5410b137c626 (diff) |
Use an intrusive_ptr for the device's HrtfStore
Diffstat (limited to 'alc/alcmain.h')
-rw-r--r-- | alc/alcmain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alcmain.h b/alc/alcmain.h index 673997dc..071e43f5 100644 --- a/alc/alcmain.h +++ b/alc/alcmain.h @@ -304,7 +304,7 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice> { /* HRTF state and info */ std::unique_ptr<DirectHrtfState> mHrtfState; - HrtfStore *mHrtf{nullptr}; + al::intrusive_ptr<HrtfStore> mHrtf; /* Ambisonic-to-UHJ encoder */ std::unique_ptr<Uhj2Encoder> Uhj_Encoder; |