Skip to content

Commit

Permalink
Merge pull request #3640 from raven02/patch-12
Browse files Browse the repository at this point in the history
Fix issue #2758 Tactics Ogre: Map flickering
  • Loading branch information
hrydgard committed Sep 5, 2013
2 parents f5375b7 + 7f5b873 commit 20f6e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/GLES/TextureCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 20f6e4b

Please sign in to comment.