diff options
author | Brian Paul <[email protected]> | 2008-09-03 14:31:11 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-03 14:31:11 -0600 |
commit | f89b74d97eff6c9a9875475af34fb15974ad75a2 (patch) | |
tree | 64817a2840ed2f6b77d572c583a6dbe49e7975e3 /src/gallium/drivers/cell/ppu/cell_vbuf.c | |
parent | 5531c986bd34457e113163a68ff4ab98394738f0 (diff) |
cell: change context type passed to cell_flush_int()
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_vbuf.c')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_vbuf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_vbuf.c b/src/gallium/drivers/cell/ppu/cell_vbuf.c index e4230c7a5ff..1bf0a24bccc 100644 --- a/src/gallium/drivers/cell/ppu/cell_vbuf.c +++ b/src/gallium/drivers/cell/ppu/cell_vbuf.c @@ -113,7 +113,7 @@ cell_vbuf_release_vertices(struct vbuf_render *vbr, void *vertices, } cvbr->vertex_buf = ~0; - cell_flush_int(&cell->pipe, 0x0); + cell_flush_int(cell, 0x0); assert(vertices == cvbr->vertex_buffer); cvbr->vertex_buffer = NULL; @@ -121,12 +121,13 @@ cell_vbuf_release_vertices(struct vbuf_render *vbr, void *vertices, -static void +static boolean cell_vbuf_set_primitive(struct vbuf_render *vbr, unsigned prim) { struct cell_vbuf_render *cvbr = cell_vbuf_render(vbr); cvbr->prim = prim; /*printf("cell_set_prim %u\n", prim);*/ + return TRUE; } @@ -244,7 +245,7 @@ cell_vbuf_draw(struct vbuf_render *vbr, #if 0 /* helpful for debug */ - cell_flush_int(&cell->pipe, CELL_FLUSH_WAIT); + cell_flush_int(cell, CELL_FLUSH_WAIT); #endif } |