mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Consider all framebuffers before settling.
This commit is contained in:
parent
0e6f58853a
commit
b5304cce57
1 changed files with 7 additions and 7 deletions
|
@ -1224,14 +1224,14 @@ void TextureCache::SetTexture() {
|
|||
if (cachekey >= cacheKeyStart && cachekey < cacheKeyEnd) {
|
||||
AttachFramebuffer(entry, framebuffer->fb_address, framebuffer, cachekey == cacheKeyStart);
|
||||
}
|
||||
}
|
||||
|
||||
// If we ended up with a framebuffer, attach it - no memory needed.
|
||||
if (entry->framebuffer) {
|
||||
SetTextureFramebuffer(entry);
|
||||
lastBoundTexture = -1;
|
||||
entry->lastFrame = gpuStats.numFlips;
|
||||
return;
|
||||
}
|
||||
// If we ended up with a framebuffer, attach it - no texture decoding needed.
|
||||
if (entry->framebuffer) {
|
||||
SetTextureFramebuffer(entry);
|
||||
lastBoundTexture = -1;
|
||||
entry->lastFrame = gpuStats.numFlips;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!replaceImages) {
|
||||
|
|
Loading…
Add table
Reference in a new issue