From: Brian Date: Fri, 27 Jul 2007 15:06:02 +0000 (-0600) Subject: init quad.coverage values to 1.0 in case line AA is enabled so that we see something X-Git-Tag: 062012170305~17580^2~390^2~4654 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1a19781ddd855540aa65142891b23769e6da0f9;p=profile%2Fivi%2Fmesa.git init quad.coverage values to 1.0 in case line AA is enabled so that we see something --- diff --git a/src/mesa/pipe/softpipe/sp_prim_setup.c b/src/mesa/pipe/softpipe/sp_prim_setup.c index 091a234..bb37bb9 100644 --- a/src/mesa/pipe/softpipe/sp_prim_setup.c +++ b/src/mesa/pipe/softpipe/sp_prim_setup.c @@ -766,6 +766,13 @@ setup_line(struct draw_stage *stage, struct prim_header *prim) setup->quad.x0 = setup->quad.y0 = -1; setup->quad.mask = 0x0; setup->quad.prim = PRIM_LINE; + /* XXX temporary: set coverage to 1.0 so the line appears + * if AA mode happens to be enabled. + */ + setup->quad.coverage[0] = + setup->quad.coverage[1] = + setup->quad.coverage[2] = + setup->quad.coverage[3] = 1.0; if (dx > dy) { /*** X-major line ***/