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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user