Add ShaderDepalMode enum, use in shader ID. Replaces smoothed bit.

This commit is contained in:
Henrik Rydgård committed 2022-09-11 14:40:01 +02:00
1 parent 9bd8b11bf8
commit 694dbe1271
11 files changed
+53 -38

No files matched your search

+1 -1
View File
@@ -230,7 +230,7 @@ void TextureCacheGLES::BindTexture(TexCacheEntry *entry) {
int maxLevel = (entry->status & TexCacheEntry::STATUS_NO_MIPS) ? 0 : entry->maxLevel;
SamplerCacheKey samplerKey = GetSamplingParams(maxLevel, entry);
ApplySamplingParams(samplerKey);
gstate_c.SetUseShaderDepal(false, false);
gstate_c.SetUseShaderDepal(ShaderDepalMode::OFF);
}
void TextureCacheGLES::Unbind() {