diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-11-14 16:06:57 -0800 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-11-14 16:06:57 -0800 |
commit | d03a1c2216635a1475172e6603a243348675fd6f (patch) | |
tree | 09eee06a79f87c163eeb567b0f788afc95006b8c /src/gallium | |
parent | 2f54d02d205468a840b35a3554f2ad8ffc31ec9c (diff) | |
download | external_mesa3d-d03a1c2216635a1475172e6603a243348675fd6f.zip external_mesa3d-d03a1c2216635a1475172e6603a243348675fd6f.tar.gz external_mesa3d-d03a1c2216635a1475172e6603a243348675fd6f.tar.bz2 |
i965g: restore check on line smooth state
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/i965/brw_wm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_wm.c b/src/gallium/drivers/i965/brw_wm.c index 8589aa2..3c5a2da 100644 --- a/src/gallium/drivers/i965/brw_wm.c +++ b/src/gallium/drivers/i965/brw_wm.c @@ -225,7 +225,8 @@ static void brw_wm_populate_key( struct brw_context *brw, line_aa = AA_NEVER; break; case PIPE_PRIM_LINES: - line_aa = AA_ALWAYS; + line_aa = (brw->curr.rast->templ.line_smooth ? + AA_ALWAYS : AA_NEVER); break; default: line_aa = brw->curr.rast->unfilled_aa_line; |