summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_context.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-12-05 21:19:12 +0100
committerStéphane Marchesin <[email protected]>2012-01-26 01:38:36 -0800
commit4a79545bdfb9e948329a761ef350eb83a3d87496 (patch)
treec862e9ca12bf7c63a2a91343c91dddf1c051edea /src/gallium/auxiliary/draw/draw_context.c
parent8b902056d53e0e14f7d58ac7f95091ab06abc72e (diff)
draw: Remove reduced_prim
Conflicts: src/gallium/auxiliary/draw/draw_context.c Reviewed-by: Stéphane Marchesin <[email protected]> Tested-by: Stéphane Marchesin <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_context.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c
index 7e554dcbb00..4ce44455084 100644
--- a/src/gallium/auxiliary/draw/draw_context.c
+++ b/src/gallium/auxiliary/draw/draw_context.c
@@ -155,8 +155,6 @@ boolean draw_init(struct draw_context *draw)
draw->clip_z = TRUE;
draw->pt.user.planes = (float (*) [DRAW_TOTAL_CLIP_PLANES][4]) &(draw->plane[0]);
- draw->reduced_prim = ~0; /* != any of PIPE_PRIM_x */
-
if (!draw_pipeline_init( draw ))
return FALSE;
@@ -656,8 +654,6 @@ void draw_do_flush( struct draw_context *draw, unsigned flags )
draw_pipeline_flush( draw, flags );
- draw->reduced_prim = ~0; /* is reduced_prim needed any more? */
-
draw->flushing = FALSE;
}
}