Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b98c8ce5
Commit
b98c8ce5
authored
Dec 02, 2010
by
Austin English
Committed by
Alexandre Julliard
Dec 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/d3d9: Fix compiler warnings on non x86/x86_64.
parent
f10c1607
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
device.c
dlls/d3d8/tests/device.c
+2
-2
device.c
dlls/d3d9/tests/device.c
+2
-2
No files found.
dlls/d3d8/tests/device.c
View file @
b98c8ce5
...
...
@@ -1970,6 +1970,7 @@ static inline WORD get_fpu_cw(void)
static
void
test_fpu_setup
(
void
)
{
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
D3DPRESENT_PARAMETERS
present_parameters
;
IDirect3DDevice8
*
device
;
D3DDISPLAYMODE
d3ddm
;
...
...
@@ -2032,6 +2033,7 @@ static void test_fpu_setup(void)
done:
if
(
window
)
DestroyWindow
(
window
);
if
(
d3d8
)
IDirect3D8_Release
(
d3d8
);
#endif
}
static
void
test_ApplyStateBlock
(
void
)
...
...
@@ -2121,9 +2123,7 @@ START_TEST(device)
}
IDirect3D8_Release
(
d3d8
);
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
test_fpu_setup
();
#endif
test_display_modes
();
test_shader_versions
();
test_swapchain
();
...
...
dlls/d3d9/tests/device.c
View file @
b98c8ce5
...
...
@@ -2811,6 +2811,7 @@ static inline WORD get_fpu_cw(void)
static
void
test_fpu_setup
(
void
)
{
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
D3DPRESENT_PARAMETERS
present_parameters
;
IDirect3DDevice9
*
device
;
HWND
window
=
NULL
;
...
...
@@ -2868,6 +2869,7 @@ static void test_fpu_setup(void)
done:
if
(
window
)
DestroyWindow
(
window
);
if
(
d3d9
)
IDirect3D9_Release
(
d3d9
);
#endif
}
START_TEST
(
device
)
...
...
@@ -2891,9 +2893,7 @@ START_TEST(device)
}
IDirect3D9_Release
(
d3d9
);
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
test_fpu_setup
();
#endif
test_multi_device
();
test_display_formats
();
test_display_modes
();
...
...
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