summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/threed/painting/qglext_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/threed/painting/qglext_p.h b/src/threed/painting/qglext_p.h
index c2999c803..34a619f2c 100644
--- a/src/threed/painting/qglext_p.h
+++ b/src/threed/painting/qglext_p.h
@@ -125,6 +125,7 @@ public:
void *value(const QGLContext *context);
void cleanup(const QGLContext *context, void *value);
virtual void freeResource(void *value) = 0;
+ virtual void contextDeleted(const QGLContext *) {}
protected:
QList<QGLContextGroup *> m_groups;