From: Marek Olšák Date: Mon, 27 Dec 2010 15:15:24 +0000 (+0100) Subject: r300g: mark vertex arrays as dirty after a buffer_offset change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9b84017e0000b4740bf3318f54a3a5e31858f4f;p=mesa.git r300g: mark vertex arrays as dirty after a buffer_offset change We shouldn't hit this bug in theory. NOTE: This is a candidate for the 7.10 branch. --- diff --git a/src/gallium/drivers/r300/r300_screen_buffer.c b/src/gallium/drivers/r300/r300_screen_buffer.c index 565ead21711..93f9b4f59b7 100644 --- a/src/gallium/drivers/r300/r300_screen_buffer.c +++ b/src/gallium/drivers/r300/r300_screen_buffer.c @@ -90,6 +90,7 @@ void r300_upload_user_buffers(struct r300_context *r300) &vb->buffer_offset, &vb->buffer); r300->validate_buffers = TRUE; + r300->aos_dirty = TRUE; } } }