diff options
author | Chris Robinson <[email protected]> | 2018-12-08 21:58:44 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-08 21:58:44 -0800 |
commit | e5db9b237847db74a9228e2da925c0b6f127ab28 (patch) | |
tree | 4582f41a0ebfdf3296dbc6f6f06f36c25cfe479c /Alc/hrtf.cpp | |
parent | a4009c47e7086611e70bafdf36666b40209f6608 (diff) |
Avoid static global initialization functions
Diffstat (limited to 'Alc/hrtf.cpp')
-rw-r--r-- | Alc/hrtf.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Alc/hrtf.cpp b/Alc/hrtf.cpp index 9b645b05..7ca2e3c7 100644 --- a/Alc/hrtf.cpp +++ b/Alc/hrtf.cpp @@ -1286,18 +1286,3 @@ void Hrtf_DecRef(struct Hrtf *hrtf) } } } - - -void FreeHrtfs(void) -{ - struct HrtfEntry *Hrtf{LoadedHrtfs}; - LoadedHrtfs = nullptr; - - while(Hrtf != nullptr) - { - struct HrtfEntry *next{Hrtf->next}; - al_free(Hrtf->handle); - al_free(Hrtf); - Hrtf = next; - } -} |