GS-TC: Preserve scale when resizing target for display.

This commit is contained in:
refractionpcsx2 committed 2022-05-28 23:59:31 +01:00
1 parent ca1b35a351
commit 95c91b4dc6
1 file changed
+2
+2
View File
@@ -664,6 +664,8 @@ void GSTextureCache::ScaleTargetForDisplay(Target* t, const GIFRegTEX0& dispfb,
// Memory allocation failure, do our best to hobble along.
return;
}
// Keep the scale of the original texture.
new_texture->SetScale(old_texture->GetScale());
GL_CACHE("Expanding target for display output, target height %d @ 0x%X, display %d @ 0x%X offset %d needed %d",
t->m_texture->GetHeight(), t->m_TEX0.TBP0, real_h, dispfb.TBP0, y_offset, needed_height);