From 6fed4e268390e1a4bf1261816ebcbb2a2ed7ec7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Wed, 11 Dec 2013 16:59:20 +0100 Subject: [PATCH] Revert "Exact : should be applied to all rendering mode" This reverts commit f170d5ef7bc8f17a394aaa21a3ddf7dc38260ebf. --- GPU/GLES/TextureCache.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index f9d30be914..5e7efa505b 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -196,6 +196,10 @@ inline void AttachFramebufferInvalid(T &entry, VirtualFramebuffer *framebuffer) inline void TextureCache::AttachFramebuffer(TexCacheEntry *entry, u32 address, VirtualFramebuffer *framebuffer, bool exactMatch) { // If they match exactly, it's non-CLUT and from the top left. if (exactMatch) { + // Apply to non-buffered and buffered mode only. + if (!(g_Config.iRenderingMode == FB_NON_BUFFERED_MODE || g_Config.iRenderingMode == FB_BUFFERED_MODE)) + return; + DEBUG_LOG(G3D, "Render to texture detected at %08x!", address); if (!entry->framebuffer || entry->invalidHint == -1) { if (entry->format != framebuffer->format) {