diff options
author | Chris Robinson <[email protected]> | 2014-12-19 08:50:30 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-12-19 08:50:30 -0800 |
commit | 7f696edf130523a6798b3fcab502bd5d93574c7f (patch) | |
tree | 133c818a9c82ee35cae4ab5a41aadc0b46237937 /Alc/helpers.c | |
parent | c3a36d9b1975df8136c80412cb5ebfde711608d8 (diff) |
Set the right variable when assuming CPU extensions
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r-- | Alc/helpers.c | 6 |
1 files 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 |