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
b20a2703
Commit
b20a2703
authored
May 03, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
May 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Fix some failure messages in test_depth_stencil_size().
parent
d0687344
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
device.c
dlls/d3d8/tests/device.c
+3
-3
No files found.
dlls/d3d8/tests/device.c
View file @
b20a2703
...
...
@@ -2151,13 +2151,13 @@ static void test_depth_stencil_size(void)
hr
=
IDirect3DDevice8_SetRenderTarget
(
device
,
rt
,
ds
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"IDirect3DDevice8_SetRenderTarget returned %#x, expected D3DERR_INVALIDCALL.
\n
"
,
hr
);
hr
=
IDirect3DDevice8_SetRenderTarget
(
device
,
rt
,
ds_bigger
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice8_
CreateDepthStencilSurface
failed, hr %#x.
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice8_
SetRenderTarget
failed, hr %#x.
\n
"
,
hr
);
/* try to set the small ds without changing the render target at the same time */
hr
=
IDirect3DDevice8_SetRenderTarget
(
device
,
NULL
,
ds
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"IDirect3DDevice8_SetRenderTarget returned %#x, expected D3DERR_INVALIDCALL.
\n
"
,
hr
);
hr
=
IDirect3DDevice8_SetRenderTarget
(
device
,
NULL
,
ds_bigger2
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice8_
CreateDepthStencilSurface
failed, hr %#x.
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice8_
SetRenderTarget
failed, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DDevice8_GetRenderTarget
(
device
,
&
surf
);
ok
(
surf
==
rt
,
"The render target is %p, expected %p
\n
"
,
surf
,
rt
);
...
...
@@ -2167,7 +2167,7 @@ static void test_depth_stencil_size(void)
IDirect3DSurface8_Release
(
surf
);
hr
=
IDirect3DDevice8_SetRenderTarget
(
device
,
NULL
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice8_
CreateDepthStencilSurface
failed, hr %#x.
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice8_
SetRenderTarget
failed, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DDevice8_GetDepthStencilSurface
(
device
,
&
surf
);
ok
(
surf
==
NULL
,
"The depth stencil is %p, expected NULL
\n
"
,
surf
);
if
(
surf
)
IDirect3DSurface8_Release
(
surf
);
...
...
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