raster rendering does not solve the problems with the experimantel RHI
state in Qt5 ( no problems with Qt6 RHI and Qt5 without RHI )
This commit is contained in:
parent
e1a58f84ee
commit
86658ee2dc
@ -93,14 +93,6 @@ namespace
|
||||
if ( window == nullptr )
|
||||
return false;
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
|
||||
if ( QQuickWindowPrivate::get( window )->rhi )
|
||||
{
|
||||
// does not yet work with the experimental RHI implementation in Qt5
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
const auto renderer = window->rendererInterface();
|
||||
return renderer->graphicsApi() == QSGRendererInterface::OpenGL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user