diff options
author | Laszlo Agocs <[email protected]> | 2016-11-18 14:02:59 +0100 |
---|---|---|
committer | Laszlo Agocs <[email protected]> | 2016-11-18 13:14:25 +0000 |
commit | 584c90df98891d5ab7d62ef09f63986ab91dfc6b (patch) | |
tree | b381761f17bde9d2cfc8aecd14e4ab65fa510944 /src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp | |
parent | fccbc89125852f9d8679f7ae8d201a67619f6066 (diff) |
QSGRendererInterface: Add Resource suffix for consistency
Change-Id: I60e674760725d4c4dd13f53b31c3abb6b09c1790
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp')
-rw-r--r-- | src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp b/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp index 05d5daa686..d71b0c3e2a 100644 --- a/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp +++ b/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp @@ -215,7 +215,7 @@ QSGRendererInterface::ShaderSourceTypes QSGSoftwareContext::shaderSourceType() c void *QSGSoftwareContext::getResource(QQuickWindow *window, Resource resource) const { - if (resource == Painter && window && window->isSceneGraphInitialized()) + if (resource == PainterResource && window && window->isSceneGraphInitialized()) return static_cast<QSGSoftwareRenderContext *>(QQuickWindowPrivate::get(window)->context)->m_activePainter; return nullptr; |