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

Alexandre Julliard julliard at winehq.org
Fri Mar 22 16:06:20 CDT 2019


Module: wine
Branch: master
Commit: 9a2ff8440270cf1200271d5f4e0a1708a8098ab6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9a2ff8440270cf1200271d5f4e0a1708a8098ab6

Author: Zebediah Figura <z.figura12 at 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 at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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);




More information about the wine-cvs mailing list