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

wined3d: Remove the unused stateblock vertex blend member.

parent e53c2a9c
...@@ -3381,14 +3381,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W ...@@ -3381,14 +3381,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
case WINED3DRS_RANGEFOGENABLE : case WINED3DRS_RANGEFOGENABLE :
case WINED3DRS_FOGCOLOR : case WINED3DRS_FOGCOLOR :
case WINED3DRS_FOGDENSITY : case WINED3DRS_FOGDENSITY :
StateTable[STATE_RENDER(State)].apply(STATE_RENDER(State), This->stateBlock);
break;
case WINED3DRS_VERTEXBLEND : case WINED3DRS_VERTEXBLEND :
{ StateTable[STATE_RENDER(State)].apply(STATE_RENDER(State), This->stateBlock);
This->updateStateBlock->vertex_blend = (WINED3DVERTEXBLENDFLAGS) Value;
TRACE("Vertex Blending state to %d\n", Value);
}
break; break;
case WINED3DRS_TWEENFACTOR : case WINED3DRS_TWEENFACTOR :
......
...@@ -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->vertex_blend = This->vertex_blend;
Dest->tween_factor = This->tween_factor; Dest->tween_factor = This->tween_factor;
Dest->glsl_program = This->glsl_program; Dest->glsl_program = This->glsl_program;
......
...@@ -1172,7 +1172,6 @@ struct IWineD3DStateBlockImpl ...@@ -1172,7 +1172,6 @@ struct IWineD3DStateBlockImpl
float *pixelShaderConstantF; float *pixelShaderConstantF;
/* Indexed Vertex Blending */ /* Indexed Vertex Blending */
WINED3DVERTEXBLENDFLAGS vertex_blend;
FLOAT tween_factor; FLOAT tween_factor;
/* RenderState */ /* RenderState */
......
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