summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/modernopenglgraphics.h')
-rw-r--r--src/render/modernopenglgraphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h
index 2b27c621e..86e9f7bf1 100644
--- a/src/render/modernopenglgraphics.h
+++ b/src/render/modernopenglgraphics.h
@@ -64,7 +64,7 @@ class ModernOpenGLGraphics final : public Graphics
void setColorAll(const Color &color,
const Color &color2) override final;
- void screenResized();
+ void screenResized() override final;
void finalize(ImageCollection *const col) override final;
@@ -85,6 +85,8 @@ class ModernOpenGLGraphics final : public Graphics
virtual void createGLContext() override final;
private:
+ void deleteGLObjects();
+
inline void drawQuad(const Image *const image,
const int srcX, const int srcY,
const int dstX, const int dstY,