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
27f52727
Commit
27f52727
authored
Mar 13, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix two test failures on W2K/VMware.
parent
3668edcd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
visual.c
dlls/ddraw/tests/visual.c
+6
-2
No files found.
dlls/ddraw/tests/visual.c
View file @
27f52727
...
@@ -834,7 +834,9 @@ static void rhw_zero_test(IDirect3DDevice7 *device)
...
@@ -834,7 +834,9 @@ static void rhw_zero_test(IDirect3DDevice7 *device)
}
}
color
=
getPixelColor
(
device
,
5
,
5
);
color
=
getPixelColor
(
device
,
5
,
5
);
ok
(
color
==
0xffffff
,
"Got color %08x, expected 00ffffff
\n
"
,
color
);
ok
(
color
==
0xffffff
||
broken
(
color
==
0
),
/* VMware */
"Got color %08x, expected 00ffffff
\n
"
,
color
);
color
=
getPixelColor
(
device
,
105
,
105
);
color
=
getPixelColor
(
device
,
105
,
105
);
ok
(
color
==
0
,
"Got color %08x, expected 00000000
\n
"
,
color
);
ok
(
color
==
0
,
"Got color %08x, expected 00000000
\n
"
,
color
);
...
@@ -2289,7 +2291,9 @@ static void p8_primary_test(void)
...
@@ -2289,7 +2291,9 @@ static void p8_primary_test(void)
ddsd
.
ddpfPixelFormat
.
dwFlags
=
DDPF_RGB
|
DDPF_PALETTEINDEXED8
;
ddsd
.
ddpfPixelFormat
.
dwFlags
=
DDPF_RGB
|
DDPF_PALETTEINDEXED8
;
U1
(
ddsd
.
ddpfPixelFormat
).
dwRGBBitCount
=
8
;
U1
(
ddsd
.
ddpfPixelFormat
).
dwRGBBitCount
=
8
;
hr
=
IDirectDraw_CreateSurface
(
DirectDraw1
,
&
ddsd
,
&
offscreen
,
NULL
);
hr
=
IDirectDraw_CreateSurface
(
DirectDraw1
,
&
ddsd
,
&
offscreen
,
NULL
);
ok
(
hr
==
DD_OK
,
"IDirectDraw_CreateSurface returned %08x
\n
"
,
hr
);
ok
(
hr
==
DD_OK
||
broken
(
hr
==
DDERR_INVALIDPIXELFORMAT
),
/* VMware */
"IDirectDraw_CreateSurface returned %08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
out
;
if
(
FAILED
(
hr
))
goto
out
;
memset
(
entries
,
0
,
sizeof
(
entries
));
memset
(
entries
,
0
,
sizeof
(
entries
));
...
...
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