mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Minor optimization/cleanup
This commit is contained in:
1 parent
4ec1e2a175
commit
cdb830f390
5 files changed
+11
-22
No files matched your search
@@ -404,8 +404,6 @@ void TextureCacheVulkan::BindTexture(TexCacheEntry *entry) {
|
||||
return;
|
||||
}
|
||||
|
||||
entry->vkTex->Touch();
|
||||
|
||||
int maxLevel = (entry->status & TexCacheEntry::STATUS_NO_MIPS) ? 0 : entry->maxLevel;
|
||||
SamplerCacheKey samplerKey = GetSamplingParams(maxLevel, entry);
|
||||
curSampler_ = samplerCache_.GetOrCreateSampler(samplerKey);
|
||||
|
||||
Reference in new issue
Block a user