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"};