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
8d1b66be
Commit
8d1b66be
authored
Apr 28, 2014
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Skip the ddraw7 primary palette test if 8 bpp mode doesn't work.
parent
71786757
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ddraw7.c
dlls/ddraw/tests/ddraw7.c
+7
-1
No files found.
dlls/ddraw/tests/ddraw7.c
View file @
8d1b66be
...
...
@@ -5598,7 +5598,13 @@ static void test_primary_palette(void)
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
ddraw
=
create_ddraw
();
ok
(
!!
ddraw
,
"Failed to create a ddraw object.
\n
"
);
hr
=
IDirectDraw7_SetDisplayMode
(
ddraw
,
640
,
480
,
8
,
0
,
0
);
if
(
FAILED
(
hr
=
IDirectDraw7_SetDisplayMode
(
ddraw
,
640
,
480
,
8
,
0
,
0
)))
{
win_skip
(
"Failed to set 8 bpp display mode, skipping test.
\n
"
);
IDirectDraw7_Release
(
ddraw
);
DestroyWindow
(
window
);
return
;
}
ok
(
SUCCEEDED
(
hr
),
"Failed to set display mode, hr %#x.
\n
"
,
hr
);
hr
=
IDirectDraw7_SetCooperativeLevel
(
ddraw
,
window
,
DDSCL_EXCLUSIVE
|
DDSCL_FULLSCREEN
);
ok
(
SUCCEEDED
(
hr
),
"Failed to set cooperative level, hr %#x.
\n
"
,
hr
);
...
...
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