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
c27b37a7
Commit
c27b37a7
authored
Oct 13, 2008
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Oct 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Fix test on win9x.
parent
38abbe3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
device.c
dlls/d3d9/tests/device.c
+5
-2
No files found.
dlls/d3d9/tests/device.c
View file @
c27b37a7
...
...
@@ -122,8 +122,11 @@ static void test_mipmap_levels(void)
hr
=
IDirect3D9_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_NULLREF
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
SUCCEEDED
(
hr
),
"Failed to create IDirect3D9Device (%08x)
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
cleanup
;
ok
(
SUCCEEDED
(
hr
)
||
hr
==
D3DERR_NOTAVAILABLE
,
"Failed to create IDirect3D9Device (%08x)
\n
"
,
hr
);
if
(
FAILED
(
hr
))
{
skip
(
"failed to create a d3d device
\n
"
);
goto
cleanup
;
}
check_mipmap_levels
(
pDevice
,
32
,
32
,
6
);
check_mipmap_levels
(
pDevice
,
256
,
1
,
9
);
...
...
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