Commit 3e05e133 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Remove the unused tween factor stateblock member.

parent a628b99d
...@@ -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 :
......
...@@ -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 */
......
...@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment