summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2026-07-14 20:24:24 +1200
committerGitHub <noreply@github.com>2026-07-14 20:24:24 +1200
commit09fbe2a93000127d56dde527179e1b41ba804099 (patch)
tree58b8b592389c0c98e5feeb00ed3361a146c14d0a
parentcdaf67c6ce4b5a23c3dd759a439d2bf434396791 (diff)
parent55761d9e6deca298a6f97941f03ffa56dc36bec3 (diff)
Merge pull request #14729 from JoshuaVandaele/fix-clang-libstdcpp
PerformanceMetrics: Fix compiling using clang&libstdc++
-rw-r--r--Source/Core/VideoCommon/PerformanceMetrics.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/PerformanceMetrics.h b/Source/Core/VideoCommon/PerformanceMetrics.h
index b24c6f6659..698dd4412a 100644
--- a/Source/Core/VideoCommon/PerformanceMetrics.h
+++ b/Source/Core/VideoCommon/PerformanceMetrics.h
@@ -51,8 +51,10 @@ public:
private:
struct FrameBufferSize
{
- u32 width = 0;
- u32 height = 0;
+ FrameBufferSize() : width(0), height(0) {}
+ FrameBufferSize(u32 w, u32 h) : width(w), height(h) {}
+ u32 width;
+ u32 height;
};
PerformanceTracker m_fps_counter{"render_times.txt"};