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
17fe57e2
Commit
17fe57e2
authored
Aug 02, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Check for volume texture support before running the volume test.
parent
878414a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
volume.c
dlls/d3d9/tests/volume.c
+8
-0
No files found.
dlls/d3d9/tests/volume.c
View file @
17fe57e2
...
...
@@ -122,7 +122,9 @@ START_TEST(volume)
{
HMODULE
d3d9_handle
;
IDirect3DDevice9
*
device_ptr
;
D3DCAPS9
caps
;
memset
(
&
caps
,
0
,
sizeof
(
caps
));
d3d9_handle
=
LoadLibraryA
(
"d3d9.dll"
);
if
(
!
d3d9_handle
)
{
...
...
@@ -132,6 +134,12 @@ START_TEST(volume)
device_ptr
=
init_d3d9
(
d3d9_handle
);
if
(
!
device_ptr
)
return
;
IDirect3DDevice9_GetDeviceCaps
(
device_ptr
,
&
caps
);
if
(
!
(
caps
.
TextureCaps
&
D3DPTEXTURECAPS_VOLUMEMAP
))
{
skip
(
"No volume texture support
\n
"
);
return
;
}
test_volume_get_container
(
device_ptr
);
}
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