projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3b9fa
)
draw: add small ybias factor for drawing wide points
author
Brian Paul
<brianp@vmware.com>
Fri, 23 Jul 2010 16:32:25 +0000
(10:32 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 23 Jul 2010 16:32:58 +0000
(10:32 -0600)
Fixes minor rasterization error detected by some tests.
src/gallium/auxiliary/draw/draw_pipe_wide_point.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
b/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
index 3e6e5389950779a0b543faf377864ea6c2dc278e..ee2945c7c97363d8e90c26651c7247565d9ad283 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_pipe_wide_point.c
+++ b/
src/gallium/auxiliary/draw/draw_pipe_wide_point.c
@@
-226,6
+226,7
@@
static void widepoint_first_point( struct draw_stage *stage,
if (rast->gl_rasterization_rules) {
wide->xbias = 0.125;
+ wide->ybias = -0.125;
}
/* Disable triangle culling, stippling, unfilled mode etc. */