diff options
| author | Scott Mansell <phiren@gmail.com> | 2023-01-29 23:57:37 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2023-01-31 19:41:24 +1300 |
| commit | 8bc8e43dd66e80bd061735d4f113e226250fe254 (patch) | |
| tree | 011051c6ac00fc1eea3d321a76e9c8a8c9bdddf4 /Source/Core/VideoCommon/PerfQueryBase.h | |
| parent | 3c73707dfe8dfb99edab6b8f2b2847160abddaf5 (diff) | |
Add virtual Initialize() to PerfQueryBase
Both DX12 and Vulkan already had one.
Diffstat (limited to 'Source/Core/VideoCommon/PerfQueryBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/PerfQueryBase.h | 2 |
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(); |
