Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4afe73ff
Commit
4afe73ff
authored
Feb 17, 2014
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Better clean up when skipping the primary palette tests.
parent
8b2938a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
ddraw1.c
dlls/ddraw/tests/ddraw1.c
+2
-1
ddraw2.c
dlls/ddraw/tests/ddraw2.c
+2
-1
ddraw4.c
dlls/ddraw/tests/ddraw4.c
+3
-2
No files found.
dlls/ddraw/tests/ddraw1.c
View file @
4afe73ff
...
...
@@ -4080,7 +4080,8 @@ static void test_primary_palette(void)
hr
=
IDirectDraw_SetDisplayMode
(
ddraw
,
640
,
480
,
8
);
if
(
hr
==
E_NOTIMPL
)
{
win_skip
(
"8bpp display mode is not supported
\n
"
);
win_skip
(
"changing display mode is not supported (8bpp)
\n
"
);
IDirectDraw_Release
(
ddraw
);
DestroyWindow
(
window
);
return
;
}
...
...
dlls/ddraw/tests/ddraw2.c
View file @
4afe73ff
...
...
@@ -5177,7 +5177,8 @@ static void test_primary_palette(void)
hr
=
IDirectDraw2_SetDisplayMode
(
ddraw
,
640
,
480
,
8
,
0
,
0
);
if
(
hr
==
E_NOTIMPL
)
{
win_skip
(
"8bpp display mode is not supported
\n
"
);
win_skip
(
"changing display mode is not supported (8bpp)
\n
"
);
IDirectDraw2_Release
(
ddraw
);
DestroyWindow
(
window
);
return
;
}
...
...
dlls/ddraw/tests/ddraw4.c
View file @
4afe73ff
...
...
@@ -5771,13 +5771,14 @@ static void test_primary_palette(void)
window
=
CreateWindowA
(
"static"
,
"ddraw_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
hr
=
IDirectDraw4_SetDisplayMode
(
ddraw
,
640
,
480
,
8
,
0
,
0
);
ok
(
SUCCEEDED
(
hr
),
"Failed to set display mode, hr %#x.
\n
"
,
hr
);
if
(
hr
==
E_NOTIMPL
)
{
win_skip
(
"8bpp display mode is not supported
\n
"
);
win_skip
(
"changing display mode is not supported (8bpp)
\n
"
);
IDirectDraw4_Release
(
ddraw
);
DestroyWindow
(
window
);
return
;
}
ok
(
SUCCEEDED
(
hr
),
"Failed to set display mode, hr %#x.
\n
"
,
hr
);
hr
=
IDirectDraw4_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