Explorar el Código

surface_params: Remove redundant assignment

This is a redundant assignment that can be removed.
Lioncash hace 6 años
padre
commit
bd9545a3a8
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/video_core/texture_cache/surface_params.cpp

+ 0 - 1
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()) {