diff options
author | Dave Airlie <airlied@redhat.com> | 2011-01-30 18:07:10 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-30 18:09:25 +1000 |
commit | 71f610e26ea7d71043b1a8ceeb8af7d11d75d6ab (patch) | |
tree | 9b52b7199e832498de7c66d6f2cef80411e74ccc /src/gallium | |
parent | 8f32c6cfc6503dd234f09fb06941803866c23c65 (diff) |
r600g: fixes a segfault in the piglit fbo-genmipmap-formats test.
should be no need to unset this ptr here and if we don't end up using the
blitter we've just broken the state.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/r600_blit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index b487182e3aa..71a504cb9a2 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -55,8 +55,6 @@ static void r600_blitter_begin(struct pipe_context *ctx, enum r600_blitter_op op } util_blitter_save_vertex_buffers(rctx->blitter, rctx->nvertex_buffers, rctx->vertex_buffer); - rctx->vertex_elements = NULL; - if (op & (R600_CLEAR_SURFACE | R600_COPY)) util_blitter_save_framebuffer(rctx->blitter, &rctx->framebuffer); |