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
d73af0d9
Commit
d73af0d9
authored
Jun 17, 2011
by
Huw Davies
Committed by
Alexandre Julliard
Jun 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Add broken behaviour on nt4 sp1 and 2.
parent
b9c06ad3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
bitmap.c
dlls/gdi32/tests/bitmap.c
+4
-2
No files found.
dlls/gdi32/tests/bitmap.c
View file @
d73af0d9
...
...
@@ -354,7 +354,9 @@ static void test_dib_info(HBITMAP hbm, const void *bits, const BITMAPINFOHEADER
ok
(
ds
.
dsBmih
.
biHeight
==
abs
(
bmih
->
biHeight
),
"%d != %d
\n
"
,
ds
.
dsBmih
.
biHeight
,
abs
(
bmih
->
biHeight
));
ok
(
ds
.
dsBmih
.
biPlanes
==
bmih
->
biPlanes
,
"%u != %u
\n
"
,
ds
.
dsBmih
.
biPlanes
,
bmih
->
biPlanes
);
ok
(
ds
.
dsBmih
.
biBitCount
==
bmih
->
biBitCount
,
"%u != %u
\n
"
,
ds
.
dsBmih
.
biBitCount
,
bmih
->
biBitCount
);
ok
(
ds
.
dsBmih
.
biCompression
==
bmih
->
biCompression
,
"%u != %u
\n
"
,
ds
.
dsBmih
.
biCompression
,
bmih
->
biCompression
);
ok
(
ds
.
dsBmih
.
biCompression
==
bmih
->
biCompression
||
((
bmih
->
biBitCount
==
32
)
&&
broken
(
ds
.
dsBmih
.
biCompression
==
BI_BITFIELDS
)),
/* nt4 sp1 and 2 */
"%u != %u
\n
"
,
ds
.
dsBmih
.
biCompression
,
bmih
->
biCompression
);
ok
(
ds
.
dsBmih
.
biSizeImage
==
bmih
->
biSizeImage
,
"%u != %u
\n
"
,
ds
.
dsBmih
.
biSizeImage
,
bmih
->
biSizeImage
);
ok
(
ds
.
dsBmih
.
biXPelsPerMeter
==
bmih
->
biXPelsPerMeter
,
"%d != %d
\n
"
,
ds
.
dsBmih
.
biXPelsPerMeter
,
bmih
->
biXPelsPerMeter
);
ok
(
ds
.
dsBmih
.
biYPelsPerMeter
==
bmih
->
biYPelsPerMeter
,
"%d != %d
\n
"
,
ds
.
dsBmih
.
biYPelsPerMeter
,
bmih
->
biYPelsPerMeter
);
...
...
@@ -1786,7 +1788,7 @@ static void test_GetDIBits_BI_BITFIELDS(void)
if
(
dibinfo
->
bmiHeader
.
biBitCount
>
8
)
{
ok
(
dibinfo
->
bmiHeader
.
biCompression
==
BI_BITFIELDS
,
"compression is %u
\n
"
,
dibinfo
->
bmiHeader
.
biCompression
);
"compression is %u
(%d bpp)
\n
"
,
dibinfo
->
bmiHeader
.
biCompression
,
dibinfo
->
bmiHeader
.
biBitCount
);
ok
(
!
bitmasks
[
0
],
"red mask is set
\n
"
);
ok
(
!
bitmasks
[
1
],
"green mask is set
\n
"
);
...
...
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