i965g: restore check on line smooth state
authorKeith Whitwell <keithw@vmware.com>
Sun, 15 Nov 2009 00:06:57 +0000 (16:06 -0800)
committerKeith Whitwell <keithw@vmware.com>
Sun, 15 Nov 2009 00:06:57 +0000 (16:06 -0800)
src/gallium/drivers/i965/brw_wm.c

index 8589aa22a88b22a9adee317811541316909f5498..3c5a2dab7a119918b8fbc354298860331f98f9d4 100644 (file)
@@ -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;