summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-12-07 19:24:19 +0100
committerMarek Olšák <[email protected]>2010-12-07 19:26:28 +0100
commitd8b861987d32444586e786cb39c6ef1c7498ae9b (patch)
treea49639c82373a3b72a6d071bb8a66d55c5a3a2c1 /src/gallium/drivers
parent27609a826734594c092390c2538b74f8358c1aba (diff)
r300g: also revalidate the SWTCL vertex buffer after its reallocation
Diffstat (limited to 'src/gallium/drivers')
-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 7bb5eaa4a96..b4197e03520 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;