From 8bed8f922e846037ea4a0b1f1e861ebda94bedc0 Mon Sep 17 00:00:00 2001 From: danyalzia Date: Fri, 11 Oct 2013 19:54:26 +0500 Subject: [PATCH] fix a bug :/ --- GPU/GLES/TextureCache.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index c99711479c..c9ea642d69 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -1440,7 +1440,11 @@ void TextureCache::LoadTextureLevel(TexCacheEntry &entry, int level, bool replac int scaleFactor; //Auto-texture scale upto 5x rendering resolution if (g_Config.iTexScalingLevel == 0) +#ifndef USING_GLES2 scaleFactor = std::min(5, g_Config.iInternalResolution); +#else + scaleFactor = std::min(3, g_Config.iInternalResolution); +#endif else scaleFactor = g_Config.iTexScalingLevel;