mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 18:50:32 +01:00
GS/HW: Fix ResizeTexture not getting the proper new_drect values.
This commit is contained in:
1 parent
213a89ab72
commit
a4de6e45db
1 file changed
+2
-1
@@ -3260,7 +3260,8 @@ void GSRendererHW::Draw()
|
||||
|
||||
new_size.y += new_offset;
|
||||
|
||||
rt->ResizeTexture(new_size.x, new_size.y, true, true, GSVector4i::loadh(new_size * rt->m_scale).loadl(GSVector2i(0, new_offset * rt->m_scale)));
|
||||
const GSVector4i new_drect = GSVector4i(0, new_offset * rt->m_scale, new_size.x * rt->m_scale, new_size.y * rt->m_scale);
|
||||
rt->ResizeTexture(new_size.x, new_size.y, true, true, new_drect);
|
||||
|
||||
if (src && src->m_from_target && src->m_from_target == rt && src->m_target_direct)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user