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
4125fa62
Commit
4125fa62
authored
Jan 31, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Check ColorFill() return codes in color_fill_test() (LLVM/Clang).
parent
ebf66c10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
visual.c
dlls/d3d9/tests/visual.c
+3
-0
No files found.
dlls/d3d9/tests/visual.c
View file @
4125fa62
...
...
@@ -654,6 +654,7 @@ static void color_fill_test(IDirect3DDevice9 *device)
{
fill_color
=
0x112233
;
hr
=
IDirect3DDevice9_ColorFill
(
device
,
backbuffer
,
NULL
,
fill_color
);
ok
(
SUCCEEDED
(
hr
),
"Color fill failed, hr %#x.
\n
"
,
hr
);
color
=
getPixelColor
(
device
,
0
,
0
);
ok
(
color
==
fill_color
,
"Expected color %08x, got %08x
\n
"
,
fill_color
,
color
);
...
...
@@ -668,6 +669,7 @@ static void color_fill_test(IDirect3DDevice9 *device)
{
fill_color
=
0x445566
;
hr
=
IDirect3DDevice9_ColorFill
(
device
,
rt_surface
,
NULL
,
fill_color
);
ok
(
SUCCEEDED
(
hr
),
"Color fill failed, hr %#x.
\n
"
,
hr
);
color
=
getPixelColorFromSurface
(
rt_surface
,
0
,
0
);
ok
(
color
==
fill_color
,
"Expected color %08x, got %08x
\n
"
,
fill_color
,
color
);
...
...
@@ -683,6 +685,7 @@ static void color_fill_test(IDirect3DDevice9 *device)
{
fill_color
=
0x778899
;
hr
=
IDirect3DDevice9_ColorFill
(
device
,
offscreen_surface
,
NULL
,
fill_color
);
ok
(
SUCCEEDED
(
hr
),
"Color fill failed, hr %#x.
\n
"
,
hr
);
color
=
getPixelColorFromSurface
(
offscreen_surface
,
0
,
0
);
ok
(
color
==
fill_color
,
"Expected color %08x, got %08x
\n
"
,
fill_color
,
color
);
...
...
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