summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PerfQueryBase.h
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-02-09 19:59:16 +1300
committerGitHub <noreply@github.com>2023-02-09 19:59:16 +1300
commitccf92a3e56764d6378c436a8040519a5bffc3372 (patch)
treee2b330b225044e1901e77a6ed147cf21b9d7ac0e /Source/Core/VideoCommon/PerfQueryBase.h
parent72b22ef0a54f841b1c52d49cf0e00d3b12c29ac7 (diff)
parent5c1b3ac61d7e660a9d1c206dbd0e615d637d3272 (diff)
Merge pull request #11522 from phire/KillRendererWithFire
Kill Renderer (with phire)
Diffstat (limited to 'Source/Core/VideoCommon/PerfQueryBase.h')
-rw-r--r--Source/Core/VideoCommon/PerfQueryBase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/PerfQueryBase.h b/Source/Core/VideoCommon/PerfQueryBase.h
index 9671c33ec3..183a27c80c 100644
--- a/Source/Core/VideoCommon/PerfQueryBase.h
+++ b/Source/Core/VideoCommon/PerfQueryBase.h
@@ -34,6 +34,8 @@ public:
PerfQueryBase() : m_query_count(0) {}
virtual ~PerfQueryBase() {}
+ virtual bool Initialize() { return true; }
+
// Checks if performance queries are enabled in the gameini configuration.
// NOTE: Called from CPU+GPU thread
static bool ShouldEmulate();