[gegl] lohalo: use level 1 absolute pixel locations in pointer call



commit 4154b929c1b870101d6065c128ef381232942742
Author: Nicolas Robidoux <nicolas robidoux gmail com>
Date:   Mon Jun 27 15:58:57 2011 -0400

    lohalo: use level 1 absolute pixel locations in pointer call

 gegl/buffer/gegl-sampler-lohalo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index ac34588..ca96f9a 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -2228,7 +2228,7 @@ gegl_sampler_lohalo_get (      GeglSampler* restrict self,
                  * Get pointer to mipmap level 1 data:
                  */
                 const gfloat* restrict input_bptr_1 =
-                 (gfloat*) gegl_sampler_get_from_mipmap (self, ix_0, iy_0, 1);
+                 (gfloat*) gegl_sampler_get_from_mipmap (self, ix_1, iy_1, 1);
 
                 /*
                  * Position of the sampling location in the coordinate



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]