aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-03-14 19:16:59 -0700
committerChris Robinson <[email protected]>2017-03-14 19:16:59 -0700
commit32d521d79cf9baeb3cdbec69c8374ae5776d9052 (patch)
tree1a22c63739b3a2aa1c94487117ab90baaa4296cd
parent6d565ff1fd7934087945437304f1ea36550b3510 (diff)
Check usability of MixHrtf_Neon before MixHrtf_SSE
-rw-r--r--Alc/mixer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index fd2eba01..91c0623e 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -93,14 +93,14 @@ RowMixerFunc SelectRowMixer(void)
static inline HrtfMixerFunc SelectHrtfMixer(void)
{
-#ifdef HAVE_SSE
- if((CPUCapFlags&CPU_CAP_SSE))
- return MixHrtf_SSE;
-#endif
#ifdef HAVE_NEON
if((CPUCapFlags&CPU_CAP_NEON))
return MixHrtf_Neon;
#endif
+#ifdef HAVE_SSE
+ if((CPUCapFlags&CPU_CAP_SSE))
+ return MixHrtf_SSE;
+#endif
return MixHrtf_C;
}