The QRhi is no need to limit the type to QOffscreenSurface, use the QSurface instead of QOffscreenSurface, to allowed use the custom offscreen QSurface types.
| For Gerrit Dashboard: QTBUG-102257 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 404163,7 | Use the QSurface for QRhiGles2InitParams::fallbackSurface | dev | qt/qtbase | Status: MERGED | +2 | 0 |
| 404170,7 | Use the QSurface for QSGRhiSupport::createRhi | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |