[gegl] gegl:stress: remove unneeded function call/copy
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl:stress: remove unneeded function call/copy
- Date: Mon, 22 Mar 2010 00:24:51 +0000 (UTC)
commit b69b44dad9f1c74c95d314c039fd3ce9e5967c16
Author: �yvind Kolås <pippin gimp org>
Date: Sun Mar 21 20:05:27 2010 +0000
gegl:stress: remove unneeded function call/copy
operations/common/envelopes.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/operations/common/envelopes.h b/operations/common/envelopes.h
index c042cfa..dc9a4b7 100644
--- a/operations/common/envelopes.h
+++ b/operations/common/envelopes.h
@@ -117,9 +117,7 @@ retry: /* if we've sampled outside the valid image
goto retry;
{
- gfloat pixel[4];
-
- sample (buf, width, height, u, v, pixel);
+ gfloat *pixel = (buf + ((width * v) + u) * 4);
if (pixel[3]>0.0) /* ignore fully transparent pixels */
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]