diff --git a/include/lol/buffers/VertexBuffer.hpp b/include/lol/buffers/VertexBuffer.hpp index ef87d74..aa5dde0 100644 --- a/include/lol/buffers/VertexBuffer.hpp +++ b/include/lol/buffers/VertexBuffer.hpp @@ -1,5 +1,6 @@ #pragma once +#include #include namespace lol @@ -13,7 +14,7 @@ namespace lol int size; ///< Number of elements in this attribute Type type; ///< Type of the attribute bool normalized; ///< Whether the data is normalized - int offset; ///< Offset of the attribute into the vertex data + size_t offset; ///< Offset of the attribute into the vertex data /** * @brief Construct a new VertexAttribute