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
ae79b02c
Commit
ae79b02c
authored
Jan 27, 2009
by
Ge van Geldorp
Committed by
Alexandre Julliard
Jan 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Make tests pass on a W2K8 VM.
parent
74694855
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
device.c
dlls/d3d8/tests/device.c
+3
-3
visual.c
dlls/d3d8/tests/visual.c
+1
-1
No files found.
dlls/d3d8/tests/device.c
View file @
ae79b02c
...
...
@@ -815,7 +815,7 @@ static void test_scene(void)
hr
=
IDirect3D8_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
/* no NULLREF here */
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_INVALIDCALL
,
"IDirect3D8_CreateDevice failed with %#08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_INVALIDCALL
||
broken
(
hr
==
D3DERR_NOTAVAILABLE
)
,
"IDirect3D8_CreateDevice failed with %#08x
\n
"
,
hr
);
if
(
!
pDevice
)
{
skip
(
"could not create device, IDirect3D8_CreateDevice returned %#08x
\n
"
,
hr
);
...
...
@@ -921,7 +921,7 @@ static void test_shader(void)
hr
=
IDirect3D8_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
/* no NULLREF here */
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_INVALIDCALL
,
"IDirect3D8_CreateDevice failed with %#08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_INVALIDCALL
||
broken
(
hr
==
D3DERR_NOTAVAILABLE
)
,
"IDirect3D8_CreateDevice failed with %#08x
\n
"
,
hr
);
if
(
!
pDevice
)
{
skip
(
"could not create device, IDirect3D8_CreateDevice returned %#08x
\n
"
,
hr
);
...
...
@@ -1119,7 +1119,7 @@ static void test_limits(void)
hr
=
IDirect3D8_CreateDevice
(
pD3d
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
/* no NULLREF here */
,
hwnd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
d3dpp
,
&
pDevice
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_INVALIDCALL
,
"IDirect3D8_CreateDevice failed with %#08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_INVALIDCALL
||
broken
(
hr
==
D3DERR_NOTAVAILABLE
)
,
"IDirect3D8_CreateDevice failed with %#08x
\n
"
,
hr
);
if
(
!
pDevice
)
{
skip
(
"could not create device, IDirect3D8_CreateDevice returned %#08x
\n
"
,
hr
);
...
...
dlls/d3d8/tests/visual.c
View file @
ae79b02c
...
...
@@ -134,7 +134,7 @@ static IDirect3DDevice8 *init_d3d8(void)
present_parameters
.
AutoDepthStencilFormat
=
D3DFMT_D16
;
hr
=
IDirect3D8_CreateDevice
(
d3d8_ptr
,
D3DADAPTER_DEFAULT
,
D3DDEVTYPE_HAL
,
present_parameters
.
hDeviceWindow
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
,
&
present_parameters
,
&
device_ptr
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_INVALIDCALL
,
"IDirect3D_CreateDevice returned: %#08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
||
hr
==
D3DERR_INVALIDCALL
||
broken
(
hr
==
D3DERR_NOTAVAILABLE
)
,
"IDirect3D_CreateDevice returned: %#08x
\n
"
,
hr
);
return
device_ptr
;
}
...
...
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