diff options
Diffstat (limited to 'src/plugins/platforms/eglfs/api/qeglfscontext_p.h')
-rw-r--r-- | src/plugins/platforms/eglfs/api/qeglfscontext_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/platforms/eglfs/api/qeglfscontext_p.h b/src/plugins/platforms/eglfs/api/qeglfscontext_p.h index af8725b6b3..f3b506ac7f 100644 --- a/src/plugins/platforms/eglfs/api/qeglfscontext_p.h +++ b/src/plugins/platforms/eglfs/api/qeglfscontext_p.h @@ -61,8 +61,9 @@ QT_BEGIN_NAMESPACE class Q_EGLFS_EXPORT QEglFSContext : public QEGLPlatformContext { public: + using QEGLPlatformContext::QEGLPlatformContext; QEglFSContext(const QSurfaceFormat &format, QPlatformOpenGLContext *share, EGLDisplay display, - EGLConfig *config, const QVariant &nativeHandle); + EGLConfig *config); EGLSurface eglSurfaceForPlatformSurface(QPlatformSurface *surface) override; EGLSurface createTemporaryOffscreenSurface() override; void destroyTemporaryOffscreenSurface(EGLSurface surface) override; @@ -72,7 +73,7 @@ public: QEglFSCursorData cursorData; private: - EGLNativeWindowType m_tempWindow; + EGLNativeWindowType m_tempWindow = 0; }; QT_END_NAMESPACE |