From f5af6149a7035fde65b0d9184b53b64b67da5680 Mon Sep 17 00:00:00 2001 From: Romaric Jodin Date: Fri, 15 Sep 2023 10:01:59 +0200 Subject: [PATCH] remove variable defined twice --- src/api.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api.cpp b/src/api.cpp index a57a808b..9bcbbf00 100644 --- a/src/api.cpp +++ b/src/api.cpp @@ -4853,7 +4853,6 @@ cl_int CLVK_API_CALL clGetSupportedImageFormats(cl_context context, } if ((features & required_format_feature_flags) == required_format_feature_flags) { - const cl_image_format& clfmt = clvkfmt.first; VkComponentMapping components_sampled, components_storage; get_component_mappings_for_channel_order(clfmt.image_channel_order, &components_sampled,