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
c944db5f
Commit
c944db5f
authored
Nov 24, 2023
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9/tests: Fix a crash when d3d9 object can't be created.
parent
8e4c196c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
math.c
dlls/d3dx9_36/tests/math.c
+7
-2
No files found.
dlls/d3dx9_36/tests/math.c
View file @
c944db5f
...
...
@@ -4480,9 +4480,14 @@ static void test_D3DXSHProjectCubeMap(void)
{
-
1.10743945e+3
f
,
-
9.43649292e+2
f
,
5.48424316e+2
f
,
1.65352710e+3
f
}},
};
window
=
create_window
();
d3d
=
Direct3DCreate9
(
D3D_SDK_VERSION
);
ok
(
!!
d3d
,
"Failed to create a D3D object.
\n
"
);
if
(
!
d3d
)
{
skip
(
"Failed to create a D3D object.
\n
"
);
return
;
}
window
=
create_window
();
if
(
!
(
device
=
create_device
(
d3d
,
window
)))
{
skip
(
"Failed to create a D3D device, skipping tests.
\n
"
);
...
...
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