summaryrefslogtreecommitdiffstats
path: root/src/render/backend/rendertexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/backend/rendertexture.cpp')
-rw-r--r--src/render/backend/rendertexture.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/backend/rendertexture.cpp b/src/render/backend/rendertexture.cpp
index c973afcc8..4e9d7e2c0 100644
--- a/src/render/backend/rendertexture.cpp
+++ b/src/render/backend/rendertexture.cpp
@@ -554,14 +554,14 @@ QBackendNode *RenderTextureFunctor::create(QNode *frontend, const QBackendNodeFa
return backend;
}
-QBackendNode *RenderTextureFunctor::get(QNode *frontend) const
+QBackendNode *RenderTextureFunctor::get(const QNodeId &id) const
{
- return m_textureManager->lookupResource(frontend->id());
+ return m_textureManager->lookupResource(id);
}
-void RenderTextureFunctor::destroy(QNode *frontend) const
+void RenderTextureFunctor::destroy(const QNodeId &id) const
{
- m_textureManager->releaseResource(frontend->id());
+ m_textureManager->releaseResource(id);
}
} // namespace Render