summaryrefslogtreecommitdiffhomepage
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 6b7fcac5..e701faa7 100644
--- a/main.cpp
+++ b/main.cpp
@@ -134,7 +134,7 @@ app::app(const Arguments& arguments):
k++;
}
- _floor_mesh.setCount((int)indices.size())
+ _mesh.setCount((int)indices.size())
.addVertexBuffer(GL::Buffer{vertices}, 0,
tile_shader::Position{}, tile_shader::TextureCoordinates{})
.addVertexBuffer(GL::Buffer{c.sampler_array()}, 0, tile_shader::TextureID{})