TexCache: Correct detaching textures.
This commit is contained in:
parent
8a9b4ab40a
commit
a817a60382
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ bool TextureCacheCommon::AttachFramebufferToEntry(TexCacheEntry *entry, u32 texA
|
|||
if (!anyIgnores) {
|
||||
// If not set, always detach. They may affect inexact matches.
|
||||
for (AttachCandidate &candidate : detaches) {
|
||||
DetachFramebuffer(entry, entry->addr, entry->framebuffer, channel);
|
||||
DetachFramebuffer(entry, entry->addr, candidate.fb, channel);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue