diff options
author | Oliver McFadden <z3ro.geek@gmail.com> | 2007-06-21 15:53:26 +0000 |
---|---|---|
committer | Oliver McFadden <z3ro.geek@gmail.com> | 2007-06-21 15:53:26 +0000 |
commit | ed5ed6fe2f64f45eb3a43f9c57037d9e9b7fa5ea (patch) | |
tree | 158f3d51cc8d6177efcb978dc3332a0fcaf7d1e6 /src/mesa | |
parent | 171dcdfa27dda30916a7f9bfed89577feee5d350 (diff) |
r300: Corrected a bug in r300LineWidth.
Thanks to Panagiotis Papadakos for reporting it.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_state.c | 2 |
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); } |