d3d9: Clean up some scaling handling.

This commit is contained in:
Unknown W. Brackets committed 2015-12-30 16:54:25 -08:00
1 parent 1072028ef5
commit d18164bd4d
2 files changed
+32 -9

No files matched your search

+1 -1
View File
@@ -1619,7 +1619,7 @@ void TextureCache::SetTexture(bool force) {
LoadTextureLevel(*entry, 0, replaceImages, scaleFactor, dstFmt);
// Mipmapping only enable when texture scaling disable
if (maxLevel > 0 && g_Config.iTexScalingLevel == 1) {
if (maxLevel > 0 && scaleFactor == 1) {
if (gstate_c.Supports(GPU_SUPPORTS_TEXTURE_LOD_CONTROL)) {
if (badMipSizes) {
// WARN_LOG(G3D, "Bad mipmap for texture sized %dx%dx%d - autogenerating", w, h, (int)format);