Don't use inline asm with MSVC on 64-bit
This commit is contained in:
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user