mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
wined3d: Remove the unused stateblock vertex blend member.
This commit is contained in:
parent
e53c2a9c4c
commit
a628b99d63
3 changed files with 1 additions and 9 deletions
|
@ -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 :
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1172,7 +1172,6 @@ struct IWineD3DStateBlockImpl
|
|||
float *pixelShaderConstantF;
|
||||
|
||||
/* Indexed Vertex Blending */
|
||||
WINED3DVERTEXBLENDFLAGS vertex_blend;
|
||||
FLOAT tween_factor;
|
||||
|
||||
/* RenderState */
|
||||
|
|
Loading…
Reference in a new issue