diff options
author | Chris Robinson <[email protected]> | 2012-11-13 15:12:46 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-11-13 15:12:46 -0800 |
commit | 43b9027611a56d3ee87dc4523139127867efa9e6 (patch) | |
tree | 222fbdfc6e7ccafb2e37e406b0989984d8089c0f /OpenAL32 | |
parent | 40ea4f4b46ec2828aeb8244d6cab16a65c23aef7 (diff) |
Return the integer from fastf2i with MSVC
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 00512997..ec44bdee 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -368,6 +368,7 @@ static __inline ALint fastf2i(ALfloat f) ALint i; __asm fld f __asm fistp i + return i; #else return (ALint)f; #endif |