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
f1853ba1
Commit
f1853ba1
authored
Aug 25, 2005
by
Saulius Krasuckas
Committed by
Alexandre Julliard
Aug 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- DirectDrawCreateEx fails with Standard VGA Adapter driver.
- IDirect3D7::CreateDevice() returns E_OUTOFMEMORY if a card has no 3D acceleration.
parent
33e8e88e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
d3d.c
dlls/ddraw/tests/d3d.c
+7
-3
No files found.
dlls/ddraw/tests/d3d.c
View file @
f1853ba1
...
...
@@ -48,7 +48,11 @@ static BOOL CreateDirect3D(void)
rc
=
pDirectDrawCreateEx
(
NULL
,
(
void
**
)
&
lpDD
,
&
IID_IDirectDraw7
,
NULL
);
ok
(
rc
==
DD_OK
,
"DirectDrawCreateEx returned: %lx
\n
"
,
rc
);
ok
(
rc
==
DD_OK
||
rc
==
DDERR_NODIRECTDRAWSUPPORT
,
"DirectDrawCreateEx returned: %lx
\n
"
,
rc
);
if
(
!
lpDD
)
{
trace
(
"DirectDrawCreateEx() failed with an error %lx
\n
"
,
rc
);
return
FALSE
;
}
rc
=
IDirectDraw_SetCooperativeLevel
(
lpDD
,
NULL
,
DDSCL_NORMAL
);
ok
(
rc
==
DD_OK
,
"SetCooperativeLevel returned: %lx
\n
"
,
rc
);
...
...
@@ -67,9 +71,9 @@ static BOOL CreateDirect3D(void)
rc
=
IDirect3D7_CreateDevice
(
lpD3D
,
&
IID_IDirect3DTnLHalDevice
,
lpDDS
,
&
lpD3DDevice
);
ok
(
rc
==
D3D_OK
||
rc
==
DDERR_NOPALETTEATTACHED
,
"CreateDevice returned: %lx
\n
"
,
rc
);
ok
(
rc
==
D3D_OK
||
rc
==
DDERR_NOPALETTEATTACHED
||
rc
==
E_OUTOFMEMORY
,
"CreateDevice returned: %lx
\n
"
,
rc
);
if
(
!
lpD3DDevice
)
{
trace
(
"IDirect3D7::CreateDevice() failed
\n
"
);
trace
(
"IDirect3D7::CreateDevice() failed
with an error %lx
\n
"
,
rc
);
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