wined3d: Remove the unused stateblock vertex blend member.
This commit is contained in:
parent
e53c2a9c4c
commit
a628b99d63
|
@ -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(
|
||||||
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
|
||||||
float *pixelShaderConstantF;
|
float *pixelShaderConstantF;
|
||||||
|
|
||||||
/* Indexed Vertex Blending */
|
/* Indexed Vertex Blending */
|
||||||
WINED3DVERTEXBLENDFLAGS vertex_blend;
|
|
||||||
FLOAT tween_factor;
|
FLOAT tween_factor;
|
||||||
|
|
||||||
/* RenderState */
|
/* RenderState */
|
||||||
|
|
Loading…
Reference in New Issue