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
f9593bfe
Commit
f9593bfe
authored
Sep 22, 2006
by
Elie Morisse
Committed by
Alexandre Julliard
Oct 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Don't destroy complex attached surfaces even if explicitely
requested as they will be liquidated anyway when the root is destroyed.
parent
e25e1a4d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
surface.c
dlls/ddraw/surface.c
+4
-7
No files found.
dlls/ddraw/surface.c
View file @
f9593bfe
...
...
@@ -293,14 +293,11 @@ IDirectDrawSurfaceImpl_Release(IDirectDrawSurface7 *iface)
IDirectDrawImpl
*
ddraw
;
IUnknown
*
ifaceToRelease
=
This
->
ifaceToRelease
;
/* Destroy all complex attached surfaces
* Therefore, start with the first surface,
* except for textures. Not entirely sure what has
* to happen exactly in this case
*/
if
(
(
This
->
first_complex
!=
This
)
&&
!
(
This
->
surface_desc
.
ddsCaps
.
dwCaps
&
DDSCAPS_TEXTURE
))
/* Complex attached surfaces are destroyed implicitely when the root is released */
if
(
This
->
first_complex
!=
This
)
{
FIXME
(
"(%p) Destroying a surface which is a attached to a complex root %p
\n
"
,
This
,
This
->
first_complex
);
WARN
(
"(%p) Attempt to destroy a surface that is attached to a complex root %p
\n
"
,
This
,
This
->
first_complex
);
return
ref
;
}
ddraw
=
This
->
ddraw
;
...
...
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