e_plane: fix syntax error 47/95147/2
authorBoram Park <boram1288.park@samsung.com>
Wed, 2 Nov 2016 10:07:49 +0000 (19:07 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Thu, 3 Nov 2016 01:56:22 +0000 (18:56 -0700)
Change-Id: I3c947dbda83b796efaf29f7998f3db75193aa1ea

src/bin/e_plane.c

index 9191c11f1a1db95b418cd5d475e97f3320494527..348845e43971643333b1bbd44b0e1899c2789ba9 100644 (file)
@@ -173,7 +173,7 @@ _e_plane_surface_set(E_Plane *plane, tbm_surface_h tsurface)
 
    if (ec)
      {
-        if (plane->info.src_config.size.h != surf_info.planes[0].stride ||
+        if (plane->info.src_config.size.h != aligned_width ||
             plane->info.src_config.size.v != surf_info.height ||
             plane->info.src_config.pos.x != 0 ||
             plane->info.src_config.pos.y != 0 ||
@@ -207,7 +207,7 @@ _e_plane_surface_set(E_Plane *plane, tbm_surface_h tsurface)
      }
    else
      {
-        if (plane->info.src_config.size.h != surf_info.planes[0].stride ||
+        if (plane->info.src_config.size.h != aligned_width ||
             plane->info.src_config.size.v != surf_info.height ||
             plane->info.src_config.pos.x != 0 ||
             plane->info.src_config.pos.y != 0 ||