[gegl] revert changes made to quickly track bug
- From: Nicolas Robidoux <nrobidoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] revert changes made to quickly track bug
- Date: Sun, 16 Dec 2012 00:54:22 +0000 (UTC)
commit b58468d612602fbcaaa60090637c6f70e367475d
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date: Sat Dec 15 19:54:16 2012 -0500
revert changes made to quickly track bug
gegl/buffer/gegl-sampler-linear.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-linear.c b/gegl/buffer/gegl-sampler-linear.c
index ddb7e8e..bb63b76 100644
--- a/gegl/buffer/gegl-sampler-linear.c
+++ b/gegl/buffer/gegl-sampler-linear.c
@@ -66,7 +66,7 @@ gegl_sampler_linear_class_init (GeglSamplerLinearClass *klass)
* 0 if it is found that round off error never sends things "too far
* away". Nicolas would be very surprised if more than 1 is necessary.
*/
-#define LINEAR_EXTRA_ELBOW_ROOM 2
+#define LINEAR_EXTRA_ELBOW_ROOM 1
static void
gegl_sampler_linear_init (GeglSamplerLinear *self)
@@ -108,13 +108,8 @@ gegl_sampler_linear_get ( GeglSampler* restrict self,
* Point the data tile pointer to the first channel of the top_left
* pixel value:
*/
- const gfloat* restrict in_bptr = gegl_sampler_get_from_mipmap (self,
- ix,
- iy,
- 0,
- repeat_mode);
- /* const gfloat* restrict in_bptr = */
- /* gegl_sampler_get_ptr (self, ix, iy, repeat_mode); */
+ const gfloat* restrict in_bptr =
+ gegl_sampler_get_ptr (self, ix, iy, repeat_mode);
/*
* x is the x-coordinate of the sampling point relative to the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]