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
d4fa0d8d
Commit
d4fa0d8d
authored
Jul 13, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Get rid of some redundant TRACE_ON invocations.
parent
46a9a7e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
16 deletions
+10
-16
surface.c
dlls/ddraw/surface.c
+10
-16
No files found.
dlls/ddraw/surface.c
View file @
d4fa0d8d
...
...
@@ -712,14 +712,11 @@ static HRESULT WINAPI ddraw_surface7_GetAttachedSurface(IDirectDrawSurface7 *ifa
surf
=
This
->
complex_array
[
i
];
if
(
!
surf
)
break
;
if
(
TRACE_ON
(
ddraw
))
{
TRACE
(
"Surface: (%p) caps: %x,%x,%x,%x
\n
"
,
surf
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps2
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps3
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps4
);
}
TRACE
(
"Surface: (%p) caps: %#x, %#x, %#x, %#x.
\n
"
,
surf
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps2
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps3
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps4
);
if
(((
surf
->
surface_desc
.
ddsCaps
.
dwCaps
&
our_caps
.
dwCaps
)
==
our_caps
.
dwCaps
)
&&
((
surf
->
surface_desc
.
ddsCaps
.
dwCaps2
&
our_caps
.
dwCaps2
)
==
our_caps
.
dwCaps2
))
{
...
...
@@ -745,14 +742,11 @@ static HRESULT WINAPI ddraw_surface7_GetAttachedSurface(IDirectDrawSurface7 *ifa
while
(
(
surf
=
surf
->
next_attached
)
)
{
if
(
TRACE_ON
(
ddraw
))
{
TRACE
(
"Surface: (%p) caps: %x,%x,%x,%x
\n
"
,
surf
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps2
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps3
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps4
);
}
TRACE
(
"Surface: (%p) caps: %#x, %#x, %#x, %#x.
\n
"
,
surf
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps2
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps3
,
surf
->
surface_desc
.
ddsCaps
.
dwCaps4
);
if
(((
surf
->
surface_desc
.
ddsCaps
.
dwCaps
&
our_caps
.
dwCaps
)
==
our_caps
.
dwCaps
)
&&
((
surf
->
surface_desc
.
ddsCaps
.
dwCaps2
&
our_caps
.
dwCaps2
)
==
our_caps
.
dwCaps2
))
{
...
...
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