2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Remove virtual inheritance from RendererOpenGL

Also make destructor virtual so that instances are properly destructed.
This commit is contained in:
Yuri Kunde Schlesner 2014-08-28 05:51:57 -03:00 committed by Tony Wasserka
parent 8fb064cd62
commit 787a1b047c
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ public:
RendererBase() : m_current_fps(0), m_current_frame(0) { RendererBase() : m_current_fps(0), m_current_frame(0) {
} }
~RendererBase() { virtual ~RendererBase() {
} }
/// Swap buffers (render frame) /// Swap buffers (render frame)

View file

@ -13,11 +13,11 @@
#include <array> #include <array>
class RendererOpenGL : virtual public RendererBase { class RendererOpenGL : public RendererBase {
public: public:
RendererOpenGL(); RendererOpenGL();
~RendererOpenGL(); ~RendererOpenGL() override;
/// Swap buffers (render frame) /// Swap buffers (render frame)
void SwapBuffers(); void SwapBuffers();