wined3d: Get rid of the "src_state" local variable from wined3d_stateblock_capture().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-03-22 10:23:13 -05:00 committed by Alexandre Julliard
parent 4d67ac1758
commit 9a2ff84402
1 changed files with 0 additions and 3 deletions

View File

@ -749,14 +749,11 @@ static void wined3d_state_record_lights(struct wined3d_light_state *dst_state,
void CDECL wined3d_stateblock_capture(struct wined3d_stateblock *stateblock)
{
const struct wined3d_stateblock_state *state = &stateblock->device->stateblock_state;
const struct wined3d_state *src_state = &stateblock->device->state;
unsigned int i;
DWORD map;
TRACE("stateblock %p.\n", stateblock);
TRACE("Capturing state %p.\n", src_state);
if (stateblock->changed.vertexShader && stateblock->stateblock_state.vs != state->vs)
{
TRACE("Updating vertex shader from %p to %p.\n", stateblock->stateblock_state.vs, state->vs);