1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-21 18:22:33 +01:00

rsx: Fix local slice height calculation

This commit is contained in:
kd-11 2022-01-22 14:00:29 +03:00 committed by kd-11
parent 6ffd38c393
commit 7f216f2581

View File

@ -360,7 +360,7 @@ namespace rsx
const u16 dst_w = static_cast<u16>(std::get<2>(clipped).width);
const u16 src_w = static_cast<u16>(dst_w * attr.bpp) / section_bpp;
const u16 height = static_cast<u16>(dst_h);
const u16 height = std::min(slice_end, section_end) - dst_y;
if (scaling)
{