diff options
| author | bunnei <bunneidev@gmail.com> | 2018-11-27 19:21:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-27 19:21:17 -0500 |
| commit | 881f5ad70f8500035d6e22000d010b58bfbe93b7 (patch) | |
| tree | 94984ecf8cfe2819ba262431a4ac0a0cb27f1d96 /src/video_core/engines | |
| parent | adb882bf909a1acfaa9d55a6a9fea64b428c9510 (diff) | |
| parent | ddfbe0b58d856ae4a62683943cb35c2ae8f13b95 (diff) | |
Merge pull request #1735 from FernandoS27/tex-spacing
Texture decoder: Implemented Tile Width Spacing
Diffstat (limited to 'src/video_core/engines')
| -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); } } } |
