summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/fermi_2d.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-29 02:40:03 +0200
committerbunnei <bunneidev@gmail.com>2018-04-29 02:40:03 +0200
commitf87ea8fa8b5c28f0af2fe1e7ccffa52c43d5a099 (patch)
treef087a390c3c99076216bb42065690dc19d01ac41 /src/video_core/engines/fermi_2d.cpp
parentMerge pull request #414 from lioncash/cruft (diff)
downloadyuzu-f87ea8fa8b5c28f0af2fe1e7ccffa52c43d5a099.tar
yuzu-f87ea8fa8b5c28f0af2fe1e7ccffa52c43d5a099.tar.gz
yuzu-f87ea8fa8b5c28f0af2fe1e7ccffa52c43d5a099.tar.bz2
yuzu-f87ea8fa8b5c28f0af2fe1e7ccffa52c43d5a099.tar.lz
yuzu-f87ea8fa8b5c28f0af2fe1e7ccffa52c43d5a099.tar.xz
yuzu-f87ea8fa8b5c28f0af2fe1e7ccffa52c43d5a099.tar.zst
yuzu-f87ea8fa8b5c28f0af2fe1e7ccffa52c43d5a099.zip
Diffstat (limited to 'src/video_core/engines/fermi_2d.cpp')
-rw-r--r--src/video_core/engines/fermi_2d.cpp4
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 9019f2504..6b9382f06 100644
--- a/src/video_core/engines/fermi_2d.cpp
+++ b/src/video_core/engines/fermi_2d.cpp
@@ -59,12 +59,12 @@ void Fermi2D::HandleSurfaceCopy() {
// If the input is tiled and the output is linear, deswizzle the input and copy it over.
Texture::CopySwizzledData(regs.src.width, regs.src.height, src_bytes_per_pixel,
dst_bytes_per_pixel, src_buffer, dst_buffer, true,
- regs.src.block_height);
+ regs.src.BlockHeight());
} 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, src_bytes_per_pixel,
dst_bytes_per_pixel, dst_buffer, src_buffer, false,
- regs.dst.block_height);
+ regs.dst.BlockHeight());
}
}