eglfs: Restore raster window support code that went missing
Restore the snippet added in 4bc8f54822
Amends 0a10d23c4a49dd14a1ded41b7cc6921909b0ee7a
Change-Id: Id83ff523e6343003c198600fe0ee91a71fb6e3e0
Fixes: QTBUG-129512
Reviewed-by: Inho Lee <inho.lee@qt.io>
(cherry picked from commit ad50ca7d9ed3644454904488dc4719ca446e8091)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
bb10
parent
50f507eb44
commit
73f17bf499
|
|
@ -141,6 +141,10 @@ void QOpenGLCompositorBackingStore::flush(QWindow *flushedWindow, const QRegion
|
|||
Q_UNUSED(region);
|
||||
Q_UNUSED(offset);
|
||||
|
||||
QOpenGLCompositorWindow *handle = dynamic_cast<QOpenGLCompositorWindow *>(flushedWindow->handle());
|
||||
if (handle && !handle->backingStore())
|
||||
handle->setBackingStore(this);
|
||||
|
||||
if (!rhi(flushedWindow)) {
|
||||
QPlatformBackingStoreRhiConfig rhiConfig;
|
||||
rhiConfig.setApi(QPlatformBackingStoreRhiConfig::OpenGL);
|
||||
|
|
|
|||
Loading…
Reference in New Issue