wined3d: Remove the unused stateblock vertex blend member.

This commit is contained in:
Stefan Dösinger 2006-12-08 20:02:31 +01:00 committed by Alexandre Julliard
parent e53c2a9c4c
commit a628b99d63
3 changed files with 1 additions and 9 deletions

View file

@ -3381,14 +3381,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
case WINED3DRS_RANGEFOGENABLE :
case WINED3DRS_FOGCOLOR :
case WINED3DRS_FOGDENSITY :
StateTable[STATE_RENDER(State)].apply(STATE_RENDER(State), This->stateBlock);
break;
case WINED3DRS_VERTEXBLEND :
{
This->updateStateBlock->vertex_blend = (WINED3DVERTEXBLENDFLAGS) Value;
TRACE("Vertex Blending state to %d\n", Value);
}
StateTable[STATE_RENDER(State)].apply(STATE_RENDER(State), This->stateBlock);
break;
case WINED3DRS_TWEENFACTOR :

View file

@ -167,7 +167,6 @@ void stateblock_copy(
Dest->viewport = This->viewport;
Dest->material = This->material;
Dest->pixelShader = This->pixelShader;
Dest->vertex_blend = This->vertex_blend;
Dest->tween_factor = This->tween_factor;
Dest->glsl_program = This->glsl_program;

View file

@ -1172,7 +1172,6 @@ struct IWineD3DStateBlockImpl
float *pixelShaderConstantF;
/* Indexed Vertex Blending */
WINED3DVERTEXBLENDFLAGS vertex_blend;
FLOAT tween_factor;
/* RenderState */