Skip to content

Commit

Permalink
Attempt to prevent CI crash when running quickinspectortest
Browse files Browse the repository at this point in the history
QSGRendererInterface::Software appears to be the culprit, and
QSGRendererInterface::OpenVG wasn't supposed to be used, thus
they were both removed.
  • Loading branch information
Cuperino committed Mar 21, 2024
1 parent 2ecb38b commit c52e592
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions plugins/quickinspector/quickinspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,15 +302,8 @@ void RenderModeRequest::apply()
disconnect(connection);

if (window) {
switch (window->rendererInterface()->graphicsApi()) {
// Compatible render interfaces
case QSGRendererInterface::Software:
case QSGRendererInterface::OpenVG:
case QSGRendererInterface::OpenGL:
break;
default:
if (window->rendererInterface()->graphicsApi() != QSGRendererInterface::OpenGL)
return;
}

emit aboutToCleanSceneGraph();
const QByteArray mode = renderModeToString(RenderModeRequest::mode);
Expand Down

0 comments on commit c52e592

Please sign in to comment.