summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-05-14 23:46:43 +0100
committerKeith Whitwell <keithw@vmware.com>2010-05-14 23:46:43 +0100
commit7813d12e05e654d12e2cf6c47a7e73eb0310493c (patch)
treed40ca6a6d8cec166cdc699ef0214ab91a4eab94e /src/gallium/auxiliary/draw
parent4ff1274e2312c7d9d8538dc443af500ec3b769cf (diff)
draw: fix typo checking for unfilled polygons
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_validate.c2
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 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 */