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:
Wunkolo 2023-07-17 09:30:12 -07:00
parent 50bf9bf7da
commit b10e69de0e
2 changed files with 3 additions and 0 deletions

View file

@ -14,6 +14,8 @@ using namespace Floats;
using namespace Helpers;
using namespace PICA;
RendererGL::~RendererGL() {}
void RendererGL::reset() {
depthBufferCache.reset();
colourBufferCache.reset();