summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver McFadden <z3ro.geek@gmail.com>2007-06-21 15:53:26 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-06-21 15:53:26 +0000
commited5ed6fe2f64f45eb3a43f9c57037d9e9b7fa5ea (patch)
tree158f3d51cc8d6177efcb978dc3332a0fcaf7d1e6
parent171dcdfa27dda30916a7f9bfed89577feee5d350 (diff)
r300: Corrected a bug in r300LineWidth.
Thanks to Panagiotis Papadakos for reporting it.
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c
index e6c394610d..bdd6855802 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);
}