mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-26 23:50:31 +00:00
GPU/TextureCache: Fix tracking getting enabled without TC
Some checks failed
Automated Builds / 💻 Windows (push) Waiting to run
Automated Builds / 🐧 Linux AppImage (push) Waiting to run
Automated Builds / 📦 Linux Flatpak (push) Waiting to run
Automated Builds / 🍎 MacOS (push) Waiting to run
Automated Builds / 📤 Create Release (push) Blocked by required conditions
GameDB Lint / gamedb-lint (push) Has been cancelled
Some checks failed
Automated Builds / 💻 Windows (push) Waiting to run
Automated Builds / 🐧 Linux AppImage (push) Waiting to run
Automated Builds / 📦 Linux Flatpak (push) Waiting to run
Automated Builds / 🍎 MacOS (push) Waiting to run
Automated Builds / 📤 Create Release (push) Blocked by required conditions
GameDB Lint / gamedb-lint (push) Has been cancelled
This commit is contained in:
parent
cf0c2ea1e6
commit
4b71428846
@ -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…
Reference in New Issue
Block a user