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
e08c6947
Commit
e08c6947
authored
Feb 24, 2014
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Fix some test failures on Windows 2000.
parent
8226a187
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
device.c
dlls/d3d9/tests/device.c
+9
-9
No files found.
dlls/d3d9/tests/device.c
View file @
e08c6947
...
...
@@ -206,7 +206,7 @@ static void test_mipmap_levels(void)
hr
=
IDirect3D9_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_NULLREF
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
SUCCEEDED
(
hr
)
||
hr
==
D3DERR_NOTAVAILABLE
,
"Failed to create IDirect3D9Device (%08x)
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
)
||
hr
==
D3DERR_NOTAVAILABLE
||
broken
(
hr
==
D3DERR_INVALIDCALL
)
,
"Failed to create IDirect3D9Device (%08x)
\n
"
,
hr
);
if
(
FAILED
(
hr
))
{
skip
(
"failed to create a d3d device
\n
"
);
goto
cleanup
;
...
...
@@ -254,7 +254,7 @@ static void test_checkdevicemultisampletype(void)
hr
=
IDirect3D9_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_NULLREF
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
SUCCEEDED
(
hr
)
||
hr
==
D3DERR_NOTAVAILABLE
,
"Failed to create IDirect3D9Device (%08x)
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
)
||
hr
==
D3DERR_NOTAVAILABLE
||
broken
(
hr
==
D3DERR_INVALIDCALL
)
,
"Failed to create IDirect3D9Device (%08x)
\n
"
,
hr
);
if
(
FAILED
(
hr
))
{
skip
(
"failed to create a d3d device
\n
"
);
goto
cleanup
;
...
...
@@ -318,7 +318,7 @@ static void test_swapchain(void)
hr
=
IDirect3D9_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
hr
==
S_OK
||
hr
==
D3DERR_NOTAVAILABLE
,
ok
(
hr
==
S_OK
||
hr
==
D3DERR_NOTAVAILABLE
||
broken
(
hr
==
D3DERR_INVALIDCALL
)
,
"Failed to create IDirect3D9Device (%08x)
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
cleanup
;
...
...
@@ -491,7 +491,7 @@ static void test_refcount(void)
hr
=
IDirect3D9_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
hr
==
S_OK
||
hr
==
D3DERR_NOTAVAILABLE
,
ok
(
hr
==
S_OK
||
hr
==
D3DERR_NOTAVAILABLE
||
broken
(
hr
==
D3DERR_INVALIDCALL
)
,
"Failed to create IDirect3D9Device (%08x)
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
cleanup
;
...
...
@@ -812,7 +812,7 @@ static void test_cursor(void)
hr
=
IDirect3D9_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
hr
==
S_OK
||
hr
==
D3DERR_NOTAVAILABLE
,
ok
(
hr
==
S_OK
||
hr
==
D3DERR_NOTAVAILABLE
||
broken
(
hr
==
D3DERR_INVALIDCALL
)
,
"Failed to create IDirect3D9Device (%08x)
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
cleanup
;
...
...
@@ -1481,7 +1481,7 @@ static void test_scene(void)
hr
=
IDirect3D9_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
/* no NULLREF here */
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_NOTAVAILABLE
,
"IDirect3D9_CreateDevice failed with %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_NOTAVAILABLE
||
broken
(
hr
==
D3DERR_INVALIDCALL
)
,
"IDirect3D9_CreateDevice failed with %08x
\n
"
,
hr
);
if
(
!
pDevice
)
{
skip
(
"Failed to create a d3d device
\n
"
);
...
...
@@ -1639,7 +1639,7 @@ static void test_limits(void)
hr
=
IDirect3D9_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
/* no NULLREF here */
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_NOTAVAILABLE
,
"IDirect3D9_CreateDevice failed with %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_NOTAVAILABLE
||
broken
(
hr
==
D3DERR_INVALIDCALL
)
,
"IDirect3D9_CreateDevice failed with %08x
\n
"
,
hr
);
if
(
!
pDevice
)
{
skip
(
"Failed to create a d3d device
\n
"
);
...
...
@@ -1712,7 +1712,7 @@ static void test_depthstenciltest(void)
hr
=
IDirect3D9_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
/* no NULLREF here */
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_NOTAVAILABLE
,
"IDirect3D9_CreateDevice failed with %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_NOTAVAILABLE
||
broken
(
hr
==
D3DERR_INVALIDCALL
)
,
"IDirect3D9_CreateDevice failed with %08x
\n
"
,
hr
);
if
(
!
pDevice
)
{
skip
(
"Failed to create a d3d device
\n
"
);
...
...
@@ -2060,7 +2060,7 @@ static void test_null_stream(void)
hr
=
IDirect3D9_CreateDevice
(
d3d9
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
/* no NULLREF here */
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
present_parameters
,
&
device
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_NOTAVAILABLE
,
"IDirect3D9_CreateDevice failed with %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_NOTAVAILABLE
||
broken
(
hr
==
D3DERR_INVALIDCALL
)
,
"IDirect3D9_CreateDevice failed with %08x
\n
"
,
hr
);
if
(
!
device
)
{
skip
(
"Failed to create a d3d device
\n
"
);
...
...
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