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
c856432f
Commit
c856432f
authored
Aug 08, 2006
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Aug 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Volume texture addressing caps.
parent
eba1f90e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
directx.c
dlls/wined3d/directx.c
+15
-1
No files found.
dlls/wined3d/directx.c
View file @
c856432f
...
...
@@ -1917,7 +1917,21 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
*
pCaps
->
TextureAddressCaps
|=
D3DPTADDRESSCAPS_MIRRORONCE
;
}
*
pCaps
->
VolumeTextureAddressCaps
=
0
;
if
(
GL_SUPPORT
(
EXT_TEXTURE3D
))
{
*
pCaps
->
VolumeTextureAddressCaps
=
D3DPTADDRESSCAPS_INDEPENDENTUV
|
D3DPTADDRESSCAPS_CLAMP
|
D3DPTADDRESSCAPS_WRAP
;
if
(
GL_SUPPORT
(
ARB_TEXTURE_BORDER_CLAMP
))
{
*
pCaps
->
VolumeTextureAddressCaps
|=
D3DPTADDRESSCAPS_BORDER
;
}
if
(
GL_SUPPORT
(
ARB_TEXTURE_MIRRORED_REPEAT
))
{
*
pCaps
->
VolumeTextureAddressCaps
|=
D3DPTADDRESSCAPS_MIRROR
;
}
if
(
GL_SUPPORT
(
ATI_TEXTURE_MIRROR_ONCE
))
{
*
pCaps
->
VolumeTextureAddressCaps
|=
D3DPTADDRESSCAPS_MIRRORONCE
;
}
}
else
*
pCaps
->
VolumeTextureAddressCaps
=
0
;
*
pCaps
->
LineCaps
=
D3DLINECAPS_TEXTURE
|
D3DLINECAPS_ZTEST
;
...
...
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