diff options
author | Keith Whitwell <[email protected]> | 2004-12-29 14:36:58 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2004-12-29 14:36:58 +0000 |
commit | 54ef88109b3e135f7cc1feabbbc7dbf640a5d8cc (patch) | |
tree | 878945dad173afcbca4ee7df08cca056f2e08716 /src/mesa/swrast/s_aalinetemp.h | |
parent | e158292ee39646c57280fd8a23deec2392bfe0e6 (diff) |
use clamped Line._Width in calculations
Diffstat (limited to 'src/mesa/swrast/s_aalinetemp.h')
-rw-r--r-- | src/mesa/swrast/s_aalinetemp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_aalinetemp.h b/src/mesa/swrast/s_aalinetemp.h index 4ffa5b81fbb..aa78ef7b596 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; |