Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
54a1504c
Commit
54a1504c
authored
Feb 20, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Simplify some equality comparisons between bools.
parent
d8efcc9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dsurface.c
dlls/ddraw/tests/dsurface.c
+4
-4
No files found.
dlls/ddraw/tests/dsurface.c
View file @
54a1504c
...
...
@@ -4724,7 +4724,7 @@ static void partial_block_lock_test(void)
{
SetRect
(
&
rect
,
formats
[
i
].
block_width
>>
1
,
0
,
formats
[
i
].
block_width
,
formats
[
i
].
block_height
);
hr
=
IDirectDrawSurface7_Lock
(
surface
,
&
rect
,
&
ddsd
,
0
,
NULL
);
ok
(
!
SUCCEEDED
(
hr
)
==
!
pools
[
j
].
success
||
broken
(
SUCCEEDED
(
hr
)),
ok
(
SUCCEEDED
(
hr
)
==
pools
[
j
].
success
||
broken
(
SUCCEEDED
(
hr
)),
"Partial block lock %s, expected %s, format %s, pool %s
\n
"
,
SUCCEEDED
(
hr
)
?
"succeeded"
:
"failed"
,
pools
[
j
].
success
?
"success"
:
"failure"
,
formats
[
i
].
name
,
pools
[
j
].
name
);
...
...
@@ -4736,7 +4736,7 @@ static void partial_block_lock_test(void)
SetRect
(
&
rect
,
0
,
0
,
formats
[
i
].
block_width
>>
1
,
formats
[
i
].
block_height
);
hr
=
IDirectDrawSurface7_Lock
(
surface
,
&
rect
,
&
ddsd
,
0
,
NULL
);
ok
(
!
SUCCEEDED
(
hr
)
==
!
pools
[
j
].
success
||
broken
(
SUCCEEDED
(
hr
)),
ok
(
SUCCEEDED
(
hr
)
==
pools
[
j
].
success
||
broken
(
SUCCEEDED
(
hr
)),
"Partial block lock %s, expected %s, format %s, pool %s
\n
"
,
SUCCEEDED
(
hr
)
?
"succeeded"
:
"failed"
,
pools
[
j
].
success
?
"success"
:
"failure"
,
formats
[
i
].
name
,
pools
[
j
].
name
);
...
...
@@ -4751,7 +4751,7 @@ static void partial_block_lock_test(void)
{
SetRect
(
&
rect
,
0
,
formats
[
i
].
block_height
>>
1
,
formats
[
i
].
block_width
,
formats
[
i
].
block_height
);
hr
=
IDirectDrawSurface7_Lock
(
surface
,
&
rect
,
&
ddsd
,
0
,
NULL
);
ok
(
!
SUCCEEDED
(
hr
)
==
!
pools
[
j
].
success
||
broken
(
SUCCEEDED
(
hr
)),
ok
(
SUCCEEDED
(
hr
)
==
pools
[
j
].
success
||
broken
(
SUCCEEDED
(
hr
)),
"Partial block lock %s, expected %s, format %s, pool %s
\n
"
,
SUCCEEDED
(
hr
)
?
"succeeded"
:
"failed"
,
pools
[
j
].
success
?
"success"
:
"failure"
,
formats
[
i
].
name
,
pools
[
j
].
name
);
...
...
@@ -4763,7 +4763,7 @@ static void partial_block_lock_test(void)
SetRect
(
&
rect
,
0
,
0
,
formats
[
i
].
block_width
,
formats
[
i
].
block_height
>>
1
);
hr
=
IDirectDrawSurface7_Lock
(
surface
,
&
rect
,
&
ddsd
,
0
,
NULL
);
ok
(
!
SUCCEEDED
(
hr
)
==
!
pools
[
j
].
success
||
broken
(
SUCCEEDED
(
hr
)),
ok
(
SUCCEEDED
(
hr
)
==
pools
[
j
].
success
||
broken
(
SUCCEEDED
(
hr
)),
"Partial block lock %s, expected %s, format %s, pool %s
\n
"
,
SUCCEEDED
(
hr
)
?
"succeeded"
:
"failed"
,
pools
[
j
].
success
?
"success"
:
"failure"
,
formats
[
i
].
name
,
pools
[
j
].
name
);
...
...
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