mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 01:59:34 +01:00
Centralize DeleteTexture
This commit is contained in:
1 parent
dbafc6ef95
commit
665ffe34ab
10 files changed
+19
-59
No files matched your search
@@ -397,10 +397,6 @@ void TextureCacheVulkan::UpdateCurrentClut(GEPaletteFormat clutFormat, u32 clutB
|
||||
clutLastFormat_ = gstate.clutformat;
|
||||
}
|
||||
|
||||
inline u32 TextureCacheVulkan::GetCurrentClutHash() {
|
||||
return clutHash_;
|
||||
}
|
||||
|
||||
void TextureCacheVulkan::Unbind() {
|
||||
}
|
||||
|
||||
@@ -639,7 +635,7 @@ void TextureCacheVulkan::SetTexture() {
|
||||
// We update here because the clut format can be specified after the load.
|
||||
UpdateCurrentClut(gstate.getClutPaletteFormat(), gstate.getClutIndexStartPos(), gstate.isClutIndexSimple());
|
||||
}
|
||||
cluthash = GetCurrentClutHash() ^ gstate.clutformat;
|
||||
cluthash = clutHash_ ^ gstate.clutformat;
|
||||
} else {
|
||||
cluthash = 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user