summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-21 08:11:28 +0200
committerLioncash <mathew1800@gmail.com>2020-07-21 08:26:49 +0200
commitbd9545a3a8a95c0aaf0686eb0ac734fbaba29c99 (patch)
tree9aa76e3befb74afa1aa64bc1847dac425c9afedc /src/video_core/texture_cache
parentsurface_params: Replace questionable usages of the comma operator with semicolons (diff)
downloadyuzu-bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99.tar
yuzu-bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99.tar.gz
yuzu-bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99.tar.bz2
yuzu-bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99.tar.lz
yuzu-bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99.tar.xz
yuzu-bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99.tar.zst
yuzu-bd9545a3a8a95c0aaf0686eb0ac734fbaba29c99.zip
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/surface_params.cpp1
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
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()) {