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
f4151320
Commit
f4151320
authored
Sep 15, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Sep 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Accept another error when setting an overlay with a NULL rect.
parent
95b7cda6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
overlay.c
dlls/ddraw/tests/overlay.c
+2
-1
No files found.
dlls/ddraw/tests/overlay.c
View file @
f4151320
...
...
@@ -124,7 +124,8 @@ static void rectangle_settings(void) {
/* Passing a NULL dest rect sets the position to 0/0 . Visually it can be seen that the overlay overlays the whole primary(==screen)*/
hr2
=
IDirectDrawSurface7_UpdateOverlay
(
overlay
,
NULL
,
primary
,
NULL
,
0
,
NULL
);
ok
(
hr2
==
DD_OK
||
hr2
==
DDERR_INVALIDPARAMS
,
"IDirectDrawSurface7_UpdateOverlay failed with hr=0x%08x
\n
"
,
hr
);
ok
(
hr2
==
DD_OK
||
hr2
==
DDERR_INVALIDPARAMS
||
hr2
==
DDERR_OUTOFCAPS
,
"IDirectDrawSurface7_UpdateOverlay failed with hr=0x%08x
\n
"
,
hr2
);
hr
=
IDirectDrawSurface7_GetOverlayPosition
(
overlay
,
&
posx
,
&
posy
);
ok
(
hr
==
DD_OK
,
"IDirectDrawSurface7_GetOverlayPosition failed with hr=0x%08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr2
))
...
...
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