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
d82bd17d
Commit
d82bd17d
authored
Mar 30, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddrawex/tests: Don't crash on some Win98/WinMe boxes.
parent
2202bd3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
surface.c
dlls/ddrawex/tests/surface.c
+10
-0
No files found.
dlls/ddrawex/tests/surface.c
View file @
d82bd17d
...
...
@@ -261,6 +261,11 @@ static void test_surface_from_dc3(void)
ddsd
.
ddsCaps
.
dwCaps
=
DDSCAPS_OFFSCREENPLAIN
;
hr
=
IDirectDraw3_CreateSurface
(
dd3
,
&
ddsd
,
&
surf1
,
NULL
);
if
(
hr
==
DDERR_UNSUPPORTEDMODE
)
{
win_skip
(
"Unsupported mode
\n
"
);
IDirectDraw3_Release
(
dd3
);
return
;
}
ok
(
SUCCEEDED
(
hr
),
"CreateSurface failed, hr %#x.
\n
"
,
hr
);
hr
=
IDirectDrawSurface3_QueryInterface
(
surf1
,
&
IID_IDirectDrawSurface
,
(
void
**
)
&
surf3
);
...
...
@@ -323,6 +328,11 @@ static void test_surface_from_dc4(void)
ddsd2
.
ddsCaps
.
dwCaps
=
DDSCAPS_OFFSCREENPLAIN
;
hr
=
IDirectDraw4_CreateSurface
(
dd4
,
&
ddsd2
,
&
surf4
,
NULL
);
if
(
hr
==
DDERR_UNSUPPORTEDMODE
)
{
win_skip
(
"Unsupported mode
\n
"
);
IDirectDraw3_Release
(
dd4
);
return
;
}
ok
(
SUCCEEDED
(
hr
),
"CreateSurface failed, hr %#x.
\n
"
,
hr
);
hr
=
IDirectDrawSurface4_QueryInterface
(
surf4
,
&
IID_IDirectDrawSurface
,
(
void
**
)
&
surf1
);
...
...
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