From a628b99d6308a7abb4fe4fa6884951d755f7fea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Fri, 8 Dec 2006 20:02:31 +0100 Subject: [PATCH] wined3d: Remove the unused stateblock vertex blend member. --- dlls/wined3d/device.c | 8 +------- dlls/wined3d/stateblock.c | 1 - dlls/wined3d/wined3d_private.h | 1 - 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 18e2a291f21..e1fbd502e73 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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 : diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c index 89745012492..c0db61fb2da 100644 --- a/dlls/wined3d/stateblock.c +++ b/dlls/wined3d/stateblock.c @@ -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; diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 9d453b26930..cd49944458e 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -1172,7 +1172,6 @@ struct IWineD3DStateBlockImpl float *pixelShaderConstantF; /* Indexed Vertex Blending */ - WINED3DVERTEXBLENDFLAGS vertex_blend; FLOAT tween_factor; /* RenderState */