From: Oliver McFadden Date: Thu, 21 Jun 2007 15:53:26 +0000 (+0000) Subject: r300: Corrected a bug in r300LineWidth. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed5ed6fe2f64f45eb3a43f9c57037d9e9b7fa5ea;p=mesa.git r300: Corrected a bug in r300LineWidth. Thanks to Panagiotis Papadakos for reporting it. --- diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index e6c394610dd..bdd6855802b 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -715,7 +715,7 @@ static void r300LineWidth(GLcontext * ctx, GLfloat widthf) widthf = ctx->Line._Width; R300_STATECHANGE(r300, lcntl); - r300->hw.lcntl.cmd[1] |= + r300->hw.lcntl.cmd[1] = R300_LINE_CNT_HO | R300_LINE_CNT_VE | (int)(widthf * 6.0); }