tbm_module: change the tbm_module_bo_xxx signature
[platform/core/uifw/libtbm.git] / src / tbm_surface_internal.c
index 6e6a492..18afbf8 100644 (file)
@@ -876,9 +876,9 @@ _tbm_surface_internal_import_surface_data(tbm_bufmgr bufmgr, int width, int heig
        }
 
        // get memory_types(bo flags)
-       flags = tbm_module_bo_get_memory_types(bufmgr->module, NULL, bo_data_array[0], error);
+       flags = tbm_bo_data_get_memory_types(bo_data_array[0], error);
        if (*error != TBM_ERROR_NONE) {
-               TBM_ERR("tbm_module_bo_get_memory_types failed.error:%s", tbm_error_str(*error));
+               TBM_ERR("tbm_bo_data_get_memory_types failed.error:%s", tbm_error_str(*error));
                goto get_memory_types_fail;
        }
        surf->flags = flags;