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
003f679c
Commit
003f679c
authored
Apr 03, 2008
by
Alexander Dorofeyev
Committed by
Alexandre Julliard
Apr 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Additional colorfill test in p8_primary_test.
parent
8ec63a9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
visual.c
dlls/ddraw/tests/visual.c
+11
-0
No files found.
dlls/ddraw/tests/visual.c
View file @
003f679c
...
...
@@ -1860,6 +1860,17 @@ static void p8_primary_test()
"got R %02X G %02X B %02X, expected R FF G 00 B 00
\n
"
,
GetRValue
(
color
),
GetGValue
(
color
),
GetBValue
(
color
));
memset
(
&
ddbltfx
,
0
,
sizeof
(
ddbltfx
));
ddbltfx
.
dwSize
=
sizeof
(
ddbltfx
);
U5
(
ddbltfx
).
dwFillColor
=
1
;
hr
=
IDirectDrawSurface_Blt
(
Surface1
,
NULL
,
NULL
,
NULL
,
DDBLT_COLORFILL
|
DDBLT_WAIT
,
&
ddbltfx
);
ok
(
hr
==
DD_OK
,
"IDirectDrawSurface_Blt failed with %08x
\n
"
,
hr
);
color
=
getPixelColor_GDI
(
Surface1
,
10
,
10
);
ok
(
GetRValue
(
color
)
==
0
&&
GetGValue
(
color
)
==
0xFF
&&
GetBValue
(
color
)
==
0
,
"got R %02X G %02X B %02X, expected R 00 G FF B 00
\n
"
,
GetRValue
(
color
),
GetGValue
(
color
),
GetBValue
(
color
));
memset
(
&
ddsd
,
0
,
sizeof
(
ddsd
));
ddsd
.
dwSize
=
sizeof
(
ddsd
);
ddsd
.
dwFlags
=
DDSD_CAPS
|
DDSD_HEIGHT
|
DDSD_WIDTH
|
DDSD_PIXELFORMAT
;
...
...
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