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
bac34c35
Commit
bac34c35
authored
Feb 10, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Feb 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Release the container during surface / volume cleanup.
parent
75ac954c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
surface.c
dlls/wined3d/surface.c
+3
-0
volume.c
dlls/wined3d/volume.c
+3
-0
No files found.
dlls/wined3d/surface.c
View file @
bac34c35
...
...
@@ -69,6 +69,9 @@ ULONG WINAPI IWineD3DSurfaceImpl_Release(IWineD3DSurface *iface) {
glDeleteTextures
(
1
,
&
This
->
glDescription
.
textureName
);
LEAVE_GL
();
}
if
(
This
->
container
)
{
IWineD3DBase_Release
(
This
->
container
);
}
IWineD3DResourceImpl_CleanUp
((
IWineD3DResource
*
)
iface
);
TRACE
(
"(%p) Released
\n
"
,
This
);
...
...
dlls/wined3d/volume.c
View file @
bac34c35
...
...
@@ -55,6 +55,9 @@ ULONG WINAPI IWineD3DVolumeImpl_Release(IWineD3DVolume *iface) {
TRACE
(
"(%p) : Releasing from %ld
\n
"
,
This
,
This
->
resource
.
ref
);
ref
=
InterlockedDecrement
(
&
This
->
resource
.
ref
);
if
(
ref
==
0
)
{
if
(
This
->
container
)
{
IWineD3DBase_Release
(
This
->
container
);
}
IWineD3DResourceImpl_CleanUp
((
IWineD3DResource
*
)
iface
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
...
...
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