diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-07 04:06:12 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-08 05:20:38 +0100 |
commit | 195fedccf07b909c95e5905c7154c595bb260fc7 (patch) | |
tree | b36ecb555672b6994e4bd11812a605fe2726d172 /src/video_core/renderer_base.h | |
parent | VideoCore: Rename HWRasterizer methods to be less confusing (diff) | |
download | yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar.gz yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar.bz2 yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar.lz yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar.xz yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar.zst yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_base.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h index 6587bcf27..506bff815 100644 --- a/src/video_core/renderer_base.h +++ b/src/video_core/renderer_base.h @@ -8,7 +8,7 @@ #include "common/common_types.h" -#include "video_core/hwrasterizer_base.h" +#include "video_core/rasterizer_interface.h" class EmuWindow; @@ -54,10 +54,14 @@ public: return m_current_frame; } - std::unique_ptr<HWRasterizer> hw_rasterizer; + void RefreshRasterizerSetting(); + + std::unique_ptr<VideoCore::RasterizerInterface> rasterizer; protected: f32 m_current_fps; ///< Current framerate, should be set by the renderer int m_current_frame; ///< Current frame, should be set by the renderer +private: + bool opengl_rasterizer_active = false; }; |