insert a temporary flush to fix missing triangles artifact
authorBrian <brian.paul@tungstengraphics.com>
Thu, 3 Jan 2008 15:58:01 +0000 (08:58 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 3 Jan 2008 15:58:01 +0000 (08:58 -0700)
src/mesa/pipe/cell/ppu/cell_render.c

index 79aa37ea02110ba5ff4cf22b60c9be30f8f0406b..f5a91776a52144849d7f39cc611b69bbce866b76 100644 (file)
@@ -171,6 +171,11 @@ cell_flush_prim_buffer(struct cell_context *cell)
    cell->prim_buffer.ymin = 1e100;
    cell->prim_buffer.xmax = -1e100;
    cell->prim_buffer.ymax = -1e100;
+
+   /* XXX temporary, need to double-buffer the prim buffer until we get
+    * a real command buffer/list system.
+    */
+   cell_flush(&cell->pipe, 0x0);
 }