e_plane: clear info of plane when unset surface 44/134244/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 12 Jun 2017 04:33:57 +0000 (13:33 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Thu, 15 Jun 2017 11:04:19 +0000 (20:04 +0900)
Change-Id: I90ff735bcc281e761da7d7c50bac8c2724113555

src/bin/e_plane.c

index 430f2381395a601c84f16ec0148d2cf20c2322eb..7caa2719d0fc69f372af9ed3a19266a5f8e3d595 100644 (file)
@@ -79,6 +79,8 @@ _e_plane_surface_unset(E_Plane *plane)
    if (plane_trace_debug)
       ELOGF("E_PLANE", "Unset   Plane(%p) zpos(%d)", NULL, NULL, plane, plane->zpos);
 
+   CLEAR(plane->info);
+
    error = tdm_layer_unset_buffer(tlayer);
    if (error != TDM_ERROR_NONE)
      {