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
e404d1ed
Commit
e404d1ed
authored
Aug 26, 2014
by
Matteo Bruni
Committed by
Alexandre Julliard
Aug 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler/tests: Free the Direct3D9 object (Valgrind).
parent
ee0ac366
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
hlsl.c
dlls/d3dcompiler_43/tests/hlsl.c
+2
-0
No files found.
dlls/d3dcompiler_43/tests/hlsl.c
View file @
e404d1ed
...
...
@@ -97,6 +97,7 @@ static IDirect3DDevice9 *init_d3d9(IDirect3DVertexDeclaration9 **vdeclaration,
if
(
FAILED
(
hr
))
{
skip
(
"A32B32G32R32F format not available on this device
\n
"
);
IDirect3D9_Release
(
d3d9_ptr
);
return
NULL
;
}
...
...
@@ -107,6 +108,7 @@ static IDirect3DDevice9 *init_d3d9(IDirect3DVertexDeclaration9 **vdeclaration,
hr
=
IDirect3D9_CreateDevice
(
d3d9_ptr
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
,
NULL
,
D3DCREATE_HARDWARE_VERTEXPROCESSING
,
&
present_parameters
,
&
device_ptr
);
IDirect3D9_Release
(
d3d9_ptr
);
if
(
FAILED
(
hr
))
{
skip
(
"could not create Direct3D9 device
\n
"
);
...
...
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