summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_egl.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-10-26 01:16:18 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-10-26 01:16:18 (GMT)
commit9e17ec82f6915a636338c8be693773ec21db3a92 (patch)
tree46bde7e8b2b5b522b4710d895bf38a0d384f37e0 /src/opengl/qgl_egl.cpp
parentd67a5534cb50f66807b87526d42603c7d4df3595 (diff)
parentef704ebad66559170d761459d42d6c99996db529 (diff)
downloadQt-9e17ec82f6915a636338c8be693773ec21db3a92.zip
Qt-9e17ec82f6915a636338c8be693773ec21db3a92.tar.gz
Qt-9e17ec82f6915a636338c8be693773ec21db3a92.tar.bz2
Merge branch 4.7 into qt-master-from-4.7
Diffstat (limited to 'src/opengl/qgl_egl.cpp')
-rw-r--r--src/opengl/qgl_egl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qgl_egl.cpp b/src/opengl/qgl_egl.cpp
index c79c4cd..27f7ad9 100644
--- a/src/opengl/qgl_egl.cpp
+++ b/src/opengl/qgl_egl.cpp
@@ -276,12 +276,12 @@ EGLSurface QGLContextPrivate::eglSurfaceForDevice() const
return eglSurface;
}
-void QGLContextPrivate::swapRegion(const QRegion *region)
+void QGLContextPrivate::swapRegion(const QRegion &region)
{
if (!valid || !eglContext)
return;
- eglContext->swapBuffersRegion2NOK(eglSurfaceForDevice(), region);
+ eglContext->swapBuffersRegion2NOK(eglSurfaceForDevice(), &region);
}
void QGLWidget::setMouseTracking(bool enable)