diff options
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsbackingstore.cpp')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfsbackingstore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp index 5c1919a4f3..c3f3d4f34e 100644 --- a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp +++ b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp @@ -40,6 +40,7 @@ ****************************************************************************/ #include "qeglfsbackingstore.h" +#include "qeglfscursor.h" #include <QtGui/QOpenGLContext> #include <QtGui/QOpenGLPaintDevice> @@ -185,6 +186,10 @@ void QEglFSBackingStore::flush(QWindow *window, const QRegion ®ion, const QPo glDisableVertexAttribArray(m_textureCoordEntry); #endif + // draw the cursor + if (QEglFSCursor *cursor = static_cast<QEglFSCursor *>(window->screen()->handle()->cursor())) + cursor->render(); + m_context->swapBuffers(window); } |