diff options
author | Chris Robinson <[email protected]> | 2013-11-04 13:44:46 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-11-04 13:44:46 -0800 |
commit | d3c70e63b4a42c92f8229f3c9e7f21a2048b6b9d (patch) | |
tree | 31b5ca98a42f4d1e51d0fd76bf7040a1c2e8da44 /Alc/helpers.c | |
parent | 551f893ae910c2b1b72c0a22aeab1ede75d3e5ed (diff) |
Use C99 inline in more places
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r-- | Alc/helpers.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c index 94dedcf8..6c6c88e2 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -86,6 +86,10 @@ extern inline void UnlockUIntMapRead(UIntMap *map); extern inline void LockUIntMapWrite(UIntMap *map); extern inline void UnlockUIntMapWrite(UIntMap *map); +extern inline ALuint NextPowerOf2(ALuint value); +extern inline ALint fastf2i(ALfloat f); +extern inline ALuint fastf2u(ALfloat f); + ALuint CPUCapFlags = 0; |