diff options
author | Michal Krol <[email protected]> | 2010-03-01 17:07:03 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2010-03-01 17:07:03 +0100 |
commit | b42455c4f48076eec34e383d5b9cc4670f2d048f (patch) | |
tree | e0d8fabc9dedc13345498f6600b948dcd56f0358 /src/gallium/drivers/r300/r300_blit.c | |
parent | 932e6f8d527d2147ecc4e75ce9ae2f71e23e61af (diff) |
r300: Save viewport and clip states before invoking blitter.
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_blit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index eb9b0beeb5a..ec7414dc369 100644 --- a/src/gallium/drivers/r300/r300_blit.c +++ b/src/gallium/drivers/r300/r300_blit.c @@ -34,6 +34,8 @@ static void r300_blitter_save_states(struct r300_context* r300) util_blitter_save_rasterizer(r300->blitter, r300->rs_state.state); util_blitter_save_fragment_shader(r300->blitter, r300->fs); util_blitter_save_vertex_shader(r300->blitter, r300->vs); + util_blitter_save_viewport(r300->blitter, &r300->viewport); + util_blitter_save_clip(r300->blitter, &r300->clip); } /* Clear currently bound buffers. */ |