From 7f696edf130523a6798b3fcab502bd5d93574c7f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 19 Dec 2014 08:50:30 -0800 Subject: Set the right variable when assuming CPU extensions --- Alc/helpers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Alc/helpers.c b/Alc/helpers.c index 0d074087..8c3838de 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -200,13 +200,13 @@ void FillCPUCaps(ALuint capfilter) /* Assume support for whatever's supported if we can't check for it */ #if defined(HAVE_SSE4_1) #warning "Assuming SSE 4.1 run-time support!" - capfilter |= CPU_CAP_SSE | CPU_CAP_SSE2 | CPU_CAP_SSE4_1; + caps |= CPU_CAP_SSE | CPU_CAP_SSE2 | CPU_CAP_SSE4_1; #elif defined(HAVE_SSE2) #warning "Assuming SSE 2 run-time support!" - capfilter |= CPU_CAP_SSE | CPU_CAP_SSE2; + caps |= CPU_CAP_SSE | CPU_CAP_SSE2; #elif defined(HAVE_SSE) #warning "Assuming SSE run-time support!" - capfilter |= CPU_CAP_SSE; + caps |= CPU_CAP_SSE; #endif #endif #ifdef HAVE_NEON -- cgit v1.2.3