GPU/TextureCache: Fix tracking getting enabled without TC

wip4
Stenzek 12 months ago
parent cf0c2ea1e6
commit 4b71428846
No known key found for this signature in database

@ -544,6 +544,9 @@ ALIGN_TO_CACHE_LINE GPUTextureCacheState s_state;
bool GPUTextureCache::ShouldTrackVRAMWrites() bool GPUTextureCache::ShouldTrackVRAMWrites()
{ {
if (!g_settings.gpu_texture_cache)
return false;
#ifdef ALWAYS_TRACK_VRAM_WRITES #ifdef ALWAYS_TRACK_VRAM_WRITES
return true; return true;
#else #else

Loading…
Cancel
Save