aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesh.cpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2022-09-08 23:04:06 +0200
committerladevieq <ladevie.quentin@gmail.com>2022-09-08 23:04:06 +0200
commit2d16fbd7e235bf2cc96d451469d8d39cae1917c3 (patch)
treeab565ca756c6341ec36f91835d548cfd989b6e1f /src/mesh.cpp
parentb7c2511e588f1da63413a38a624fd3e6bb8cf54d (diff)
First render using new texture uploading system
Diffstat (limited to 'src/mesh.cpp')
-rw-r--r--src/mesh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh.cpp b/src/mesh.cpp
index b3916aa..3863ca8 100644
--- a/src/mesh.cpp
+++ b/src/mesh.cpp
@@ -42,5 +42,5 @@ void Mesh::add_submesh(const submesh& submesh, material& material) {
}
void Mesh::register_mesh(const Mesh& mesh) {
- meshes.emplace_back(mesh);
+ meshes.push_back(mesh);
}