Don't use inline asm with MSVC on 64-bit

This commit is contained in:
Chris Robinson 2011-10-02 21:44:08 -07:00
parent cf10a8d321
commit 7f5074949e

View File

@ -481,7 +481,7 @@ static __inline ALuint NextPowerOf2(ALuint value)
static __inline ALint fastf2i(ALfloat f)
{
ALint i;
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(_WIN64)
__asm fld f
__asm fistp i
#elif defined(__GNUC__)