summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-10 21:50:31 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-10 21:50:31 -0700
commitea190f4b41d8959aa3edfd46503a3077201cdefd (patch)
tree6f3953da20fc1027d7c4243cd7ab0b297eb0a850 /src/mesa
parent6059ecaabefc273f39353825dde568d1a2e2ba19 (diff)
Cell: remove unused color field
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/cell/spu/tri.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/pipe/cell/spu/tri.c b/src/mesa/pipe/cell/spu/tri.c
index 52e48e3dd2..a4fcb71d20 100644
--- a/src/mesa/pipe/cell/spu/tri.c
+++ b/src/mesa/pipe/cell/spu/tri.c
@@ -48,7 +48,6 @@ struct vertex_header {
struct prim_header {
struct vertex_header *v[3];
- uint color;
};
@@ -131,9 +130,6 @@ struct setup_stage {
#if 0
struct quad_header quad;
#endif
-#if 1
- uint color;
-#endif
struct {
int left[2]; /**< [0] = row0, [1] = row1 */
@@ -832,12 +828,6 @@ static void subtriangle( struct setup_stage *setup,
static void
setup_tri(struct setup_stage *setup, struct prim_header *prim)
{
- setup->color = prim->color; /* XXX temporary */
-
- /*
- _mesa_printf("%s\n", __FUNCTION__ );
- */
-
if (!setup_sort_vertices( setup, prim )) {
return; /* totally clipped */
}