Remove QOpenGLContextPrivate::globalShareContext

This has previously been replaced with qt_gl_global_share_context
and all using code has been ported to the new name at this point.

Change-Id: I13832f583456891dd057a7b414f45ec3e83f5698
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
This commit is contained in:
Jocelyn Turcotte 2014-09-10 18:27:07 +02:00 committed by Laszlo Agocs
parent c231694949
commit c762c8accc
2 changed files with 0 additions and 13 deletions

View File

@ -350,16 +350,6 @@ QOpenGLContext *QOpenGLContextPrivate::setCurrentContext(QOpenGLContext *context
return previous; return previous;
} }
void QOpenGLContextPrivate::setGlobalShareContext(QOpenGLContext *context)
{
qt_gl_set_global_share_context(context);
}
QOpenGLContext *QOpenGLContextPrivate::globalShareContext()
{
return qt_gl_global_share_context();
}
int QOpenGLContextPrivate::maxTextureSize() int QOpenGLContextPrivate::maxTextureSize()
{ {
if (max_texture_size != -1) if (max_texture_size != -1)

View File

@ -241,9 +241,6 @@ public:
static QOpenGLContext *setCurrentContext(QOpenGLContext *context); static QOpenGLContext *setCurrentContext(QOpenGLContext *context);
static void setGlobalShareContext(QOpenGLContext *context);
static QOpenGLContext *globalShareContext();
int maxTextureSize(); int maxTextureSize();
static QOpenGLContextPrivate *get(QOpenGLContext *context) static QOpenGLContextPrivate *get(QOpenGLContext *context)