mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
d3d9: Clean up some scaling handling.
This commit is contained in:
1 parent
1072028ef5
commit
d18164bd4d
2 files changed
+32
-9
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user