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

Zebediah Figura z.figura12 at gmail.com
Fri Mar 22 10:23:13 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/wined3d/stateblock.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c
index 530326934b..ddb202ad7c 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);
-- 
2.20.1




More information about the wine-devel mailing list