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
1dc4d5ca
Commit
1dc4d5ca
authored
Mar 02, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Use win_skip() and skip() where appropriate.
parent
214b40b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
visual.c
dlls/d3d8/tests/visual.c
+6
-6
No files found.
dlls/d3d8/tests/visual.c
View file @
1dc4d5ca
...
...
@@ -1278,14 +1278,14 @@ START_TEST(visual)
d3d8_handle
=
LoadLibraryA
(
"d3d8.dll"
);
if
(
!
d3d8_handle
)
{
skip
(
"Could not load d3d8.dll
\n
"
);
win_
skip
(
"Could not load d3d8.dll
\n
"
);
return
;
}
device_ptr
=
init_d3d8
();
if
(
!
device_ptr
)
{
skip
(
"Could not initialize direct3d
\n
"
);
win_
skip
(
"Could not initialize direct3d
\n
"
);
return
;
}
...
...
@@ -1295,7 +1295,7 @@ START_TEST(visual)
hr
=
IDirect3DDevice8_Clear
(
device_ptr
,
0
,
NULL
,
D3DCLEAR_TARGET
,
0xffff0000
,
0
.
0
,
0
);
if
(
FAILED
(
hr
))
{
trace
(
"Clear failed, can't assure correctness of the test results, skipping
\n
"
);
skip
(
"Clear failed, can't assure correctness of the test results
\n
"
);
goto
cleanup
;
}
IDirect3DDevice8_Present
(
device_ptr
,
NULL
,
NULL
,
NULL
,
NULL
);
...
...
@@ -1303,14 +1303,14 @@ START_TEST(visual)
color
=
getPixelColor
(
device_ptr
,
1
,
1
);
if
(
color
!=
0x00ff0000
)
{
trace
(
"Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests, skipping
\n
"
,
color
);
skip
(
"Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests
\n
"
,
color
);
goto
cleanup
;
}
hr
=
IDirect3DDevice8_Clear
(
device_ptr
,
0
,
NULL
,
D3DCLEAR_TARGET
,
0xff00ddee
,
0
.
0
,
0
);
if
(
FAILED
(
hr
))
{
trace
(
"Clear failed, can't assure correctness of the test results, skipping
\n
"
);
skip
(
"Clear failed, can't assure correctness of the test results
\n
"
);
goto
cleanup
;
}
IDirect3DDevice8_Present
(
device_ptr
,
NULL
,
NULL
,
NULL
,
NULL
);
...
...
@@ -1318,7 +1318,7 @@ START_TEST(visual)
color
=
getPixelColor
(
device_ptr
,
639
,
479
);
if
(
color
!=
0x0000ddee
)
{
trace
(
"Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests, skipping
\n
"
,
color
);
skip
(
"Sanity check returned an incorrect color(%08x), can't assure the correctness of the tests
\n
"
,
color
);
goto
cleanup
;
}
...
...
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