[gthumb] cairo scale: use a bigger value as epsilon
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] cairo scale: use a bigger value as epsilon
- Date: Sun, 30 Sep 2012 17:51:48 +0000 (UTC)
commit 43aa2431e15c42a1b591825e6fc3656c316755d4
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Sep 30 19:49:47 2012 +0200
cairo scale: use a bigger value as epsilon
gthumb/cairo-scale.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/cairo-scale.c b/gthumb/cairo-scale.c
index 125433e..f47a089 100644
--- a/gthumb/cairo-scale.c
+++ b/gthumb/cairo-scale.c
@@ -113,7 +113,7 @@ _cairo_image_surface_scale_nearest (cairo_surface_t *image,
* */
-#define EPSILON ((double) 1.0e-16)
+#define EPSILON ((double) 1.0e-8)
typedef double (*weight_func_t) (double distance);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]