summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-02-18 09:50:12 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-02-18 09:50:12 +0100
commit2cb5bd6768c1c6aa5ec7e1ac2028052bba383fdf (patch)
treef875e47aeeb31f485611a8b2b88a5eb8afd08c86
parentd0ff22593b1783bf6c76c1db3922075244a23d11 (diff)
reformat
-rw-r--r--main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index 84069870..f9daa3be 100644
--- a/main.cpp
+++ b/main.cpp
@@ -59,9 +59,9 @@ application::application(const Arguments& arguments):
vertices[i] = { positions[i], texcoords[i] };
_mesh.setCount((int)std::size(indices))
- .addVertexBuffer(GL::Buffer{vertices}, 0, tile_shader::Position{}, tile_shader::TextureCoordinates{})
- .setIndexBuffer(GL::Buffer{indices}, 0,
- GL::MeshIndexType::UnsignedShort);
+ .addVertexBuffer(GL::Buffer{vertices}, 0,
+ tile_shader::Position{}, tile_shader::TextureCoordinates{})
+ .setIndexBuffer(GL::Buffer{indices}, 0, GL::MeshIndexType::UnsignedShort);
}
void application::drawEvent() {