diff options
Diffstat (limited to 'src/GPU3D.h')
-rw-r--r-- | src/GPU3D.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/GPU3D.h b/src/GPU3D.h index 4a7bfdc..44d422a 100644 --- a/src/GPU3D.h +++ b/src/GPU3D.h @@ -137,14 +137,11 @@ void Write32(u32 addr, u32 val); class Renderer3D { public: - Renderer3D(bool Accelerated); - virtual ~Renderer3D() {}; + virtual ~Renderer3D() = default; Renderer3D(const Renderer3D&) = delete; Renderer3D& operator=(const Renderer3D&) = delete; - virtual bool Init() = 0; - virtual void DeInit() = 0; virtual void Reset() = 0; // This "Accelerated" flag currently communicates if the framebuffer should @@ -159,6 +156,8 @@ public: virtual void RenderFrame() = 0; virtual void RestartFrame() {}; virtual u32* GetLine(int line) = 0; +protected: + Renderer3D(bool Accelerated); }; extern int Renderer; |