Module: Mesa
Branch: gallium-front-ccw
Commit: 7813d12e05e654d12e2cf6c47a7e73eb0310493c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7813d12e05e654d12e2cf6c47a7e73eb0310493c

Author: Keith Whitwell <[email protected]>
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 */

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to