Skip to content

Commit

Permalink
GPU/TextureCache: Fix tracking getting enabled without TC
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Nov 18, 2024
1 parent cf0c2ea commit 4b71428
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/gpu_hw_texture_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,9 @@ ALIGN_TO_CACHE_LINE GPUTextureCacheState s_state;

bool GPUTextureCache::ShouldTrackVRAMWrites()
{
if (!g_settings.gpu_texture_cache)
return false;

#ifdef ALWAYS_TRACK_VRAM_WRITES
return true;
#else
Expand Down

0 comments on commit 4b71428

Please sign in to comment.