mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 10:40:39 +01:00
GS-TC: Preserve scale when resizing target for display.
This commit is contained in:
1 parent
ca1b35a351
commit
95c91b4dc6
1 file changed
+2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user