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
6a908eb1
Commit
6a908eb1
authored
Oct 08, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Use FAILED instead of !SUCCEEDED.
parent
05d39728
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
device.c
dlls/d3d9/tests/device.c
+2
-2
No files found.
dlls/d3d9/tests/device.c
View file @
6a908eb1
...
...
@@ -1673,13 +1673,13 @@ static void test_null_stream(void)
}
hr
=
IDirect3DDevice9_CreateVertexDeclaration
(
device
,
decl_elements
,
&
decl
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice9_CreateVertexDeclaration failed (0x%08x)
\n
"
,
hr
);
if
(
!
SUCCEED
ED
(
hr
))
{
if
(
FAIL
ED
(
hr
))
{
skip
(
"Vertex declaration handling not possible.
\n
"
);
goto
cleanup
;
}
hr
=
IDirect3DDevice9_CreateVertexBuffer
(
device
,
12
*
sizeof
(
float
),
0
,
0
,
D3DPOOL_MANAGED
,
&
buffer
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice9_CreateVertexBuffer failed (0x%08x)
\n
"
,
hr
);
if
(
!
SUCCEED
ED
(
hr
))
{
if
(
FAIL
ED
(
hr
))
{
skip
(
"Vertex buffer handling not possible.
\n
"
);
goto
cleanup
;
}
...
...
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