devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=44e023c8880fa72f4d8ac7416333057c2b551f58

commit 44e023c8880fa72f4d8ac7416333057c2b551f58
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Feb 26 11:36:27 2014 +0000

    bugfix: Fix Wayland Shm engine destination calculation typo
    
    When rotation is 0, we need to advance the destination pointer in the
    X direction by a Multiple of Bits-Per-Pixel...not an addition.
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/evas/engines/wayland_shm/evas_swapbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_swapbuf.c 
b/src/modules/evas/engines/wayland_shm/evas_swapbuf.c
index fe103d3..56ff4a3 100644
--- a/src/modules/evas/engines/wayland_shm/evas_swapbuf.c
+++ b/src/modules/evas/engines/wayland_shm/evas_swapbuf.c
@@ -328,7 +328,7 @@ evas_swapbuf_update_region_push(Outbuf *ob, RGBA_Image 
*update, int x, int y, in
    if (ob->rotation == 0)
      {
         RECTS_CLIP_TO_RECT(rect.x, rect.y, rect.w, rect.h, 0, 0, ww, hh);
-        dst += (bpl * rect.y) + (rect.x + bpp);
+        dst += (bpl * rect.y) + (rect.x * bpp);
         w -= rx;
      }
    else if (ob->rotation == 180)

-- 


Reply via email to