aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/surface_params.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-08-07 09:33:58 -0400
committerGitHub <noreply@github.com>2020-08-07 09:33:58 -0400
commitd17331ebbf5ffe420ab2308994af420859a9f548 (patch)
tree326a31f9793b9e97c9816e466c4133c11dc57423 /src/video_core/texture_cache/surface_params.cpp
parent88b5191eece7e59c15beb9c163dd4fbbed32864f (diff)
parentf3ef6e4fb1c2166345dd2ce694a91375d9bbb9d0 (diff)
Merge pull request #4389 from ogniK5377/redundant-format-type
video_core: Remove redundant pixel format type
Diffstat (limited to 'src/video_core/texture_cache/surface_params.cpp')
-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 9a98f0e981..e614a92dfe 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;