Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
c51bf7b0
Commit
c51bf7b0
authored
Jul 31, 2012
by
Józef Kucia
Committed by
Alexandre Julliard
Aug 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9/tests: Clean up device state after tests.
parent
c10d95b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
core.c
dlls/d3dx9_36/tests/core.c
+3
-1
No files found.
dlls/d3dx9_36/tests/core.c
View file @
c51bf7b0
...
...
@@ -927,6 +927,8 @@ static void test_ID3DXRenderToSurface_device_state(IDirect3DDevice9 *device)
compare_device_state
(
&
current_state
,
&
pre_state
,
FALSE
);
release_device_state
(
&
current_state
);
check_release
((
IUnknown
*
)
render
,
0
);
/* if EndScene isn't called, the device state isn't restored */
hr
=
retrieve_device_state
(
device
,
&
current_state
);
ok
(
SUCCEEDED
(
hr
),
"Failed to retrieve device state
\n
"
);
...
...
@@ -936,7 +938,7 @@ static void test_ID3DXRenderToSurface_device_state(IDirect3DDevice9 *device)
hr
=
apply_device_state
(
device
,
&
pre_state
);
ok
(
SUCCEEDED
(
hr
),
"Failed to restore previous device state
\n
"
);
check_release
((
IUnknown
*
)
render
,
0
);
IDirect3DDevice9_EndScene
(
device
);
}
release_device_state
(
&
pre_state
);
...
...
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