Revert part of #3108 to avoid rendering garbage memory

This commit is contained in:
raven02 2013-08-19 21:39:56 +08:00
parent 12ee62471f
commit 9e10239c9b

View file

@ -195,8 +195,7 @@ inline void TextureCache::AttachFramebuffer(TexCacheEntry *entry, u32 address, V
if (entry->format != framebuffer->format) {
WARN_LOG_REPORT_ONCE(diffFormat1, HLE, "Render to texture with different formats %d != %d", entry->format, framebuffer->format);
// If it already has one, let's hope that one is correct.
// Try to not bind FB now as it seems to be attached some strange stuff on top of the original FB.
//AttachFramebufferInvalid(entry, framebuffer);
AttachFramebufferInvalid(entry, framebuffer);
} else {
AttachFramebufferValid(entry, framebuffer);
}