diff options
author | Chris Robinson <[email protected]> | 2018-11-12 22:26:12 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-12 22:26:12 -0800 |
commit | a6d780574de081865ec673cb5c930a2c7796f43a (patch) | |
tree | 9683cf814ed95d47c52445451b4d6e3e0407409d /Alc/ALc.c | |
parent | d4d0b1fdd48e1c056fad9cbe3e063fc9de1a0b75 (diff) |
Make the enumerated HRTF entry name a char*
Would ideally be a std::string with the HRTF name itself, but they're still
seen in C code.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4677,7 +4677,7 @@ ALC_API const ALCchar* ALC_APIENTRY alcGetStringiSOFT(ALCdevice *device, ALCenum { case ALC_HRTF_SPECIFIER_SOFT: if(index >= 0 && (size_t)index < VECTOR_SIZE(device->HrtfList)) - str = alstr_get_cstr(VECTOR_ELEM(device->HrtfList, index).name); + str = VECTOR_ELEM(device->HrtfList, index).name; else alcSetError(device, ALC_INVALID_VALUE); break; |