aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/quick/items/qquickframebufferobject.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/quick/items/qquickframebufferobject.cpp b/src/quick/items/qquickframebufferobject.cpp
index 4647531e7e..7311d0d148 100644
--- a/src/quick/items/qquickframebufferobject.cpp
+++ b/src/quick/items/qquickframebufferobject.cpp
@@ -280,8 +280,7 @@ public:
static inline bool isOpenGL(QSGRenderContext *rc)
{
QSGRendererInterface *rif = rc->sceneGraphContext()->rendererInterface(rc);
- return rif && (rif->graphicsApi() == QSGRendererInterface::OpenGL
- || rif->graphicsApi() == QSGRendererInterface::OpenGLRhi);
+ return rif && rif->graphicsApi() == QSGRendererInterface::OpenGL;
}
/*!