mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Fix incorrect StretchRect() in double buffer copy
This commit is contained in:
parent
da9e3fdc32
commit
612c24e0c0
|
@ -2590,7 +2590,7 @@ bool GSTextureCache::PreloadTarget(GIFRegTEX0 TEX0, const GSVector2i& size, cons
|
|||
if (!t->m_valid_rgb || !(t->m_valid_alpha_high || t->m_valid_alpha_low) || t->m_scale != dst->m_scale)
|
||||
{
|
||||
const GSVector4 src_rect = GSVector4(0, 0, copy_width, copy_height) / (GSVector4(t->m_texture->GetSize()).xyxy());
|
||||
const GSVector4 dst_rect = GSVector4(0, dst_offset, copy_width, copy_height);
|
||||
const GSVector4 dst_rect = GSVector4(0, dst_offset, copy_width, dst_offset + copy_height);
|
||||
g_gs_device->StretchRect(t->m_texture, src_rect, dst->m_texture, dst_rect, t->m_valid_rgb, t->m_valid_rgb, t->m_valid_rgb, t->m_valid_alpha_high || t->m_valid_alpha_low);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue