Update miniwin/miniwin/src/include/miniwin_d3drmmesh_p.h

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Anders Jenbo 2025-05-22 04:52:25 +02:00 committed by GitHub
parent fcb6e8865e
commit d7f6e0edb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ struct MeshGroup {
MeshGroup(const MeshGroup& other) MeshGroup(const MeshGroup& other)
: color(other.color), texture(other.texture), material(other.material), quality(other.quality), : color(other.color), texture(other.texture), material(other.material), quality(other.quality),
vertexPerFace(other.vertexPerFace), vertices(other.vertices), faces(other.faces) vertexPerFace(other.vertexPerFace), vertices(std::move(other.vertices)), faces(std::move(other.faces))
{ {
if (texture) { if (texture) {
texture->AddRef(); texture->AddRef();