r300: Corrected a bug in r300LineWidth.
Thanks to Panagiotis Papadakos for reporting it.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user