fix a bug :/

This commit is contained in:
danyalzia 2013-10-11 19:54:26 +05:00
parent 71ee2a01f3
commit 8bed8f922e

View File

@ -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;