aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-12 22:26:12 -0800
committerChris Robinson <[email protected]>2018-11-12 22:26:12 -0800
commita6d780574de081865ec673cb5c930a2c7796f43a (patch)
tree9683cf814ed95d47c52445451b4d6e3e0407409d /Alc/ALc.c
parentd4d0b1fdd48e1c056fad9cbe3e063fc9de1a0b75 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index fc68236d..4e2402ca 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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;