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
d3c32ccf
Commit
d3c32ccf
authored
Mar 13, 2023
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Remove an unused call to IDirect3D8_GetAdapterDisplayMode().
It is no longer used now that test_fpu_setup() uses create_device().
parent
34139937
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
device.c
dlls/d3d8/tests/device.c
+0
-4
No files found.
dlls/d3d8/tests/device.c
View file @
d3c32ccf
...
...
@@ -3758,7 +3758,6 @@ static void test_fpu_setup(void)
#if defined(D3D8_TEST_SET_FPU_CW) && defined(D3D8_TEST_GET_FPU_CW)
struct
device_desc
device_desc
;
IDirect3DDevice8
*
device
;
D3DDISPLAYMODE
d3ddm
;
IDirect3D8
*
d3d8
;
HWND
window
;
HRESULT
hr
;
...
...
@@ -3771,9 +3770,6 @@ static void test_fpu_setup(void)
d3d8
=
Direct3DCreate8
(
D3D_SDK_VERSION
);
ok
(
!!
d3d8
,
"Failed to create a D3D object.
\n
"
);
hr
=
IDirect3D8_GetAdapterDisplayMode
(
d3d8
,
D3DADAPTER_DEFAULT
,
&
d3ddm
);
ok
(
SUCCEEDED
(
hr
),
"GetAdapterDisplayMode failed, hr %#lx.
\n
"
,
hr
);
device_desc
.
adapter_ordinal
=
D3DADAPTER_DEFAULT
;
device_desc
.
device_window
=
window
;
device_desc
.
width
=
640
;
...
...
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