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 May 3, 2024
1 parent 05e8566 commit 17ad975
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions plugins/quickinspector/quickinspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,8 @@ void RenderModeRequest::apply()
disconnect(connection);

if (window) {
switch (window->rendererInterface()->graphicsApi()) {
// Compatible render interfaces
case QSGRendererInterface::Software:
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 17ad975

Please sign in to comment.