aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/rendercontrol/rendercontrol_d3d11/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/rendercontrol/rendercontrol_d3d11/window.cpp')
-rw-r--r--examples/quick/rendercontrol/rendercontrol_d3d11/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/rendercontrol/rendercontrol_d3d11/window.cpp b/examples/quick/rendercontrol/rendercontrol_d3d11/window.cpp
index ccbac5cbed..c574343a98 100644
--- a/examples/quick/rendercontrol/rendercontrol_d3d11/window.cpp
+++ b/examples/quick/rendercontrol/rendercontrol_d3d11/window.cpp
@@ -358,7 +358,7 @@ void Window::updateQuick()
m_quickDirty = false;
if (!m_quickInitialized) {
- // In addition to setSceneGraphBackend, we need a call to
+ // In addition to setGraphicsApi(), we need a call to
// setGraphicsDevice to tell Qt Quick what ID3D11Device(Context) to use
// (i.e. we want it to use ours, not to create new ones).
m_quickWindow->setGraphicsDevice(QQuickGraphicsDevice::fromDeviceAndContext(m_engine->device(), m_engine->context()));