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

This commit is contained in:
refractionpcsx2 2022-05-28 21:56:13 +01:00
parent ca1b35a351
commit 95c91b4dc6
1 changed files with 2 additions and 0 deletions

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);