diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2013-07-03 11:55:59 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2013-07-09 14:09:03 -0700 |
commit | fe0a8cb30dd53bed0d024b01e2c2b60911a3c526 (patch) | |
tree | 390b2e98dd9d7d14b539618850ccbeb794fde9a9 /src/mesa/drivers/dri/i965/brw_wm.c | |
parent | 9147b4049658fe2401c19e03d20220aeea0fafc6 (diff) |
i965: Move intel_context::reduced_primitive to brw_context.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Chris Forbes <chrisf@ijw.co.nz>
Acked-by: Paul Berry <stereotype441@gmail.com>
Acked-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index c560af72503..0eed5bd132c 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.c +++ b/src/mesa/drivers/dri/i965/brw_wm.c @@ -395,10 +395,10 @@ static void brw_wm_populate_key( struct brw_context *brw, /* _NEW_LINE, _NEW_POLYGON, BRW_NEW_REDUCED_PRIMITIVE */ if (ctx->Line.SmoothFlag) { - if (brw->intel.reduced_primitive == GL_LINES) { + if (brw->reduced_primitive == GL_LINES) { line_aa = AA_ALWAYS; } - else if (brw->intel.reduced_primitive == GL_TRIANGLES) { + else if (brw->reduced_primitive == GL_TRIANGLES) { if (ctx->Polygon.FrontMode == GL_LINE) { line_aa = AA_SOMETIMES; |