diff options
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 3a8e28fc..744e3609 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -666,7 +666,7 @@ struct ALCdevice_struct { POSTPROCESS PostProcess{}; /* HRTF state and info */ - DirectHrtfState *mHrtfState{nullptr}; + std::unique_ptr<DirectHrtfState> mHrtfState; std::string HrtfName; Hrtf *HrtfHandle{nullptr}; al::vector<EnumeratedHrtf> HrtfList; |