Refactor overlays into an enum

This commit is contained in:
Henrik Rydgård committed 2023-08-02 13:03:04 +02:00
1 parent 7538807ee7
commit fc6879674e
13 files changed
+95 -77

No files matched your search

+1 -1
View File
@@ -142,7 +142,7 @@ void TextureCacheCommon::StartFrame() {
timesInvalidatedAllThisFrame_ = 0;
replacementTimeThisFrame_ = 0.0;
if (g_Config.bShowDebugStats) {
if (g_Config.iDebugOverlay == DebugOverlay::DEBUG_STATS) {
gpuStats.numReplacerTrackedTex = replacer_.GetNumTrackedTextures();
gpuStats.numCachedReplacedTextures = replacer_.GetNumCachedReplacedTextures();
}