Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
243771de
Commit
243771de
authored
Aug 23, 2010
by
Austin English
Committed by
Alexandre Julliard
Aug 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/d3d9: Fix a compiler warning on non-i386/x86_64.
parent
cc5271d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
device.c
dlls/d3d8/device.c
+1
-2
device.c
dlls/d3d9/device.c
+1
-2
No files found.
dlls/d3d8/device.c
View file @
243771de
...
@@ -2767,9 +2767,8 @@ static const IWineD3DDeviceParentVtbl d3d8_wined3d_device_parent_vtbl =
...
@@ -2767,9 +2767,8 @@ static const IWineD3DDeviceParentVtbl d3d8_wined3d_device_parent_vtbl =
static
void
setup_fpu
(
void
)
static
void
setup_fpu
(
void
)
{
{
WORD
cw
;
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
WORD
cw
;
__asm__
volatile
(
"fnstcw %0"
:
"=m"
(
cw
));
__asm__
volatile
(
"fnstcw %0"
:
"=m"
(
cw
));
cw
=
(
cw
&
~
0xf3f
)
|
0x3f
;
cw
=
(
cw
&
~
0xf3f
)
|
0x3f
;
__asm__
volatile
(
"fldcw %0"
:
:
"m"
(
cw
));
__asm__
volatile
(
"fldcw %0"
:
:
"m"
(
cw
));
...
...
dlls/d3d9/device.c
View file @
243771de
...
@@ -2835,9 +2835,8 @@ static const IWineD3DDeviceParentVtbl d3d9_wined3d_device_parent_vtbl =
...
@@ -2835,9 +2835,8 @@ static const IWineD3DDeviceParentVtbl d3d9_wined3d_device_parent_vtbl =
static
void
setup_fpu
(
void
)
static
void
setup_fpu
(
void
)
{
{
WORD
cw
;
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
WORD
cw
;
__asm__
volatile
(
"fnstcw %0"
:
"=m"
(
cw
));
__asm__
volatile
(
"fnstcw %0"
:
"=m"
(
cw
));
cw
=
(
cw
&
~
0xf3f
)
|
0x3f
;
cw
=
(
cw
&
~
0xf3f
)
|
0x3f
;
__asm__
volatile
(
"fldcw %0"
:
:
"m"
(
cw
));
__asm__
volatile
(
"fldcw %0"
:
:
"m"
(
cw
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment