diff options
author | bunnei <bunneidev@gmail.com> | 2020-08-07 15:33:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 15:33:58 +0200 |
commit | 5429ea0e6903ce7a8f7d126627c802e26d76fc08 (patch) | |
tree | 326a31f9793b9e97c9816e466c4133c11dc57423 /src/video_core/texture_cache | |
parent | Merge pull request #4464 from lioncash/format-pass (diff) | |
parent | video_core: Remove redundant pixel format type (diff) | |
download | yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.gz yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.bz2 yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.lz yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.xz yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.zst yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.zip |
Diffstat (limited to 'src/video_core/texture_cache')
-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 9a98f0e98..e614a92df 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; |