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
50453644
Commit
50453644
authored
Mar 20, 2018
by
Matteo Bruni
Committed by
Alexandre Julliard
Mar 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9/tests: Improve a few ok() messages.
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f335932a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
effect.c
dlls/d3dx9_36/tests/effect.c
+4
-4
No files found.
dlls/d3dx9_36/tests/effect.c
View file @
50453644
...
...
@@ -5374,13 +5374,13 @@ static void test_effect_commitchanges(IDirect3DDevice9 *device)
ok
(
hr
==
D3D_OK
,
"Got result %#x, i %u, j %u.
\n
"
,
hr
,
i
,
j
);
}
param
=
effect
->
lpVtbl
->
GetParameterByName
(
effect
,
NULL
,
check_op_parameters
[
i
].
param_name
);
ok
(
!!
param
,
"
GetParameterByName failed.
\n
"
);
ok
(
!!
param
,
"
Failed to get parameter (test %u).
\n
"
,
i
);
hr
=
effect
->
lpVtbl
->
GetValue
(
effect
,
param
,
&
fvect
,
sizeof
(
fvect
));
ok
(
hr
==
D3D_OK
,
"
Got result %#x.
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"
Failed to get parameter value, hr %#x (test %u).
\n
"
,
hr
,
i
);
hr
=
effect
->
lpVtbl
->
SetValue
(
effect
,
param
,
&
fvect
,
sizeof
(
fvect
));
ok
(
hr
==
D3D_OK
,
"
Got result %#x.
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"
Failed to set parameter value, hr %#x (test %u).
\n
"
,
hr
,
i
);
hr
=
effect
->
lpVtbl
->
CommitChanges
(
effect
);
ok
(
hr
==
D3D_OK
,
"
Got result %#x.
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"
Failed to commit changes, hr %#x (test %u).
\n
"
,
hr
,
i
);
test_effect_preshader_op_results
(
device
,
check_op_parameters
[
i
].
state_updated
,
check_op_parameters
[
i
].
param_name
);
...
...
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