diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2005-01-26 12:46:15 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2005-01-26 12:46:15 +0000 |
commit | 4433b6ddc9453cd2dfe7786a6082bcb33e9e3008 (patch) | |
tree | d8375a399af6e41745a5425574727c4fc3b44e9e | |
parent | 92a2712da7f93743f603fc87192a31daf5e54ba7 (diff) |
reset line stipple on new line primitive
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_tris.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tris.c b/src/mesa/drivers/dri/unichrome/via_tris.c index 2d9bf37f03..f66756f060 100644 --- a/src/mesa/drivers/dri/unichrome/via_tris.c +++ b/src/mesa/drivers/dri/unichrome/via_tris.c @@ -886,6 +886,7 @@ void viaRasterPrimitive(GLcontext *ctx, break; case GL_LINES: vmesa->regCmdA_End |= HC_HPMType_Line | HC_HVCycle_Full; + regCmdB |= HC_HLPrst_MASK; if (ctx->Light.ShadeModel == GL_FLAT) vmesa->regCmdA_End |= HC_HShading_FlatB; break; |