diff options
author | Lioncash <mathew1800@gmail.com> | 2016-03-09 03:46:33 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-03-09 03:46:47 +0100 |
commit | 4b5b32e721d9e46b98dca18bb98770ec79daf295 (patch) | |
tree | 1182dcf0e14132f49d7be88f8d6e05da2a02113b | |
parent | render_base: Clarify/normalize getter functions (diff) | |
download | yuzu-4b5b32e721d9e46b98dca18bb98770ec79daf295.tar yuzu-4b5b32e721d9e46b98dca18bb98770ec79daf295.tar.gz yuzu-4b5b32e721d9e46b98dca18bb98770ec79daf295.tar.bz2 yuzu-4b5b32e721d9e46b98dca18bb98770ec79daf295.tar.lz yuzu-4b5b32e721d9e46b98dca18bb98770ec79daf295.tar.xz yuzu-4b5b32e721d9e46b98dca18bb98770ec79daf295.tar.zst yuzu-4b5b32e721d9e46b98dca18bb98770ec79daf295.zip |
-rw-r--r-- | src/video_core/renderer_base.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h index 68a8fbde5..0bee88a7d 100644 --- a/src/video_core/renderer_base.h +++ b/src/video_core/renderer_base.h @@ -22,9 +22,6 @@ public: kFramebuffer_Texture }; - RendererBase() : m_current_fps(0), m_current_frame(0) { - } - virtual ~RendererBase() { } @@ -62,8 +59,8 @@ public: protected: std::unique_ptr<VideoCore::RasterizerInterface> rasterizer; - f32 m_current_fps; ///< Current framerate, should be set by the renderer - int m_current_frame; ///< Current frame, should be set by the renderer + f32 m_current_fps = 0.0f; ///< Current framerate, should be set by the renderer + int m_current_frame = 0; ///< Current frame, should be set by the renderer private: bool opengl_rasterizer_active = false; |