Merge pull request #3640 from raven02/patch-12

Fix issue #2758 Tactics Ogre: Map flickering
This commit is contained in:
Henrik Rydgård committed 2013-09-05 01:22:02 -07:00
commit 20f6e4b0de
1 file changed
+1 -1
+1 -1
View File
@@ -195,7 +195,7 @@ inline void TextureCache::AttachFramebuffer(TexCacheEntry *entry, u32 address, V
// If they match exactly, it's non-CLUT and from the top left.
if (exactMatch) {
DEBUG_LOG(HLE, "Render to texture detected at %08x!", address);
if (!entry->framebuffer || entry->invalidHint == -1) {
if (!entry->framebuffer) {
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.