src/gl/gridprogram.cpp

changeset 250
2837b549e616
parent 243
959469a7e149
--- a/src/gl/gridprogram.cpp	Wed Jun 22 16:13:15 2022 +0300
+++ b/src/gl/gridprogram.cpp	Wed Jun 22 16:53:35 2022 +0300
@@ -55,7 +55,7 @@
 constexpr auto calcGridData()
 {
 	std::array<glm::vec2, 8 * extent + 4> result;
-	int ix = 0;
+	std::size_t ix = 0;
 	for (int i = -extent; i <= extent; i += 1) {
 		result[ix++] = {i, -extent};
 		result[ix++] = {i, extent};

mercurial