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
6523ef5f
Commit
6523ef5f
authored
Dec 05, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Don't enumerate surfaces without references.
parent
107369d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ddraw.c
dlls/ddraw/ddraw.c
+7
-0
No files found.
dlls/ddraw/ddraw.c
View file @
6523ef5f
...
...
@@ -3422,6 +3422,13 @@ static HRESULT WINAPI ddraw7_EnumSurfaces(IDirectDraw7 *iface, DWORD Flags,
LIST_FOR_EACH_SAFE
(
entry
,
entry2
,
&
This
->
surface_list
)
{
surf
=
LIST_ENTRY
(
entry
,
IDirectDrawSurfaceImpl
,
surface_list_entry
);
if
(
!
surf
->
iface_count
)
{
WARN
(
"Not enumerating surface %p because it doesn't have any references.
\n
"
,
surf
);
continue
;
}
if
(
all
||
(
nomatch
!=
ddraw_match_surface_desc
(
DDSD
,
&
surf
->
surface_desc
)))
{
TRACE
(
"Enumerating surface %p.
\n
"
,
surf
);
...
...
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