mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
renderer_base: In-class initialize variables
This commit is contained in:
parent
be913040a8
commit
4b5b32e721
1 changed files with 2 additions and 5 deletions
|
@ -22,9 +22,6 @@ public:
|
||||||
kFramebuffer_Texture
|
kFramebuffer_Texture
|
||||||
};
|
};
|
||||||
|
|
||||||
RendererBase() : m_current_fps(0), m_current_frame(0) {
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual ~RendererBase() {
|
virtual ~RendererBase() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,8 +59,8 @@ public:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
std::unique_ptr<VideoCore::RasterizerInterface> rasterizer;
|
std::unique_ptr<VideoCore::RasterizerInterface> rasterizer;
|
||||||
f32 m_current_fps; ///< Current framerate, should be set by the renderer
|
f32 m_current_fps = 0.0f; ///< Current framerate, should be set by the renderer
|
||||||
int m_current_frame; ///< Current frame, should be set by the renderer
|
int m_current_frame = 0; ///< Current frame, should be set by the renderer
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool opengl_rasterizer_active = false;
|
bool opengl_rasterizer_active = false;
|
||||||
|
|
Loading…
Reference in a new issue