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
1d65ade5
Commit
1d65ade5
authored
Oct 16, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Oct 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Implement GetRenderState for D3DRENDERSTATE_TEXTUREADDRESS[U/V].
parent
306048bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
device.c
dlls/ddraw/device.c
+23
-0
No files found.
dlls/ddraw/device.c
View file @
1d65ade5
...
...
@@ -2135,6 +2135,29 @@ IDirect3DDeviceImpl_7_GetRenderState(IDirect3DDevice7 *iface,
return
hr
;
}
case
D3DRENDERSTATE_TEXTUREADDRESSU
:
case
D3DRENDERSTATE_TEXTUREADDRESSV
:
case
D3DRENDERSTATE_TEXTUREADDRESS
:
{
WINED3DTEXTURESTAGESTATETYPE
TexStageStateType
;
if
(
RenderStateType
==
D3DRENDERSTATE_TEXTUREADDRESS
)
{
TexStageStateType
=
WINED3DTSS_ADDRESS
;
}
else
if
(
RenderStateType
==
D3DRENDERSTATE_TEXTUREADDRESSU
)
{
TexStageStateType
=
WINED3DTSS_ADDRESSU
;
}
else
{
TexStageStateType
=
WINED3DTSS_ADDRESSV
;
}
return
IWineD3DDevice_GetTextureStageState
(
This
->
wineD3DDevice
,
0
,
TexStageStateType
,
Value
);
}
default:
/* FIXME: Unhandled: D3DRENDERSTATE_STIPPLEPATTERN00 - 31 */
return
IWineD3DDevice_GetRenderState
(
This
->
wineD3DDevice
,
...
...
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