summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_point.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_point.c b/src/gallium/drivers/llvmpipe/lp_setup_point.c
index 834c47bdd76..988e0c59f21 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_point.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup_point.c
@@ -371,10 +371,10 @@ try_setup_point( struct lp_setup_context *setup,
*/
int adj = (setup->bottom_edge_rule != 0) ? 1 : 0;
- bbox.x0 = (x0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
- bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
- bbox.y0 = (y0 + (FIXED_ONE-1)) >> FIXED_ORDER;
- bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER;
+ bbox.x0 = (x0 + (FIXED_ONE-1)) >> FIXED_ORDER;
+ bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER;
+ bbox.y0 = (y0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
+ bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
/* Inclusive coordinates:
*/