Skip to content

Commit 0e7432c

Browse files
GS/TC: Unset m_from_target if it's also a source in CombineAlignedInsideTargets.
Issue is it was erasing the source which doesn't get passed back to the main draw function, so we should be setting m_from_target to null because it is linked.
1 parent f47fbda commit 0e7432c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pcsx2/GS/Renderers/HW/GSTextureCache.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2310,6 +2310,7 @@ void GSTextureCache::CombineAlignedInsideTargets(Target* target, GSTextureCache:
23102310
if (src && src->m_from_target == t)
23112311
{
23122312
src->m_texture = t->m_texture;
2313+
src->m_from_target = nullptr;
23132314
src->m_shared_texture = false;
23142315
src->m_target_direct = false;
23152316
t->m_texture = nullptr;

0 commit comments

Comments
 (0)