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:
parent
6ffd38c393
commit
7f216f2581
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user