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
4066c2e2
Commit
4066c2e2
authored
Mar 28, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Do not fail if D3D is not available.
parent
a29a2293
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
d3d.c
dlls/ddraw/tests/d3d.c
+1
-1
No files found.
dlls/ddraw/tests/d3d.c
View file @
4066c2e2
...
@@ -949,8 +949,8 @@ static BOOL D3D1_createObjects(void)
...
@@ -949,8 +949,8 @@ static BOOL D3D1_createObjects(void)
ddsd
.
dwWidth
=
256
;
ddsd
.
dwWidth
=
256
;
ddsd
.
dwHeight
=
256
;
ddsd
.
dwHeight
=
256
;
hr
=
IDirectDraw_CreateSurface
(
DirectDraw1
,
&
ddsd
,
&
Surface1
,
NULL
);
hr
=
IDirectDraw_CreateSurface
(
DirectDraw1
,
&
ddsd
,
&
Surface1
,
NULL
);
ok
(
hr
==
DD_OK
,
"CreateSurface returned: %x
\n
"
,
hr
);
if
(
!
Surface1
)
{
if
(
!
Surface1
)
{
skip
(
"DDSCAPS_3DDEVICE surface not available
\n
"
);
return
FALSE
;
return
FALSE
;
}
}
...
...
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