summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_base.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-03-09 03:31:41 +0100
committerLioncash <mathew1800@gmail.com>2016-03-09 03:31:44 +0100
commitbf76afc68d3501e1f8c9a1460aac74438e1c64af (patch)
tree2e34d009e02b87c927d047ab831f771ed126fa75 /src/video_core/renderer_base.h
parentMerge pull request #1441 from MerryMage/dsp-pipes (diff)
downloadyuzu-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 'src/video_core/renderer_base.h')
-rw-r--r--src/video_core/renderer_base.h7
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