From dc5e7d5e71fbbc67d0ace8a1d6740c731dba8507 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 14 Jun 2013 00:46:49 -0700 Subject: [PATCH] Still need to delete textures when scaling on. Duh. Fixes #2255. --- GPU/GLES/TextureCache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index 992a0bb9d..180c2530b 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -1031,10 +1031,10 @@ void TextureCache::SetTexture() { gpuStats.numTextureInvalidations++; INFO_LOG(G3D, "Texture different or overwritten, reloading at %08x", texaddr); if (doDelete) { - if (entry->maxLevel == maxLevel && entry->dim == (gstate.texsize[0] & 0xF0F) && entry->format == format) { + if (entry->maxLevel == maxLevel && entry->dim == (gstate.texsize[0] & 0xF0F) && entry->format == format && g_Config.iTexScalingLevel <= 1) { // Actually, if size and number of levels match, let's try to avoid deleting and recreating. // Instead, let's use glTexSubImage to replace the images. - replaceImages = g_Config.iTexScalingLevel <= 1; + replaceImages = true; } else { if (entry->texture == lastBoundTexture) { lastBoundTexture = -1;