summaryrefslogtreecommitdiffhomepage
path: root/draw/quad.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
commit4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (patch)
treec0a5d21b8e19fbb60c286faec8e302e6f32b6679 /draw/quad.hpp
parent32b8c22828315292857e2cd9909fba620f30ff70 (diff)
pre-declare integer types without cstddef/cstdint
Diffstat (limited to 'draw/quad.hpp')
-rw-r--r--draw/quad.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/quad.hpp b/draw/quad.hpp
index 7bccebae..c92e9544 100644
--- a/draw/quad.hpp
+++ b/draw/quad.hpp
@@ -10,7 +10,7 @@ struct quad final
{
quad(Vector3 start, Vector2 size, float line_width);
- static constexpr std::size_t num_vertices = 4, num_indexes = 0;
+ static constexpr size_t num_vertices = 4, num_indexes = 0;
static constexpr GL::MeshPrimitive primitive = GL::MeshPrimitive::LineLoop;
using vertex_array = std::array<Vector3, num_vertices>;