aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-02-21 17:27:19 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-02-21 17:30:49 +0900
commita2c3e73a87e58975e14ef34afdca6e53f7a9199e (patch)
treeffb500294faf0b18c6d5eb6223bc27e44accf147 /src
parenteina: add more debug information when failing to open a file. (diff)
downloadefl-a2c3e73a87e58975e14ef34afdca6e53f7a9199e.tar.gz
Evas filters: Fix blending with fillmode "stretch"
When using stretch, all buffers were actually drawn 4 times on top of each other. This was not visible because in most cases these buffers were all opaque (alpha = 255 everywhere).
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/filters/evas_filter_blend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/filters/evas_filter_blend.c b/src/lib/evas/filters/evas_filter_blend.c
index d7585f1d44..95e48876ee 100644
--- a/src/lib/evas/filters/evas_filter_blend.c
+++ b/src/lib/evas/filters/evas_filter_blend.c
@@ -181,7 +181,7 @@ _mapped_blend_cpu(void *data, void *drawctx,
}
else if (fillmode & EVAS_FILTER_FILL_MODE_STRETCH_X)
{
- cols = 1;
+ cols = 0;
dw = out->cache_entry.w;
dx = 0;
}
@@ -204,7 +204,7 @@ _mapped_blend_cpu(void *data, void *drawctx,
}
else if (fillmode & EVAS_FILTER_FILL_MODE_STRETCH_Y)
{
- rows = 1;
+ rows = 0;
dh = out->cache_entry.h;
dy = 0;
}