mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 14:58:32 +00:00
do only invalid hashes instead of all textures on loading
this is a hack, but only the gpu thread is allowed to call ogl commands suggestion: create an unused texture cache, so we can move all textures there
This commit is contained in:
parent
2df0c31d13
commit
ffddfd8662
3 changed files with 14 additions and 1 deletions
|
@ -203,7 +203,7 @@ void VideoBackendHardware::DoState(PointerWrap& p)
|
|||
|
||||
// Clear all caches that touch RAM
|
||||
// (? these don't appear to touch any emulation state that gets saved. moved to on load only.)
|
||||
TextureCache::Invalidate();
|
||||
TextureCache::InvalidateHashes();
|
||||
VertexLoaderManager::MarkAllDirty();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue