mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
Add virtual deconstructor override
Virtual classes need to override the base-type deconstructor so that they are proper called when referred to by their base-type.
This commit is contained in:
parent
50bf9bf7da
commit
b10e69de0e
2 changed files with 3 additions and 0 deletions
|
@ -68,6 +68,7 @@ class RendererGL final : public Renderer {
|
|||
|
||||
public:
|
||||
RendererGL(GPU& gpu, const std::array<u32, regNum>& internalRegs) : Renderer(gpu, internalRegs) {}
|
||||
~RendererGL() override;
|
||||
|
||||
void reset() override;
|
||||
void display() override; // Display the 3DS screen contents to the window
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue