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
f2d7cbc9
Commit
f2d7cbc9
authored
Apr 23, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Apr 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Remove variable hr which is not really used from resource_test_cleanup.
parent
414b5069
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
stateblock.c
dlls/d3d9/tests/stateblock.c
+1
-2
No files found.
dlls/d3d9/tests/stateblock.c
View file @
f2d7cbc9
...
...
@@ -2027,7 +2027,6 @@ static void resource_test_cleanup(IDirect3DDevice9 *device, struct state_test *t
struct
resource_test_context
*
ctx
=
test
->
test_context
;
const
struct
resource_test_arg
*
arg
=
test
->
test_arg
;
unsigned
int
i
;
HRESULT
hr
;
resource_apply_data
(
device
,
test
,
&
ctx
->
default_data
);
...
...
@@ -2042,7 +2041,7 @@ static void resource_test_cleanup(IDirect3DDevice9 *device, struct state_test *t
for
(
i
=
0
;
i
<
arg
->
tex_count
;
++
i
)
{
hr
=
IDirect3DBaseTexture9_Release
(
ctx
->
test_data_all
.
tex
[
i
]);
IDirect3DBaseTexture9_Release
(
ctx
->
test_data_all
.
tex
[
i
]);
}
HeapFree
(
GetProcessHeap
(),
0
,
ctx
->
default_data
.
vb
);
...
...
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