gs-hw-tc: set scale in missing create source path.

This commit is contained in:
iMineLink 2022-05-22 12:14:49 +02:00 committed by lightningterror
parent 73eea20fcc
commit 110b7df4d5
1 changed files with 1 additions and 0 deletions

View File

@ -1290,6 +1290,7 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
src->m_from_target = &dst->m_texture; src->m_from_target = &dst->m_texture;
src->m_from_target_TEX0 = dst->m_TEX0; src->m_from_target_TEX0 = dst->m_TEX0;
src->m_end_block = dst->m_end_block; src->m_end_block = dst->m_end_block;
src->m_texture->SetScale(dst->m_texture->GetScale());
// Even if we sample the framebuffer directly we might need the palette // Even if we sample the framebuffer directly we might need the palette
// to handle the format conversion on GPU // to handle the format conversion on GPU