diff options
Diffstat (limited to 'src/quick/items/qquickrendererinfo.cpp')
-rw-r--r-- | src/quick/items/qquickrendererinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquickrendererinfo.cpp b/src/quick/items/qquickrendererinfo.cpp index e41f4ebbae..b31cfd7f94 100644 --- a/src/quick/items/qquickrendererinfo.cpp +++ b/src/quick/items/qquickrendererinfo.cpp @@ -96,12 +96,12 @@ QQuickRendererInfo *QQuickRendererInfo::qmlAttachedProperties(QObject *object) void QQuickRendererInfo::updateInfo() { - GraphicsAPI newAPI = Unknown; + GraphicsApi newAPI = Unknown; if (m_window && m_window->isSceneGraphInitialized()) { QSGRendererInterface *rif = m_window->rendererInterface(); if (rif) - newAPI = GraphicsAPI(rif->graphicsAPI()); // this function is safe to call on the gui/main thread too + newAPI = GraphicsApi(rif->graphicsApi()); // this function is safe to call on the gui/main thread too } if (m_api != newAPI) { |