diff options
author | Laszlo Agocs <[email protected]> | 2020-06-29 16:09:46 +0200 |
---|---|---|
committer | Laszlo Agocs <[email protected]> | 2020-08-03 16:32:30 +0200 |
commit | fb96109bbc2ec5d83171a70d6c164d79695d2ddd (patch) | |
tree | ba31b5ab614cd57695b43860ddae3eae6e508a54 /src/quick/scenegraph/adaptations/software | |
parent | 6826b2decc21cbf390076efa3a0d6c412563f94a (diff) |
Add type safe native texture accessors
Following the pattern from QtGui.
Task-number: QTBUG-85239
Change-Id: I07b4456028d0f45223ad10e55ce65f423bab6a9b
Reviewed-by: Tor Arne Vestbø <[email protected]>
Diffstat (limited to 'src/quick/scenegraph/adaptations/software')
-rw-r--r-- | src/quick/scenegraph/adaptations/software/qsgsoftwarelayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwarelayer.cpp b/src/quick/scenegraph/adaptations/software/qsgsoftwarelayer.cpp index 35d84a2d7e..171485d678 100644 --- a/src/quick/scenegraph/adaptations/software/qsgsoftwarelayer.cpp +++ b/src/quick/scenegraph/adaptations/software/qsgsoftwarelayer.cpp @@ -45,7 +45,7 @@ QT_BEGIN_NAMESPACE QSGSoftwareLayer::QSGSoftwareLayer(QSGRenderContext *renderContext) - : QSGLayer(*(new QSGTexturePrivate)) + : QSGLayer(*(new QSGTexturePrivate(this))) , m_item(nullptr) , m_context(renderContext) , m_renderer(nullptr) |