r300g: also revalidate the SWTCL vertex buffer after its reallocation
authorMarek Olšák <maraeo@gmail.com>
Tue, 7 Dec 2010 18:24:19 +0000 (19:24 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 7 Dec 2010 18:26:28 +0000 (19:26 +0100)
src/gallium/drivers/r300/r300_render.c

index 7bb5eaa4a968e618efd6763707c9dfa577d637d0..b4197e03520f30b5146f6321b94602e672555e12 100644 (file)
@@ -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;