mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
The UNKNOWN(3) mip selection mode seems to act like CONST. Keep that working.
This commit is contained in:
parent
971995fa3d
commit
7ab6956828
2 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,7 @@ void TextureCacheCommon::UpdateSamplingParams(TexCacheEntry &entry, SamplerCache
|
|||
break;
|
||||
}
|
||||
case GE_TEXLEVEL_MODE_CONST:
|
||||
case GE_TEXLEVEL_MODE_UNKNOWN:
|
||||
key.maxLevel = (int)(lodBias * 256.0f);
|
||||
key.minLevel = (int)(lodBias * 256.0f);
|
||||
key.lodBias = 0;
|
||||
|
|
|
@ -417,6 +417,7 @@ enum GETexLevelMode {
|
|||
GE_TEXLEVEL_MODE_AUTO = 0,
|
||||
GE_TEXLEVEL_MODE_CONST = 1,
|
||||
GE_TEXLEVEL_MODE_SLOPE = 2,
|
||||
GE_TEXLEVEL_MODE_UNKNOWN = 3, // Behaves like CONST.
|
||||
};
|
||||
|
||||
enum GEMaterialColorSetting
|
||||
|
|
Loading…
Add table
Reference in a new issue