draw: fix typo checking for unfilled polygons
authorKeith Whitwell <keithw@vmware.com>
Fri, 14 May 2010 22:46:43 +0000 (23:46 +0100)
committerKeith Whitwell <keithw@vmware.com>
Fri, 14 May 2010 22:46:43 +0000 (23:46 +0100)
src/gallium/auxiliary/draw/draw_pipe_validate.c

index 72dfbc4d4ab849c39f9a8ac2edf25fc12a25b2ea..eafa29276ffcd9bad39725a49e19a8a159db2684 100644 (file)
@@ -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 */