From 797027779eb5fb3d2652a50fa0811fe84a30d9fa Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 27 Jul 2013 21:04:53 -0700 Subject: [PATCH] Log when render to texture formats differ. --- GPU/GLES/TextureCache.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index 5cf0a64efb..b22abf014e 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -185,6 +185,9 @@ void TextureCache::NotifyFramebuffer(u32 address, VirtualFramebuffer *framebuffe if (it->first == cacheKey) { DEBUG_LOG(HLE, "Render to texture detected at %08x!", address); if (!entry->framebuffer) { + if (entry->format != framebuffer->format) { + WARN_LOG_REPORT(HLE, "Render to texture with different formats %d != %d", entry->format, framebuffer->format); + } entry->framebuffer = framebuffer; // TODO: Delete the original non-fbo texture too. } else {