Mesa (master): r600g: fixes a segfault in the piglit fbo-genmipmap-formats test.
Dave Airlie
airlied at kemper.freedesktop.org
Sun Jan 30 08:05:47 UTC 2011
Module: Mesa
Branch: master
Commit: 71f610e26ea7d71043b1a8ceeb8af7d11d75d6ab
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=71f610e26ea7d71043b1a8ceeb8af7d11d75d6ab
Author: Dave Airlie <airlied at redhat.com>
Date: Sun Jan 30 18:07:10 2011 +1000
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.
---
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 b487182..71a504c 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);
More information about the mesa-commit
mailing list