diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-28 01:21:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 01:21:17 +0100 |
commit | 881f5ad70f8500035d6e22000d010b58bfbe93b7 (patch) | |
tree | 94984ecf8cfe2819ba262431a4ac0a0cb27f1d96 /src/video_core/engines/fermi_2d.cpp | |
parent | Merge pull request #1814 from lioncash/ptr (diff) | |
parent | Implemented Tile Width Spacing (diff) | |
download | yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar.gz yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar.bz2 yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar.lz yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar.xz yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.tar.zst yuzu-881f5ad70f8500035d6e22000d010b58bfbe93b7.zip |
Diffstat (limited to 'src/video_core/engines/fermi_2d.cpp')
-rw-r--r-- | src/video_core/engines/fermi_2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/fermi_2d.cpp b/src/video_core/engines/fermi_2d.cpp index 8d0700d13..e7721a2be 100644 --- a/src/video_core/engines/fermi_2d.cpp +++ b/src/video_core/engines/fermi_2d.cpp @@ -73,13 +73,13 @@ void Fermi2D::HandleSurfaceCopy() { Texture::CopySwizzledData(regs.src.width, regs.src.height, regs.src.depth, src_bytes_per_pixel, dst_bytes_per_pixel, src_buffer, dst_buffer, true, regs.src.BlockHeight(), - regs.src.BlockDepth()); + regs.src.BlockDepth(), 0); } else { // If the input is linear and the output is tiled, swizzle the input and copy it over. Texture::CopySwizzledData(regs.src.width, regs.src.height, regs.src.depth, src_bytes_per_pixel, dst_bytes_per_pixel, dst_buffer, src_buffer, false, regs.dst.BlockHeight(), - regs.dst.BlockDepth()); + regs.dst.BlockDepth(), 0); } } } |