aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/panning.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 63ff618e..dcdcf36d 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -1166,18 +1166,6 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, enum HrtfRequestMode hrtf
Hrtf_DecRef(hrtf);
}
- /* Reuse the old HRTF if it's compatible and any desired HRTF wasn't
- * compatible.
- */
- if(!device->HrtfHandle && old_hrtf)
- {
- if(old_hrtf->sampleRate == device->Frequency)
- {
- device->HrtfHandle = old_hrtf;
- old_hrtf = NULL;
- }
- }
-
for(i = 0;!device->HrtfHandle && i < VECTOR_SIZE(device->HrtfList);i++)
{
const EnumeratedHrtf *entry = &VECTOR_ELEM(device->HrtfList, i);