diff options
Diffstat (limited to 'src/core/gl_context_qt.h')
-rw-r--r-- | src/core/gl_context_qt.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/gl_context_qt.h b/src/core/gl_context_qt.h index efe8958be..1ad6d2944 100644 --- a/src/core/gl_context_qt.h +++ b/src/core/gl_context_qt.h @@ -44,17 +44,18 @@ #include <QObject> -QT_BEGIN_NAMESPACE - namespace gfx { class GLContext; class GLSurface; } +QT_BEGIN_NAMESPACE + class GLContextHelper : public QObject { Q_OBJECT public: static void initialize(); + static void destroy(); static bool initializeContext(gfx::GLContext* context, gfx::GLSurface* surface); private: |