d3d8/d3d9: Fix a compiler warning on non-i386/x86_64.
This commit is contained in:
parent
cc5271d1b7
commit
243771deb1
|
@ -2767,9 +2767,8 @@ static const IWineD3DDeviceParentVtbl d3d8_wined3d_device_parent_vtbl =
|
|||
|
||||
static void setup_fpu(void)
|
||||
{
|
||||
WORD cw;
|
||||
|
||||
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
|
||||
WORD cw;
|
||||
__asm__ volatile ("fnstcw %0" : "=m" (cw));
|
||||
cw = (cw & ~0xf3f) | 0x3f;
|
||||
__asm__ volatile ("fldcw %0" : : "m" (cw));
|
||||
|
|
|
@ -2835,9 +2835,8 @@ static const IWineD3DDeviceParentVtbl d3d9_wined3d_device_parent_vtbl =
|
|||
|
||||
static void setup_fpu(void)
|
||||
{
|
||||
WORD cw;
|
||||
|
||||
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
|
||||
WORD cw;
|
||||
__asm__ volatile ("fnstcw %0" : "=m" (cw));
|
||||
cw = (cw & ~0xf3f) | 0x3f;
|
||||
__asm__ volatile ("fldcw %0" : : "m" (cw));
|
||||
|
|
Loading…
Reference in New Issue