summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r--src/gallium/drivers/r600/r600_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c
index d57e88dd56..ff574b8285 100644
--- a/src/gallium/drivers/r600/r600_state.c
+++ b/src/gallium/drivers/r600/r600_state.c
@@ -309,7 +309,7 @@ static void r600_set_viewport_state(struct pipe_context *ctx,
return;
}
radeon_draw_set_new(rctx->draw, rstate);
- rctx->viewport = state;
+ rctx->viewport = *state;
}
static void r600_set_vertex_buffers(struct pipe_context *ctx,