diff options
author | Lioncash <mathew1800@gmail.com> | 2016-03-09 03:31:41 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-03-09 03:31:44 +0100 |
commit | bf76afc68d3501e1f8c9a1460aac74438e1c64af (patch) | |
tree | 2e34d009e02b87c927d047ab831f771ed126fa75 /src/video_core/renderer_base.h | |
parent | Merge pull request #1441 from MerryMage/dsp-pipes (diff) | |
download | yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.gz yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.bz2 yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.lz yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.xz yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.zst yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_base.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h index 506bff815..bdfce1b60 100644 --- a/src/video_core/renderer_base.h +++ b/src/video_core/renderer_base.h @@ -54,11 +54,14 @@ public: return m_current_frame; } - void RefreshRasterizerSetting(); + VideoCore::RasterizerInterface* Rasterizer() const { + return rasterizer.get(); + } - std::unique_ptr<VideoCore::RasterizerInterface> rasterizer; + void RefreshRasterizerSetting(); 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 |