d3d8/d3d9: Fix a compiler warning on non-i386/x86_64.

This commit is contained in:
Austin English 2010-08-23 11:36:57 -05:00 committed by Alexandre Julliard
parent cc5271d1b7
commit 243771deb1
2 changed files with 2 additions and 4 deletions

View File

@ -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));

View File

@ -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));