From: Brian Paul Date: Wed, 9 Feb 2011 20:11:12 +0000 (-0700) Subject: draw: tweak AA line texture minimum alpha X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=413511f7967260c61085a4fa61bebdcc385cf7ca;p=mesa.git draw: tweak AA line texture minimum alpha AA lines drawn as textured quads look a little better with this change. Conformance/piglit tests still pass. --- diff --git a/src/gallium/auxiliary/draw/draw_pipe_aaline.c b/src/gallium/auxiliary/draw/draw_pipe_aaline.c index 0851b9acc0d..af4cea85948 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_aaline.c +++ b/src/gallium/auxiliary/draw/draw_pipe_aaline.c @@ -461,7 +461,7 @@ aaline_create_texture(struct aaline_stage *aaline) d = 200; /* tuneable */ } else if (i == 0 || j == 0 || i == size - 1 || j == size - 1) { - d = 0; + d = 35; /* edge texel */ } else { d = 255;