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
6b702cc8
Commit
6b702cc8
authored
Aug 23, 2005
by
Saulius Krasuckas
Committed by
Alexandre Julliard
Aug 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip testing on IDirect3D7::CreateDevice() failure.
parent
0e0ff518
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
d3d.c
dlls/ddraw/tests/d3d.c
+12
-3
No files found.
dlls/ddraw/tests/d3d.c
View file @
6b702cc8
...
...
@@ -41,7 +41,7 @@ static void init_function_pointers(void)
}
static
void
CreateDirect3D
(
void
)
static
BOOL
CreateDirect3D
(
void
)
{
HRESULT
rc
;
DDSURFACEDESC2
ddsd
;
...
...
@@ -67,7 +67,13 @@ static void CreateDirect3D(void)
rc
=
IDirect3D7_CreateDevice
(
lpD3D
,
&
IID_IDirect3DTnLHalDevice
,
lpDDS
,
&
lpD3DDevice
);
ok
(
rc
==
D3D_OK
,
"CreateDevice returned: %lx
\n
"
,
rc
);
ok
(
rc
==
D3D_OK
||
rc
==
DDERR_NOPALETTEATTACHED
,
"CreateDevice returned: %lx
\n
"
,
rc
);
if
(
!
lpD3DDevice
)
{
trace
(
"IDirect3D7::CreateDevice() failed
\n
"
);
return
FALSE
;
}
return
TRUE
;
}
static
void
ReleaseDirect3D
(
void
)
...
...
@@ -197,7 +203,10 @@ START_TEST(d3d)
return
;
}
CreateDirect3D
();
if
(
!
CreateDirect3D
())
{
trace
(
"Skipping tests
\n
"
);
return
;
}
LightTest
();
ReleaseDirect3D
();
}
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