summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu/tri.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/cell/spu/tri.h')
-rw-r--r--src/mesa/pipe/cell/spu/tri.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/mesa/pipe/cell/spu/tri.h b/src/mesa/pipe/cell/spu/tri.h
index bcb42852b2..f10c4077d3 100644
--- a/src/mesa/pipe/cell/spu/tri.h
+++ b/src/mesa/pipe/cell/spu/tri.h
@@ -30,23 +30,8 @@
#define TRI_H
-/**
- * Simplified types taken from other parts of Gallium
- */
-
-struct vertex_header {
- float data[2][4]; /* pos and color */
-};
-
-
-struct prim_header {
- struct vertex_header *v[3];
- uint color;
-};
-
-
extern void
-tri_draw(struct prim_header *tri, uint tx, uint ty);
+tri_draw(const float *v0, const float *v1, const float *v2, uint tx, uint ty);
#endif /* TRI_H */