[gegl] lohalo: stricter checks for higher mipmap use
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] lohalo: stricter checks for higher mipmap use
- Date: Fri, 1 Jul 2011 03:39:33 +0000 (UTC)
commit 58a86fa55a4e5efa968e1330cfdac6c5079e1c58
Author: Nicolas Robidoux <nicolas robidoux gmail com>
Date: Sun Jun 26 15:46:34 2011 -0400
lohalo: stricter checks for higher mipmap use
gegl/buffer/gegl-sampler-lohalo.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 96e9396..516cf37 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -2194,13 +2194,13 @@ gegl_sampler_lohalo_get ( GeglSampler* restrict self,
const gfloat theta = (gfloat) ( (gdouble) 1. / ellipse_f );
if (
- ( x_0 - fudged_bounding_box_half_width <= closest_left )
+ ( x_0 - fudged_bounding_box_half_width < closest_left )
||
- ( x_0 + fudged_bounding_box_half_width >= closest_rite )
+ ( x_0 + fudged_bounding_box_half_width > closest_rite )
||
- ( y_0 - fudged_bounding_box_half_height <= closest_top )
+ ( y_0 - fudged_bounding_box_half_height < closest_top )
||
- ( y_0 + fudged_bounding_box_half_height >= closest_bot )
+ ( y_0 + fudged_bounding_box_half_height > closest_bot )
)
{
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]