diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-10-01 10:28:10 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-10-01 10:28:51 +0100 |
commit | de7185bbf48ca2f617466b98328d0fdae4df1b44 (patch) | |
tree | cfc8fb4a226ce1880ebfbdbcf541bdc1d0280f05 /src/sna/sna_trapezoids_imprecise.c | |
parent | c6d9303303a5ccb3ec6d072c510c09d6576cb398 (diff) |
sna/trapezoids: Fix comparison on right edge of trapezoids
We need to compare the fixed ceiling rather the floor for accuracy.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_trapezoids_imprecise.c')
-rw-r--r-- | src/sna/sna_trapezoids_imprecise.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sna/sna_trapezoids_imprecise.c b/src/sna/sna_trapezoids_imprecise.c index 82306651..ea2cb94a 100644 --- a/src/sna/sna_trapezoids_imprecise.c +++ b/src/sna/sna_trapezoids_imprecise.c @@ -42,12 +42,6 @@ #undef SAMPLES_X #undef SAMPLES_Y -#if 0 -#define __DBG DBG -#else -#define __DBG(x) -#endif - /* TODO: Emit unantialiased and MSAA triangles. */ #ifndef MAX |