projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f32c6c
)
r600g: fixes a segfault in the piglit fbo-genmipmap-formats test.
author
Dave Airlie
<airlied@redhat.com>
Sun, 30 Jan 2011 08:07:10 +0000
(18:07 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 30 Jan 2011 08:09:25 +0000
(18:09 +1000)
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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_blit.c
b/src/gallium/drivers/r600/r600_blit.c
index b487182e3aab5aaa72177592dbefeaf0abf7270f..71a504cb9a23a1748d9aa5b6cf16aab12ce0d8cb 100644
(file)
--- 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);