VERY experimental Nintendo Switch 2 emulator
C++
video_core: Remove redundant pixel format type
David Marcecf3ef6e4fb1c2
diff --git a/src/video_core/texture_cache/surface_params.cpp b/src/video_core/texture_cache/surface_params.cppindex 921562c1fd..0ecf42368a 100644--- a/src/video_core/texture_cache/surface_params.cpp+++ b/src/video_core/texture_cache/surface_params.cpp@@ -96,7 +96,6 @@ SurfaceParams SurfaceParams::CreateForTexture(const FormatLookupTable& lookup_ta}params.type = GetFormatType(params.pixel_format);}- params.type = GetFormatType(params.pixel_format);// TODO: on 1DBuffer we should use the tic info.if (tic.IsBuffer()) {params.target = SurfaceTarget::TextureBuffer;