[gegl] lohalo: typo in context_rect param



commit 3b4aca4296e7108854e989284a4678eca0df5616
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date:   Sat Dec 22 00:06:00 2012 -0500

    lohalo: typo in context_rect param

 gegl/buffer/gegl-sampler-lohalo.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 07a04ae..52897b9 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -424,12 +424,8 @@ gegl_sampler_lohalo_class_init (GeglSamplerLohaloClass *klass)
 #define LOHALO_OFFSET_6 LOHALO_OFFSET_MIPMAP
 #define LOHALO_SIZE_6   LOHALO_SIZE_MIPMAP
 
-/*
- * We don't go all out to allow for rounding error in positioning
- * computation.
- */
-#define LOHALO_OFFSET_7 (GEGL_SAMPLER_MAXIMUM_HEIGHT/2-2)
-#define LOHALO_SIZE_7   (1+2*LOHALO_SIZE_6)
+#define LOHALO_OFFSET_7 (GEGL_SAMPLER_MAXIMUM_HEIGHT/2-1)
+#define LOHALO_SIZE_7   (GEGL_SAMPLER_MAXIMUM_HEIGHT)
 
 /*
  * Lohalo always uses some mipmap level 0 values, but not always



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