summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-12-07 19:24:19 +0100
committerMarek Olšák <maraeo@gmail.com>2010-12-07 19:26:28 +0100
commitd8b861987d32444586e786cb39c6ef1c7498ae9b (patch)
treea49639c82373a3b72a6d071bb8a66d55c5a3a2c1 /src
parent27609a826734594c092390c2538b74f8358c1aba (diff)
r300g: also revalidate the SWTCL vertex buffer after its reallocation
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c
index 7bb5eaa4a9..b4197e0352 100644
--- a/src/gallium/drivers/r300/r300_render.c
+++ b/src/gallium/drivers/r300/r300_render.c
@@ -816,6 +816,7 @@ static boolean r300_render_allocate_vertices(struct vbuf_render* render,
R300_MAX_DRAW_VBO_SIZE);
r300->draw_vbo_offset = 0;
r300->draw_vbo_size = R300_MAX_DRAW_VBO_SIZE;
+ r300->validate_buffers = TRUE;
}
r300render->vertex_size = vertex_size;