[evas_swbackend_tbm] apply tbm stride 11/93811/2
authorJoogab Yun <joogab.yun@samsung.com>
Wed, 26 Oct 2016 05:12:14 +0000 (14:12 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Fri, 28 Oct 2016 06:05:02 +0000 (23:05 -0700)
Change-Id: Iffcc0bbed40ef509b3f55bcf7f73f76bc87f9423

src/modules/evas/engines/software_tbm/evas_outbuf.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index efaf2aa..3bd22e8
@@ -394,7 +394,7 @@ _evas_software_tbm_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int
                          ERR("Could not get surface data");
                          return NULL;
                       }
-                   bw = sym_tbm_surface_get_width(ob->surface);
+                   bw = info.planes[0].stride / 4;
                    bh = sym_tbm_surface_get_height(ob->surface);
                 }
              else {