diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-22 08:54:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-22 08:54:57 +0100 |
commit | 4e00cbe35d1a409a02ee27d991213d9a0807e500 (patch) | |
tree | 6f243b0267a6e714b8610e1e26dbc034bab4726a /src/sna/sna_trapezoids.h | |
parent | 376037e6336dfc3b32c51b774ab8a80f64390e02 (diff) |
traps
Diffstat (limited to 'src/sna/sna_trapezoids.h')
-rw-r--r-- | src/sna/sna_trapezoids.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna_trapezoids.h b/src/sna/sna_trapezoids.h index d1017268..5acf5317 100644 --- a/src/sna/sna_trapezoids.h +++ b/src/sna/sna_trapezoids.h @@ -332,7 +332,8 @@ xTriangleValid(const xTriangle *t) static inline int pixman_fixed_to_fast(pixman_fixed_t v) { - return (v + ((1<<(16-FAST_SAMPLES_shift-1))-1)) >> (16 - FAST_SAMPLES_shift); + //return (v + ((1<<(16-FAST_SAMPLES_shift-1))-1)) >> (16 - FAST_SAMPLES_shift); + return (v + ((1<<(16-FAST_SAMPLES_shift-1)))) >> (16 - FAST_SAMPLES_shift); } bool trapezoids_bounds(int n, const xTrapezoid *t, BoxPtr box); |