diff options
| author | 2020-07-21 02:11:28 -0400 | |
|---|---|---|
| committer | 2020-07-21 02:26:49 -0400 | |
| commit | bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99 (patch) | |
| tree | 9aa76e3befb74afa1aa64bc1847dac425c9afedc | |
| parent | surface_params: Replace questionable usages of the comma operator with semico... (diff) | |
| download | yuzu-bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99.tar.gz yuzu-bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99.tar.xz yuzu-bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99.zip | |
surface_params: Remove redundant assignment
This is a redundant assignment that can be removed.
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/texture_cache/surface_params.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/surface_params.cpp b/src/video_core/texture_cache/surface_params.cpp index 2099af647..ebb6b1f56 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 | |||
| 137 | params.pixel_format = lookup_table.GetPixelFormat( | 137 | params.pixel_format = lookup_table.GetPixelFormat( |
| 138 | tic.format, params.srgb_conversion, tic.r_type, tic.g_type, tic.b_type, tic.a_type); | 138 | tic.format, params.srgb_conversion, tic.r_type, tic.g_type, tic.b_type, tic.a_type); |
| 139 | params.type = GetFormatType(params.pixel_format); | 139 | params.type = GetFormatType(params.pixel_format); |
| 140 | params.type = GetFormatType(params.pixel_format); | ||
| 141 | params.target = ImageTypeToSurfaceTarget(entry.type); | 140 | params.target = ImageTypeToSurfaceTarget(entry.type); |
| 142 | // TODO: on 1DBuffer we should use the tic info. | 141 | // TODO: on 1DBuffer we should use the tic info. |
| 143 | if (tic.IsBuffer()) { | 142 | if (tic.IsBuffer()) { |