summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-02-09 13:11:12 -0700
committerBrian Paul <brianp@vmware.com>2011-02-11 12:00:51 -0700
commit413511f7967260c61085a4fa61bebdcc385cf7ca (patch)
tree17a641995fc591d19f96f0d590c28d6d53bf5923 /src/gallium/auxiliary
parentda2e541218d65c8931f0061fc4badd8fdedfcb83 (diff)
downloadexternal_mesa3d-413511f7967260c61085a4fa61bebdcc385cf7ca.zip
external_mesa3d-413511f7967260c61085a4fa61bebdcc385cf7ca.tar.gz
external_mesa3d-413511f7967260c61085a4fa61bebdcc385cf7ca.tar.bz2
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 0851b9a..af4cea8 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;