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
ceef3a84
Commit
ceef3a84
authored
Jan 13, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36/tests: Actually test retrieve_device_state calls (PVS-Studio).
parent
dcba8edb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
core.c
dlls/d3dx9_36/tests/core.c
+2
-0
No files found.
dlls/d3dx9_36/tests/core.c
View file @
ceef3a84
...
...
@@ -875,6 +875,7 @@ static void test_ID3DXRenderToSurface_device_state(IDirect3DDevice9 *device)
}
hr
=
retrieve_device_state
(
device
,
&
pre_state
);
ok
(
SUCCEEDED
(
hr
),
"Failed to retrieve device state
\n
"
);
hr
=
D3DXCreateRenderToSurface
(
device
,
256
,
256
,
D3DFMT_A8R8G8B8
,
TRUE
,
D3DFMT_D24X8
,
&
render
);
ok
(
hr
==
D3D_OK
,
"D3DXCreateRenderToSurface returned %#x, expected %#x
\n
"
,
hr
,
D3D_OK
);
...
...
@@ -1100,6 +1101,7 @@ static void test_ID3DXRenderToEnvMap_cube_map(IDirect3DDevice9 *device)
}
hr
=
retrieve_device_state
(
device
,
&
pre_state
);
ok
(
SUCCEEDED
(
hr
),
"Failed to retrieve device state
\n
"
);
hr
=
D3DXCreateRenderToEnvMap
(
device
,
256
,
0
,
D3DFMT_A8R8G8B8
,
TRUE
,
D3DFMT_D24X8
,
&
render
);
ok
(
hr
==
D3D_OK
,
"D3DCreateRenderToEnvMap returned %#x, expected %#x
\n
"
,
hr
,
D3D_OK
);
...
...
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