diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-07-01 18:38:32 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-08-04 11:00:09 +0200 |
commit | 219c2eb4e28dd1c806cbc2115ff40454d6d3f9c5 (patch) | |
tree | c9aa6a79cf4a4da956ed3e87d002d7613c86f959 /src/gui/kernel/qopenglcontext_p.h | |
parent | 83080e8a7cb7aaa794a9659eeaf34690afe71ddb (diff) |
Rename globalShareContext to qt_gl_global_share_context
This makes it easier to forward-declare the exported symbol from
other Qt modules without having to include the private headers.
This keeps the old API until dependent submodules are updated.
Change-Id: I08310a684b79f2f612f2ce897a601ff74178bee6
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/gui/kernel/qopenglcontext_p.h')
-rw-r--r-- | src/gui/kernel/qopenglcontext_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qopenglcontext_p.h b/src/gui/kernel/qopenglcontext_p.h index 77e3605a4b..4447df5294 100644 --- a/src/gui/kernel/qopenglcontext_p.h +++ b/src/gui/kernel/qopenglcontext_p.h @@ -275,6 +275,9 @@ public: #endif }; +Q_GUI_EXPORT void qt_gl_set_global_share_context(QOpenGLContext *context); +Q_GUI_EXPORT QOpenGLContext *qt_gl_global_share_context(); + QT_END_NAMESPACE #endif // QT_NO_OPENGL |