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
c4eb3de8
Commit
c4eb3de8
authored
Apr 12, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Fix vertex decl test.
parent
fa355572
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vertexdeclaration.c
dlls/d3d9/tests/vertexdeclaration.c
+3
-1
No files found.
dlls/d3d9/tests/vertexdeclaration.c
View file @
c4eb3de8
...
@@ -686,7 +686,7 @@ static void test_fvf_decl_management(
...
@@ -686,7 +686,7 @@ static void test_fvf_decl_management(
ok
(
SUCCEEDED
(
hr
),
"SetFVF returned %#x, expected %#x
\n
"
,
hr
,
D3D_OK
);
ok
(
SUCCEEDED
(
hr
),
"SetFVF returned %#x, expected %#x
\n
"
,
hr
,
D3D_OK
);
if
(
FAILED
(
hr
))
return
;
if
(
FAILED
(
hr
))
return
;
/* The contents should correspond to the
second
conversion */
/* The contents should correspond to the
first
conversion */
VDECL_CHECK
(
compare_elements
(
result_decl1
,
test_elements1
));
VDECL_CHECK
(
compare_elements
(
result_decl1
,
test_elements1
));
/* Get converted decl (#3) */
/* Get converted decl (#3) */
...
@@ -700,6 +700,8 @@ static void test_fvf_decl_management(
...
@@ -700,6 +700,8 @@ static void test_fvf_decl_management(
/* The contents should correspond to the second conversion */
/* The contents should correspond to the second conversion */
VDECL_CHECK
(
compare_elements
(
result_decl3
,
test_elements2
));
VDECL_CHECK
(
compare_elements
(
result_decl3
,
test_elements2
));
/* Re-Check if the first decl was overwritten by the new Get() */
VDECL_CHECK
(
compare_elements
(
result_decl1
,
test_elements1
));
/* The refcounts should all be 1 */
/* The refcounts should all be 1 */
ref1
=
get_refcount
((
IUnknown
*
)
result_decl1
);
ref1
=
get_refcount
((
IUnknown
*
)
result_decl1
);
...
...
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