Mesa (master): draw: fix typo checking for unfilled polygons

Keith Whitwell keithw at kemper.freedesktop.org
Fri May 21 14:45:05 UTC 2010


Module: Mesa
Branch: master
Commit: 7813d12e05e654d12e2cf6c47a7e73eb0310493c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7813d12e05e654d12e2cf6c47a7e73eb0310493c

Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri May 14 23:46:43 2010 +0100

draw: fix typo checking for unfilled polygons

---

 src/gallium/auxiliary/draw/draw_pipe_validate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_pipe_validate.c b/src/gallium/auxiliary/draw/draw_pipe_validate.c
index 72dfbc4..eafa292 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 */




More information about the mesa-commit mailing list