From 3eeef8aabe399a404d5c86dcc23066d9b5453a7f Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 15 Oct 2007 10:30:38 -0600 Subject: Change 'drawing' field to boolean. --- src/mesa/pipe/draw/draw_prim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/pipe/draw/draw_prim.c') diff --git a/src/mesa/pipe/draw/draw_prim.c b/src/mesa/pipe/draw/draw_prim.c index 698557d6bda..cf8943b40d4 100644 --- a/src/mesa/pipe/draw/draw_prim.c +++ b/src/mesa/pipe/draw/draw_prim.c @@ -119,7 +119,7 @@ void draw_do_flush( struct draw_context *draw, draw->drawing) { draw->pipeline.first->end( draw->pipeline.first ); - draw->drawing = 0; + draw->drawing = FALSE; draw->prim = ~0; draw->pipeline.first = draw->pipeline.validate; } @@ -400,7 +400,7 @@ draw_arrays(struct draw_context *draw, unsigned prim, unsigned start, unsigned count) { if (!draw->drawing) { - draw->drawing = 1; + draw->drawing = TRUE; /* tell drawing pipeline we're beginning drawing */ draw->pipeline.first->begin( draw->pipeline.first ); -- cgit v1.2.3