diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-10-22 10:17:56 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-10-22 15:43:43 (GMT) |
commit | 9d81ddd3da51166a9fc92073cf7ba508cdd22dd1 (patch) | |
tree | ce8986e23ca8f6ec5f520a10222785b478a30343 /src/opengl/qgl.cpp | |
parent | 98824c2ebe97f61bf294b0be07ac164aed470fbf (diff) | |
download | Qt-9d81ddd3da51166a9fc92073cf7ba508cdd22dd1.zip Qt-9d81ddd3da51166a9fc92073cf7ba508cdd22dd1.tar.gz Qt-9d81ddd3da51166a9fc92073cf7ba508cdd22dd1.tar.bz2 |
Added support for blitting to native child widgets in GL window surface.
Support blitting by copying from the top-level window's back buffer to
a temporary texture and then blitting from the texture to the native
child widget. Performance suffers, but it's better than failing.
Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src/opengl/qgl.cpp')
-rw-r--r-- | src/opengl/qgl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index 62eff6e..dbd295f 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -2104,7 +2104,7 @@ void QGLContextPrivate::syncGlState() #undef ctx #ifdef QT_NO_EGL -void QGLContextPrivate::swapRegion(const QRegion *) +void QGLContextPrivate::swapRegion(const QRegion &) { Q_Q(QGLContext); q->swapBuffers(); |