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
76b24fd9
Commit
76b24fd9
authored
Dec 11, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix a test failure on a Win98 VMware box.
parent
b6d703b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
refcount.c
dlls/ddraw/tests/refcount.c
+8
-2
No files found.
dlls/ddraw/tests/refcount.c
View file @
76b24fd9
...
...
@@ -48,7 +48,7 @@ static void test_ddraw_objects(void)
IDirectDraw2
*
DDraw2
;
IDirectDraw
*
DDraw1
;
IDirectDrawPalette
*
palette
;
IDirectDrawSurface7
*
surface
;
IDirectDrawSurface7
*
surface
=
NULL
;
IDirectDrawSurface
*
surface1
;
IDirectDrawSurface4
*
surface4
;
PALETTEENTRY
Table
[
256
];
...
...
@@ -94,6 +94,12 @@ static void test_ddraw_objects(void)
U1
(
U4
(
ddsd
).
ddpfPixelFormat
).
dwRGBBitCount
=
8
;
hr
=
IDirectDraw7_CreateSurface
(
DDraw7
,
&
ddsd
,
&
surface
,
NULL
);
if
(
!
surface
)
{
win_skip
(
"Could not create surface : %08x
\n
"
,
hr
);
IDirectDraw7_Release
(
DDraw7
);
return
;
}
ok
(
hr
==
DD_OK
,
"CreateSurface failed with %08x
\n
"
,
hr
);
/* DDraw refcount increased by 1 */
...
...
@@ -434,7 +440,7 @@ START_TEST(refcount)
init_function_pointers
();
if
(
!
pDirectDrawCreateEx
)
{
skip
(
"function DirectDrawCreateEx not available
\n
"
);
win_
skip
(
"function DirectDrawCreateEx not available
\n
"
);
return
;
}
test_ddraw_objects
();
...
...
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