forked from Dynamitos/Seele
First runnable render loop
This commit is contained in:
1 parent
ceee96b462
commit
8d4c43361b
35 files changed
+519
-134
No files matched your search
@@ -61,9 +61,9 @@ void StaticMeshVertexInput::init(Gfx::PGraphics graphics)
|
||||
initDeclaration(graphics, elements);
|
||||
}
|
||||
|
||||
void StaticMeshVertexInput::setData(StaticMeshDataType data)
|
||||
void StaticMeshVertexInput::setData(StaticMeshDataType&& data)
|
||||
{
|
||||
this->data = data;
|
||||
this->data = std::move(data);
|
||||
}
|
||||
|
||||
IMPLEMENT_VERTEX_INPUT_TYPE(StaticMeshVertexInput, "StaticMeshVertexInput");
|
||||
Reference in new issue
Block a user