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
6c4f9ec5
Commit
6c4f9ec5
authored
Sep 01, 2022
by
Ziqing Hui
Committed by
Alexandre Julliard
Sep 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10/tests: Test NULL device for D3D10CreateEffectFromMemory and D3D10CreateEffectPoolFromMemory.
parent
eddf252a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
effect.c
dlls/d3d10/tests/effect.c
+12
-0
No files found.
dlls/d3d10/tests/effect.c
View file @
6c4f9ec5
...
...
@@ -118,6 +118,12 @@ static void test_effect_constant_buffer_type(void)
return
;
}
if
(
strcmp
(
winetest_platform
,
"wine"
))
/* Crash on wine. */
{
hr
=
create_effect
(
fx_test_ecbt
,
0
,
NULL
,
NULL
,
&
effect
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
}
hr
=
create_effect
(
fx_test_ecbt
,
0
,
device
,
NULL
,
&
effect
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
...
...
@@ -7117,6 +7123,12 @@ static void test_effect_pool(void)
todo_wine
ok
(
hr
==
E_INVALIDARG
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
if
(
strcmp
(
winetest_platform
,
"wine"
))
/* Crash on wine. */
{
hr
=
create_effect_pool
(
fx_test_pool
,
NULL
,
&
pool
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
}
hr
=
create_effect_pool
(
fx_test_pool
,
device
,
&
pool
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\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