[gegl] sampler-linear: (temporary?) extra safe context_rect
- From: Nicolas Robidoux <nrobidoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] sampler-linear: (temporary?) extra safe context_rect
- Date: Sat, 15 Dec 2012 16:44:53 +0000 (UTC)
commit d4cb215ae333c5779dae02e3662a7481243337e6
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date: Sat Dec 15 11:44:46 2012 -0500
sampler-linear: (temporary?) extra safe context_rect
gegl/buffer/gegl-sampler-linear.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-linear.c b/gegl/buffer/gegl-sampler-linear.c
index 9882e20..52c3100 100644
--- a/gegl/buffer/gegl-sampler-linear.c
+++ b/gegl/buffer/gegl-sampler-linear.c
@@ -65,10 +65,10 @@ gegl_sampler_linear_class_init (GeglSamplerLinearClass *klass)
static void
gegl_sampler_linear_init (GeglSamplerLinear *self)
{
- GEGL_SAMPLER (self)->context_rect[0].x = -1;
- GEGL_SAMPLER (self)->context_rect[0].y = -1;
- GEGL_SAMPLER (self)->context_rect[0].width = 3;
- GEGL_SAMPLER (self)->context_rect[0].height = 3;
+ GEGL_SAMPLER (self)->context_rect[0].x = -1-1;
+ GEGL_SAMPLER (self)->context_rect[0].y = -1-1;
+ GEGL_SAMPLER (self)->context_rect[0].width = 3+2;
+ GEGL_SAMPLER (self)->context_rect[0].height = 3+2;
GEGL_SAMPLER (self)->interpolate_format = babl_format ("RaGaBaA float");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]