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
3e05e133
Commit
3e05e133
authored
Dec 08, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove the unused tween factor stateblock member.
parent
a628b99d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
12 deletions
+1
-12
device.c
dlls/wined3d/device.c
+1
-8
stateblock.c
dlls/wined3d/stateblock.c
+0
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-3
No files found.
dlls/wined3d/device.c
View file @
3e05e133
...
@@ -3382,15 +3382,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
...
@@ -3382,15 +3382,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
case
WINED3DRS_FOGCOLOR
:
case
WINED3DRS_FOGCOLOR
:
case
WINED3DRS_FOGDENSITY
:
case
WINED3DRS_FOGDENSITY
:
case
WINED3DRS_VERTEXBLEND
:
case
WINED3DRS_VERTEXBLEND
:
StateTable
[
STATE_RENDER
(
State
)].
apply
(
STATE_RENDER
(
State
),
This
->
stateBlock
);
break
;
case
WINED3DRS_TWEENFACTOR
:
case
WINED3DRS_TWEENFACTOR
:
{
StateTable
[
STATE_RENDER
(
State
)].
apply
(
STATE_RENDER
(
State
),
This
->
stateBlock
);
tmpvalue
.
d
=
Value
;
This
->
updateStateBlock
->
tween_factor
=
tmpvalue
.
f
;
TRACE
(
"Vertex Blending Tween Factor to %f
\n
"
,
This
->
updateStateBlock
->
tween_factor
);
}
break
;
break
;
case
WINED3DRS_INDEXEDVERTEXBLENDENABLE
:
case
WINED3DRS_INDEXEDVERTEXBLENDENABLE
:
...
...
dlls/wined3d/stateblock.c
View file @
3e05e133
...
@@ -167,7 +167,6 @@ void stateblock_copy(
...
@@ -167,7 +167,6 @@ void stateblock_copy(
Dest
->
viewport
=
This
->
viewport
;
Dest
->
viewport
=
This
->
viewport
;
Dest
->
material
=
This
->
material
;
Dest
->
material
=
This
->
material
;
Dest
->
pixelShader
=
This
->
pixelShader
;
Dest
->
pixelShader
=
This
->
pixelShader
;
Dest
->
tween_factor
=
This
->
tween_factor
;
Dest
->
glsl_program
=
This
->
glsl_program
;
Dest
->
glsl_program
=
This
->
glsl_program
;
/* Fixed size arrays */
/* Fixed size arrays */
...
...
dlls/wined3d/wined3d_private.h
View file @
3e05e133
...
@@ -1171,9 +1171,6 @@ struct IWineD3DStateBlockImpl
...
@@ -1171,9 +1171,6 @@ struct IWineD3DStateBlockImpl
INT
pixelShaderConstantI
[
MAX_CONST_I
*
4
];
INT
pixelShaderConstantI
[
MAX_CONST_I
*
4
];
float
*
pixelShaderConstantF
;
float
*
pixelShaderConstantF
;
/* Indexed Vertex Blending */
FLOAT
tween_factor
;
/* RenderState */
/* RenderState */
DWORD
renderState
[
WINEHIGHEST_RENDER_STATE
+
1
];
DWORD
renderState
[
WINEHIGHEST_RENDER_STATE
+
1
];
...
...
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