add return value 80/253980/2
authorSooChan Lim <sc1.lim@samsung.com>
Sun, 7 Feb 2021 06:15:48 +0000 (15:15 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 22 Feb 2021 03:46:00 +0000 (03:46 +0000)
Change-Id: I17763b2c40ba3914231ea5135cfad57707a4d3d9

src/tbm_surface_internal.c

index 0e6f1f5f8c3461f57c399b6c58009e1d74fb7711..433dcc425524ede3d50d3e495f59a463be74cd1a 100644 (file)
@@ -635,6 +635,7 @@ tbm_surface_internal_query_supported_formats(uint32_t **formats,
                        goto fail;
                }
                /* LCOV_EXCL_STOP */
+               ret = 1;
        } else if (bufmgr->backend_module_data) {
                if (!bufmgr->bufmgr_func->bufmgr_get_supported_formats) {
                        _tbm_set_last_result(TBM_ERROR_NOT_SUPPORTED);