summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_blit.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-05-29 15:27:42 +0200
committerMarek Olšák <[email protected]>2010-05-29 15:41:22 +0200
commit1d57b6ebd186217a5c480245a36d169d357b8e67 (patch)
tree949dc2ca618642d6892bc4fdfd4f8c2475c375ac /src/gallium/drivers/r600/r600_blit.c
parente7f0f6bb72c63fd6e6ddcb7a815be68682f1764c (diff)
r600g: make a local copy of viewport state
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r--src/gallium/drivers/r600/r600_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index e92e9281059..a257d83d3a6 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -50,7 +50,7 @@ static void r600_blitter_save_states(struct pipe_context *ctx)
util_blitter_save_vertex_elements(rctx->blitter,
rctx->vertex_elements);
util_blitter_save_viewport(rctx->blitter,
- rctx->viewport);
+ &rctx->viewport);
}
void r600_clear(struct pipe_context *ctx, unsigned buffers,