diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/opengl/qpixmapdata_x11gl_egl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/opengl/qpixmapdata_x11gl_egl.cpp b/src/opengl/qpixmapdata_x11gl_egl.cpp index d3af60f..3ab385a 100644 --- a/src/opengl/qpixmapdata_x11gl_egl.cpp +++ b/src/opengl/qpixmapdata_x11gl_egl.cpp @@ -231,13 +231,15 @@ bool QX11GLPixmapData::scroll(int dx, int dy, const QRect &rect) eglWaitClient(); } - QX11PixmapData::scroll(dx, dy, rect); + bool success = QX11PixmapData::scroll(dx, dy, rect); XSync(X11->display, False); if (ctx) { ctx->makeCurrent(); eglWaitNative(EGL_CORE_NATIVE_ENGINE); } + + return success; } #if !defined(QT_OPENGL_ES_1) |