summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_clip_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i965/brw_clip_util.c')
-rw-r--r--src/gallium/drivers/i965/brw_clip_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_clip_util.c b/src/gallium/drivers/i965/brw_clip_util.c
index f8f98c8037..018511e699 100644
--- a/src/gallium/drivers/i965/brw_clip_util.c
+++ b/src/gallium/drivers/i965/brw_clip_util.c
@@ -146,7 +146,7 @@ void brw_clip_interp_vertex( struct brw_clip_compile *c,
if (c->chipset.is_igdng)
delta = i * 16 + 32 * 3;
- if (delta == c->offset_edge) {
+ if (delta == c->offset_edgeflag) {
if (force_edgeflag)
brw_MOV(p, deref_4f(dest_ptr, delta), brw_imm_f(1));
else