jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=558e7827f1ebd73e6095e0131e2b835f55d5bc29
commit 558e7827f1ebd73e6095e0131e2b835f55d5bc29 Author: Jean-Philippe Andre <jp.an...@samsung.com> Date: Thu Apr 17 14:59:52 2014 +0900 Evas gl: Fix texture border drawing Since the introduction of color spaces other than RGBA8888 in the GL engines, there was an issue with border images scaled in GL. The left and right edges were simply not properly copied. This would then show artifacts when scaling very thin images (typically 2px wide). --- src/modules/evas/engines/gl_common/evas_gl_texture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/evas/engines/gl_common/evas_gl_texture.c b/src/modules/evas/engines/gl_common/evas_gl_texture.c index 66abc1e..2ff7be8 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_texture.c +++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c @@ -1010,7 +1010,7 @@ evas_gl_common_texture_upload(Evas_GL_Texture *tex, RGBA_Image *im, unsigned int for (i = 0; i < (int)im->cache_entry.h; i++) { memcpy(pd, ps, bytes_count); - pd++; + pd += bytes_count; ps += im->cache_entry.w * bytes_count; } // |xxx @@ -1025,7 +1025,7 @@ evas_gl_common_texture_upload(Evas_GL_Texture *tex, RGBA_Image *im, unsigned int for (i = 0; i < (int)im->cache_entry.h; i++) { memcpy(pd, ps, bytes_count); - pd++; + pd += bytes_count; ps += im->cache_entry.w * bytes_count; } // xxx| --