diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-11-16 18:01:54 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-11-26 14:05:12 +0100 |
commit | ddfbe0b58d856ae4a62683943cb35c2ae8f13b95 (patch) | |
tree | 51210c339a0aabe9e86eb3b830262ffa53eb2b57 /src/video_core/engines/fermi_2d.cpp | |
parent | Merge pull request #1763 from ReinUsesLisp/bfi (diff) | |
download | yuzu-ddfbe0b58d856ae4a62683943cb35c2ae8f13b95.tar yuzu-ddfbe0b58d856ae4a62683943cb35c2ae8f13b95.tar.gz yuzu-ddfbe0b58d856ae4a62683943cb35c2ae8f13b95.tar.bz2 yuzu-ddfbe0b58d856ae4a62683943cb35c2ae8f13b95.tar.lz yuzu-ddfbe0b58d856ae4a62683943cb35c2ae8f13b95.tar.xz yuzu-ddfbe0b58d856ae4a62683943cb35c2ae8f13b95.tar.zst yuzu-ddfbe0b58d856ae4a62683943cb35c2ae8f13b95.zip |
Diffstat (limited to '')
-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 74e44c7fe..ee8ebf678 100644 --- a/src/video_core/engines/fermi_2d.cpp +++ b/src/video_core/engines/fermi_2d.cpp @@ -68,13 +68,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); } } } |