From bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 21 Jul 2020 02:11:28 -0400 Subject: [PATCH] surface_params: Remove redundant assignment This is a redundant assignment that can be removed. --- src/video_core/texture_cache/surface_params.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/video_core/texture_cache/surface_params.cpp b/src/video_core/texture_cache/surface_params.cpp index 2099af6470..ebb6b1f565 100644 --- a/src/video_core/texture_cache/surface_params.cpp +++ b/src/video_core/texture_cache/surface_params.cpp @@ -137,7 +137,6 @@ SurfaceParams SurfaceParams::CreateForImage(const FormatLookupTable& lookup_tabl params.pixel_format = lookup_table.GetPixelFormat( tic.format, params.srgb_conversion, tic.r_type, tic.g_type, tic.b_type, tic.a_type); params.type = GetFormatType(params.pixel_format); - params.type = GetFormatType(params.pixel_format); params.target = ImageTypeToSurfaceTarget(entry.type); // TODO: on 1DBuffer we should use the tic info. if (tic.IsBuffer()) {