summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-07-21 04:44:32 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-07-21 04:44:32 +0200
commitdd4a02d15cd0f617d2788e1e80c9ca3733256f2d (patch)
tree961aa6fede3614db22e6c5dfe11f328abfb92b2e /src
parentMerge pull request #4168 from ReinUsesLisp/global-memory (diff)
downloadyuzu-dd4a02d15cd0f617d2788e1e80c9ca3733256f2d.tar
yuzu-dd4a02d15cd0f617d2788e1e80c9ca3733256f2d.tar.gz
yuzu-dd4a02d15cd0f617d2788e1e80c9ca3733256f2d.tar.bz2
yuzu-dd4a02d15cd0f617d2788e1e80c9ca3733256f2d.tar.lz
yuzu-dd4a02d15cd0f617d2788e1e80c9ca3733256f2d.tar.xz
yuzu-dd4a02d15cd0f617d2788e1e80c9ca3733256f2d.tar.zst
yuzu-dd4a02d15cd0f617d2788e1e80c9ca3733256f2d.zip
Diffstat (limited to 'src')
-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 921562c1f..0ecf42368 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;