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 79aa37e..f5a9177 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);
 }