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
89110d1e
Commit
89110d1e
authored
Jun 06, 2022
by
Matteo Bruni
Committed by
Alexandre Julliard
Jul 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx10/tests: Add a couple D3DX10CreateAsyncTextureInfoProcessor() parameter tests.
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
parent
c6d96400
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
d3dx10.c
dlls/d3dx10_43/tests/d3dx10.c
+16
-0
No files found.
dlls/d3dx10_43/tests/d3dx10.c
View file @
89110d1e
...
...
@@ -1972,6 +1972,22 @@ static void test_D3DX10CreateAsyncTextureInfoProcessor(void)
hr
=
D3DX10CreateAsyncTextureInfoProcessor
(
NULL
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"Got unexpected hr %#x.
\n
"
,
hr
);
hr
=
D3DX10CreateAsyncTextureInfoProcessor
(
&
info
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"Got unexpected hr %#x.
\n
"
,
hr
);
hr
=
D3DX10CreateAsyncTextureInfoProcessor
(
NULL
,
&
dp
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#x.
\n
"
,
hr
);
if
(
0
)
{
/* Crashes on native. */
hr
=
ID3DX10DataProcessor_Process
(
dp
,
(
void
*
)
test_image
[
0
].
data
,
test_image
[
0
].
size
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#x.
\n
"
,
hr
);
}
hr
=
ID3DX10DataProcessor_Destroy
(
dp
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#x.
\n
"
,
hr
);
hr
=
D3DX10CreateAsyncTextureInfoProcessor
(
&
info
,
&
dp
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#x.
\n
"
,
hr
);
...
...
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