Module: wine Branch: master Commit: 9a2ff8440270cf1200271d5f4e0a1708a8098ab6 URL: https://source.winehq.org/git/wine.git/?a=commit;h=9a2ff8440270cf1200271d5f4...
Author: Zebediah Figura z.figura12@gmail.com Date: Fri Mar 22 10:23:13 2019 -0500
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
---
dlls/wined3d/stateblock.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c index 7495d21..ee552c1 100644 --- a/dlls/wined3d/stateblock.c +++ b/dlls/wined3d/stateblock.c @@ -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);