diff options
author | LC <mathew1800@gmail.com> | 2020-10-09 03:10:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 03:10:31 +0200 |
commit | 61b246a3a952e704549f3d3a191fcb7442420fb1 (patch) | |
tree | 22d6d7e5af345c81d404229370efe4c36c835135 /src/video_core/engines/maxwell_dma.cpp | |
parent | Merge pull request #4677 from german77/ShakeFromButton (diff) | |
parent | video_core: Enforce -Wunused-variable and -Wunused-but-set-variable (diff) | |
download | yuzu-61b246a3a952e704549f3d3a191fcb7442420fb1.tar yuzu-61b246a3a952e704549f3d3a191fcb7442420fb1.tar.gz yuzu-61b246a3a952e704549f3d3a191fcb7442420fb1.tar.bz2 yuzu-61b246a3a952e704549f3d3a191fcb7442420fb1.tar.lz yuzu-61b246a3a952e704549f3d3a191fcb7442420fb1.tar.xz yuzu-61b246a3a952e704549f3d3a191fcb7442420fb1.tar.zst yuzu-61b246a3a952e704549f3d3a191fcb7442420fb1.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_dma.cpp')
-rw-r--r-- | src/video_core/engines/maxwell_dma.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp index e88290754..8fa359d0a 100644 --- a/src/video_core/engines/maxwell_dma.cpp +++ b/src/video_core/engines/maxwell_dma.cpp @@ -114,8 +114,6 @@ void MaxwellDMA::CopyBlockLinearToPitch() { const u32 block_depth = src_params.block_size.depth; const size_t src_size = CalculateSize(true, bytes_per_pixel, width, height, depth, block_height, block_depth); - const size_t src_layer_size = - CalculateSize(true, bytes_per_pixel, width, height, 1, block_height, block_depth); if (read_buffer.size() < src_size) { read_buffer.resize(src_size); |