From 7f5b87361eeeb917383398b8b167e9ec03304a6d Mon Sep 17 00:00:00 2001 From: raven02 Date: Thu, 5 Sep 2013 15:07:48 +0800 Subject: [PATCH] Fix issue #2758 Tactics Ogre: Map flickering --- GPU/GLES/TextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index 8ff6605b8b..aa0fdbeffc 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -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.