diff options
| author | 2020-08-07 09:33:58 -0400 | |
|---|---|---|
| committer | 2020-08-07 09:33:58 -0400 | |
| commit | 5429ea0e6903ce7a8f7d126627c802e26d76fc08 (patch) | |
| tree | 326a31f9793b9e97c9816e466c4133c11dc57423 | |
| parent | Merge pull request #4464 from lioncash/format-pass (diff) | |
| parent | video_core: Remove redundant pixel format type (diff) | |
| download | yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.gz yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.xz yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.zip | |
Merge pull request #4389 from ogniK5377/redundant-format-type
video_core: Remove redundant pixel format type
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 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 | |||
| 96 | } | 96 | } |
| 97 | params.type = GetFormatType(params.pixel_format); | 97 | params.type = GetFormatType(params.pixel_format); |
| 98 | } | 98 | } |
| 99 | params.type = GetFormatType(params.pixel_format); | ||
| 100 | // TODO: on 1DBuffer we should use the tic info. | 99 | // TODO: on 1DBuffer we should use the tic info. |
| 101 | if (tic.IsBuffer()) { | 100 | if (tic.IsBuffer()) { |
| 102 | params.target = SurfaceTarget::TextureBuffer; | 101 | params.target = SurfaceTarget::TextureBuffer; |