forked from enlightenment/efl
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).
This commit is contained in:
parent
58f424a199
commit
a2c3e73a87
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue