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
2b1b5dba
Commit
2b1b5dba
authored
Apr 19, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Don't bother unsetting resources on surface destruction.
Uninit3D() / stateblock destruction already takes care of this.
parent
0de0e817
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
surface.c
dlls/ddraw/surface.c
+0
-4
No files found.
dlls/ddraw/surface.c
View file @
2b1b5dba
...
...
@@ -361,10 +361,6 @@ static ULONG WINAPI ddraw_surface7_Release(IDirectDrawSurface7 *iface)
if
((
ddraw
->
d3d_initialized
)
&&
(
This
==
ddraw
->
d3d_target
))
{
TRACE
(
"(%p) Destroying the render target, uninitializing D3D
\n
"
,
This
);
/* Unset any index buffer, just to be sure */
IWineD3DDevice_SetIndexBuffer
(
ddraw
->
wineD3DDevice
,
NULL
,
WINED3DFMT_UNKNOWN
);
IWineD3DDevice_SetDepthStencilSurface
(
ddraw
->
wineD3DDevice
,
NULL
);
IWineD3DDevice_SetVertexDeclaration
(
ddraw
->
wineD3DDevice
,
NULL
);
for
(
i
=
0
;
i
<
ddraw
->
numConvertedDecls
;
++
i
)
{
wined3d_vertex_declaration_decref
(
ddraw
->
decls
[
i
].
decl
);
...
...
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