[gegl/samplers] lohalo: stricter checks for higher mipmap use
- From: Nicolas Robidoux <nrobidoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/samplers] lohalo: stricter checks for higher mipmap use
- Date: Sun, 26 Jun 2011 19:46:40 +0000 (UTC)
commit 391fe87d1cb50aeda539adde0722f52fc0734e96
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]