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_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 :

View File

@ -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 */

View File

@ -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];