Revert "r300g: save vertex buffers around u_blitter calls"
authorMarek Olšák <maraeo@gmail.com>
Sun, 18 Apr 2010 14:59:35 +0000 (16:59 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 18 Apr 2010 15:02:39 +0000 (17:02 +0200)
Not sure why it crashes.

src/gallium/drivers/r300/r300_blit.c

index 37fbd45..e15c71e 100644 (file)
@@ -37,7 +37,9 @@ static void r300_blitter_save_states(struct r300_context* r300)
     util_blitter_save_viewport(r300->blitter, &r300->viewport);
     util_blitter_save_clip(r300->blitter, &r300->clip);
     util_blitter_save_vertex_elements(r300->blitter, r300->velems);
-    util_blitter_save_vertex_buffers(r300->blitter, r300->vertex_buffer_count, r300->vertex_buffer);
+    /* XXX this crashes the driver
+    util_blitter_save_vertex_buffers(r300->blitter, r300->vertex_buffer_count,
+                                     r300->vertex_buffer); */
 }
 
 /* Clear currently bound buffers. */