mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 02:50:35 +01:00
nouveau: fix nv30 line width
This commit is contained in:
parent
aacea52181
commit
b0e86b2dbd
1 changed files with 1 additions and 1 deletions
|
|
@ -559,7 +559,7 @@ static void nv30LineWidth(GLcontext *ctx, GLfloat width)
|
|||
nouveauContextPtr nmesa = NOUVEAU_CONTEXT(ctx);
|
||||
GLubyte ubWidth;
|
||||
|
||||
CLAMPED_FLOAT_TO_UBYTE(ubWidth, width);
|
||||
ubWidth = (GLubyte)(width * 8.0) & 0xFF;
|
||||
|
||||
BEGIN_RING_CACHE(NvSub3D, NV30_TCL_PRIMITIVE_3D_LINE_WIDTH_SMOOTH, 1);
|
||||
OUT_RING_CACHE(ubWidth);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue