From 413511f7967260c61085a4fa61bebdcc385cf7ca Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 9 Feb 2011 13:11:12 -0700 Subject: 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. --- src/gallium/auxiliary/draw/draw_pipe_aaline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/draw') 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; -- cgit v1.2.3