You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
412 B
C++
24 lines
412 B
C++
/*
|
|
SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
#include "ManagedTextureNode.h"
|
|
|
|
namespace Latte {
|
|
namespace Legacy {
|
|
|
|
ManagedTextureNode::ManagedTextureNode()
|
|
{
|
|
}
|
|
|
|
void ManagedTextureNode::setTexture(QSharedPointer<QSGTexture> texture)
|
|
{
|
|
m_texture = texture;
|
|
QSGSimpleTextureNode::setTexture(texture.data());
|
|
}
|
|
|
|
}
|
|
}
|