aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-02-26 11:36:27 +0000
committerChris Michael <cp.michael@samsung.com>2014-02-26 13:15:44 +0000
commit6c418895e2463988e24f4638d3bfe16c0cd5dfae (patch)
tree94fd734b1c9702c1f4592fc75019469d276d8868
parentRelease version 1.9.0 (diff)
downloadefl-6c418895e2463988e24f4638d3bfe16c0cd5dfae.tar.gz
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.michael@samsung.com>
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_swapbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_swapbuf.c b/src/modules/evas/engines/wayland_shm/evas_swapbuf.c
index fe103d3343..56ff4a3c4e 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)