mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 12:04:16 +01:00
Merge pull request #5243 from lioncash/move2
geometry_pipeline: std::move vertex handler in SetVertexHandler()
This commit is contained in:
commit
bcc80d0871
@ -303,7 +303,7 @@ GeometryPipeline::GeometryPipeline(State& state) : state(state) {}
|
||||
GeometryPipeline::~GeometryPipeline() = default;
|
||||
|
||||
void GeometryPipeline::SetVertexHandler(Shader::VertexHandler vertex_handler) {
|
||||
this->vertex_handler = vertex_handler;
|
||||
this->vertex_handler = std::move(vertex_handler);
|
||||
}
|
||||
|
||||
void GeometryPipeline::Setup(Shader::ShaderEngine* shader_engine) {
|
||||
|
Loading…
Reference in New Issue
Block a user