From: Keith Whitwell Date: Fri, 14 May 2010 22:46:43 +0000 (+0100) Subject: draw: fix typo checking for unfilled polygons X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7813d12e05e654d12e2cf6c47a7e73eb0310493c;p=mesa.git draw: fix typo checking for unfilled polygons --- diff --git a/src/gallium/auxiliary/draw/draw_pipe_validate.c b/src/gallium/auxiliary/draw/draw_pipe_validate.c index 72dfbc4d4ab..eafa29276ff 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 */