diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 23:42:07 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 23:42:07 +0100 |
commit | 4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (patch) | |
tree | c0a5d21b8e19fbb60c286faec8e302e6f32b6679 /draw/quad.hpp | |
parent | 32b8c22828315292857e2cd9909fba620f30ff70 (diff) |
pre-declare integer types without cstddef/cstdint
Diffstat (limited to 'draw/quad.hpp')
-rw-r--r-- | draw/quad.hpp | 2 |
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>; |