diff options
author | Chris Robinson <[email protected]> | 2018-01-11 07:19:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-11 07:19:19 -0800 |
commit | 81b13f78ea27aaa6704457124931148244fd1614 (patch) | |
tree | 781abb42054d9c2e51fdc1aefc44d1ad81d265d7 /Alc/helpers.c | |
parent | 9b9ec2c21a7f0992a6ca64ac9cb2a03838e11cd7 (diff) |
Move the CPU capability flags to a separate header
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r-- | Alc/helpers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c index 7f6349b3..0f69b29e 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -108,6 +108,7 @@ DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x #include "alMain.h" #include "alu.h" +#include "cpu_caps.h" #include "atomic.h" #include "uintmap.h" #include "vector.h" @@ -124,12 +125,11 @@ extern inline ALuint64 ScaleCeil(ALuint64 val, ALuint64 new_scale, ALuint64 old_ extern inline ALint fastf2i(ALfloat f); -ALuint CPUCapFlags = 0; +int CPUCapFlags = 0; - -void FillCPUCaps(ALuint capfilter) +void FillCPUCaps(int capfilter) { - ALuint caps = 0; + int caps = 0; /* FIXME: We really should get this for all available CPUs in case different * CPUs have different caps (is that possible on one machine?). */ |