summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-02-09 13:11:12 -0700
committerBrian Paul <[email protected]>2011-02-11 12:00:51 -0700
commit413511f7967260c61085a4fa61bebdcc385cf7ca (patch)
tree17a641995fc591d19f96f0d590c28d6d53bf5923 /src/gallium/auxiliary
parentda2e541218d65c8931f0061fc4badd8fdedfcb83 (diff)
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.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_aaline.c2
1 files changed, 1 insertions, 1 deletions
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;