From 54ef88109b3e135f7cc1feabbbc7dbf640a5d8cc Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 29 Dec 2004 14:36:58 +0000 Subject: use clamped Line._Width in calculations --- src/mesa/swrast/s_aalinetemp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/swrast/s_aalinetemp.h') diff --git a/src/mesa/swrast/s_aalinetemp.h b/src/mesa/swrast/s_aalinetemp.h index 4ffa5b81fb..aa78ef7b59 100644 --- a/src/mesa/swrast/s_aalinetemp.h +++ b/src/mesa/swrast/s_aalinetemp.h @@ -149,7 +149,7 @@ NAME(line)(GLcontext *ctx, const SWvertex *v0, const SWvertex *v1) line.dx = line.x1 - line.x0; line.dy = line.y1 - line.y0; line.len = SQRTF(line.dx * line.dx + line.dy * line.dy); - line.halfWidth = 0.5F * ctx->Line.Width; + line.halfWidth = 0.5F * ctx->Line._Width; if (line.len == 0.0 || IS_INF_OR_NAN(line.len)) return; -- cgit v1.2.3