1 | /* |
---|---|
2 | SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.0-or-later |
5 | */ |
6 | |
7 | #include "managedtexturenode.h" |
8 | |
9 | ManagedTextureNode::ManagedTextureNode() |
10 | { |
11 | } |
12 | |
13 | void ManagedTextureNode::setTexture(QSharedPointer<QSGTexture> texture) |
14 | { |
15 | m_texture = texture; |
16 | QSGSimpleTextureNode::setTexture(texture.data()); |
17 | } |
18 |