r300: Corrected a bug in r300LineWidth.

Thanks to Panagiotis Papadakos for reporting it.
This commit is contained in:
Oliver McFadden 2007-06-21 15:53:26 +00:00
parent 171dcdfa27
commit ed5ed6fe2f

View file

@ -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);
}