Remove the Mipmap setting. One step forward for #8171

This commit is contained in:
Henrik Rydgård committed 2017-05-26 10:21:20 +02:00
1 parent 280a41b9a8
commit 1b05a54800
10 files changed
+13 -40

No files matched your search

+3 -5
View File
@@ -515,7 +515,7 @@ void TextureCacheVulkan::BuildTexture(TexCacheEntry *const entry, bool replaceIm
}
// In addition, simply don't load more than level 0 if g_Config.bMipMap is false.
if (!g_Config.bMipMap || badMipSizes) {
if (badMipSizes) {
maxLevel = 0;
}
@@ -538,10 +538,8 @@ void TextureCacheVulkan::BuildTexture(TexCacheEntry *const entry, bool replaceIm
// We're replacing, so we won't scale.
scaleFactor = 1;
entry->status |= TexCacheEntry::STATUS_IS_SCALED;
if (g_Config.bMipMap) {
maxLevel = replaced.MaxLevel();
badMipSizes = false;
}
maxLevel = replaced.MaxLevel();
badMipSizes = false;
}
// Don't scale the PPGe texture.