modify the condition to handle error
[platform/core/multimedia/libmm-evas-renderer.git] / src / mm_evas_renderer.c
index 1e65684..ae15ca6 100755 (executable)
@@ -1038,7 +1038,7 @@ static int _mm_evas_renderer_make_flush_buffer(mm_evas_info *evas_info)
                goto ERROR;
        }
 
-       if (src_info.size != dst_info.size) {
+       if (src_info.size > dst_info.size) {
                LOGE("src size(%d), dst size(%d)!!!", src_info.size, dst_info.size);
                if (tbm_surface_unmap(src_tbm_surf))
                        LOGW("[src] unmap is failed");