wined3d: Remove the unused tween factor stateblock member.

This commit is contained in:
Stefan Dösinger 2006-12-08 19:50:38 +01:00 committed by Alexandre Julliard
parent a628b99d63
commit 3e05e133f9
3 changed files with 1 additions and 12 deletions

View File

@ -3382,15 +3382,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
case WINED3DRS_FOGCOLOR :
case WINED3DRS_FOGDENSITY :
case WINED3DRS_VERTEXBLEND :
StateTable[STATE_RENDER(State)].apply(STATE_RENDER(State), This->stateBlock);
break;
case WINED3DRS_TWEENFACTOR :
{
tmpvalue.d = Value;
This->updateStateBlock->tween_factor = tmpvalue.f;
TRACE("Vertex Blending Tween Factor to %f\n", This->updateStateBlock->tween_factor);
}
StateTable[STATE_RENDER(State)].apply(STATE_RENDER(State), This->stateBlock);
break;
case WINED3DRS_INDEXEDVERTEXBLENDENABLE :

View File

@ -167,7 +167,6 @@ void stateblock_copy(
Dest->viewport = This->viewport;
Dest->material = This->material;
Dest->pixelShader = This->pixelShader;
Dest->tween_factor = This->tween_factor;
Dest->glsl_program = This->glsl_program;
/* Fixed size arrays */

View File

@ -1171,9 +1171,6 @@ struct IWineD3DStateBlockImpl
INT pixelShaderConstantI[MAX_CONST_I * 4];
float *pixelShaderConstantF;
/* Indexed Vertex Blending */
FLOAT tween_factor;
/* RenderState */
DWORD renderState[WINEHIGHEST_RENDER_STATE + 1];