summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_mac.mm
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2010-01-04 04:08:37 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2010-01-04 22:18:48 (GMT)
commit619392c059326c11c24c1092ab62dd091114a0ab (patch)
tree5e239e2660b8bc13ea509d3fc154b9930b82b059 /src/opengl/qgl_mac.mm
parentf019f3cf807e3c804bba3ef5598ea69adbb39e8b (diff)
downloadQt-619392c059326c11c24c1092ab62dd091114a0ab.zip
Qt-619392c059326c11c24c1092ab62dd091114a0ab.tar.gz
Qt-619392c059326c11c24c1092ab62dd091114a0ab.tar.bz2
Remove QGLShareRegister and transfer its functionality to QGLContextGroup
Task-number: QT-2600 Reviewed-by: Samuel
Diffstat (limited to 'src/opengl/qgl_mac.mm')
-rw-r--r--src/opengl/qgl_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl_mac.mm b/src/opengl/qgl_mac.mm
index 4dd822d..8ecc48b 100644
--- a/src/opengl/qgl_mac.mm
+++ b/src/opengl/qgl_mac.mm
@@ -476,7 +476,7 @@ void QGLContext::reset()
d->valid = false;
d->transpColor = QColor();
d->initDone = false;
- qgl_share_reg()->removeShare(this);
+ QGLContextGroup::removeShare(this);
}
void QGLContext::makeCurrent()