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
a394dbec
Commit
a394dbec
authored
Dec 29, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Release the vertex declaration once we're done with it.
parent
a7a50e03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
device.c
dlls/d3d9/device.c
+10
-1
No files found.
dlls/d3d9/device.c
View file @
a394dbec
...
...
@@ -1333,7 +1333,16 @@ static HRESULT WINAPI IDirect3DDevice9Impl_GetFVF(LPDIRECT3DDEVICE9EX iface, DWO
return
hr
;
}
*
pFVF
=
decl
?
((
IDirect3DVertexDeclaration9Impl
*
)
decl
)
->
convFVF
:
0
;
if
(
decl
)
{
*
pFVF
=
((
IDirect3DVertexDeclaration9Impl
*
)
decl
)
->
convFVF
;
IDirect3DVertexDeclaration9_Release
(
decl
);
}
else
{
*
pFVF
=
0
;
}
TRACE
(
"Returning FVF %#x
\n
"
,
*
pFVF
);
return
hr
;
...
...
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