From 7813d12e05e654d12e2cf6c47a7e73eb0310493c Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 14 May 2010 23:46:43 +0100 Subject: draw: fix typo checking for unfilled polygons --- src/gallium/auxiliary/draw/draw_pipe_validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/draw/draw_pipe_validate.c b/src/gallium/auxiliary/draw/draw_pipe_validate.c index 72dfbc4d4a..eafa29276f 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_validate.c +++ b/src/gallium/auxiliary/draw/draw_pipe_validate.c @@ -123,7 +123,7 @@ draw_need_pipeline(const struct draw_context *draw, /* unfilled polygons */ if (rasterizer->fill_front != PIPE_POLYGON_MODE_FILL || - rasterizer->fill_front != PIPE_POLYGON_MODE_FILL) + rasterizer->fill_back != PIPE_POLYGON_MODE_FILL) return TRUE; /* polygon offset */ -- cgit v1.2.3