Change-Id: Ice44fc06d3db487aa29177662e0331877dbd8a0f
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
%bcond_with wayland
Name: libtbm
-Version: 1.1.10
+Version: 1.1.11
Release: 1
License: MIT
Summary: The library for Tizen Buffer Manager
bo_size = 0;
for (j = 0; j < surf->info.num_planes; j++)
{
- if (surf->planes_bo_idx[i] == i)
- bo_size += surf->info.planes[i].size;
+ if (surf->planes_bo_idx[j] == i)
+ bo_size += surf->info.planes[j].size;
}
-
surf->bos[i] = tbm_bo_alloc (mgr, bo_size, flags);
if (!surf->bos[i]) {
for (j = 0; j < i; j++)