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:
parent
c231694949
commit
c762c8accc
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user