summaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index b9def782..fe1318ce 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -104,14 +104,12 @@ void FillCPUCaps(ALuint capfilter)
if(maxfunc >= 1 &&
__get_cpuid(1, &cpuinf[0].regs[0], &cpuinf[0].regs[1], &cpuinf[0].regs[2], &cpuinf[0].regs[3]))
{
-#ifdef bit_SSE
- if((cpuinf[0].regs[3]&bit_SSE))
+ if((cpuinf[0].regs[3]&(1<<25)))
{
caps |= CPU_CAP_SSE;
- if((cpuinf[0].regs[3]&bit_SSE2))
+ if((cpuinf[0].regs[3]&(1<<26)))
caps |= CPU_CAP_SSE2;
}
-#endif
}
}
#elif defined(HAVE_WINDOWS_H)