Module: Mesa Branch: master Commit: 413511f7967260c61085a4fa61bebdcc385cf7ca URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=413511f7967260c61085a4fa61bebdcc385cf7ca
Author: Brian Paul <[email protected]> Date: Wed Feb 9 13:11:12 2011 -0700 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 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
