tbm_bo: remove tbm_bo_alloc_with_tiled_format
[platform/core/uifw/libtbm.git] / src / tbm_surface_internal.c
index 5f8ebcb..d4fab86 100644 (file)
@@ -725,12 +725,9 @@ _tbm_surface_internal_create_surface(tbm_bufmgr bufmgr, int width, int height, i
                                /* LCOV_EXCL_STOP */
                        } else if (bufmgr->bufmgr_func->bufmgr_alloc_bo_with_tiled_format && (flags & TBM_BO_TILED)) {
                                /* LCOV_EXCL_START */
-                               surf->bos[i] = tbm_bo_alloc_with_tiled_format(bufmgr, width, height, surf->info.bpp/8, format, flags, i, error);
-                               if (!surf->bos[i]) {
-                                       TBM_ERR("fail to tbm_bo_alloc_with_tiled_format idx:%d\n", i);
-                                       *error = tbm_get_last_error();
-                                       goto alloc_bo_fail;
-                               }
+                               TBM_ERR("NOT SUPPORTED. idx:%d", i);
+                               *error = TBM_ERROR_NOT_SUPPORTED;
+                               goto alloc_bo_fail;
                                /* LCOV_EXCL_STOP */
                        } else {
                                surf->bos[i] = tbm_bo_alloc(bufmgr, bo_size, flags);