[gegl] sampler-lohalo: actually request higher mipmap levels



commit 2efb714c42dc8c76cef89e39f169adc63d2c82f2
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date:   Thu Dec 13 20:55:51 2012 -0500

    sampler-lohalo: actually request higher mipmap levels

 gegl/buffer/gegl-sampler-lohalo.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 9f85225..7e6b462 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -2568,7 +2568,7 @@ gegl_sampler_lohalo_get (      GeglSampler*    restrict  self,
                         (gfloat*) gegl_sampler_get_from_mipmap (self,
                                                                 ix_2,
                                                                 iy_2,
-                                                                1,
+                                                                2,
                                                                 repeat_mode);
 
                       /*
@@ -2758,7 +2758,7 @@ gegl_sampler_lohalo_get (      GeglSampler*    restrict  self,
                               (gfloat*) gegl_sampler_get_from_mipmap (self,
                                                                       ix_3,
                                                                       iy_3,
-                                                                      1,
+                                                                      3,
                                                                    repeat_mode);
                             const gfloat x_3 =
                               x_2 + (gfloat) ( 2 * ( ix_2 - 2 * ix_3 ) - 1 );



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