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
5016f48d
Commit
5016f48d
authored
Jul 24, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Skip volume test if volume textures are not supported.
parent
5c905b9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
volume.c
dlls/d3d8/tests/volume.c
+7
-0
No files found.
dlls/d3d8/tests/volume.c
View file @
5016f48d
...
...
@@ -125,6 +125,7 @@ START_TEST(volume)
{
HMODULE
d3d8_handle
;
IDirect3DDevice8
*
device_ptr
;
D3DCAPS8
caps
;
d3d8_handle
=
LoadLibraryA
(
"d3d8.dll"
);
if
(
!
d3d8_handle
)
...
...
@@ -136,5 +137,11 @@ START_TEST(volume)
device_ptr
=
init_d3d8
(
d3d8_handle
);
if
(
!
device_ptr
)
return
;
IDirect3DDevice8_GetDeviceCaps
(
device_ptr
,
&
caps
);
if
(
!
(
caps
.
TextureCaps
&
D3DPTEXTURECAPS_VOLUMEMAP
))
{
skip
(
"Volume textures not supported
\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