fixed casting size warning
This commit is contained in:
parent
40b4e292c2
commit
b702bd00f4
|
@ -1,5 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include <lol/Buffer.hpp>
|
#include <lol/Buffer.hpp>
|
||||||
|
|
||||||
namespace lol
|
namespace lol
|
||||||
|
@ -13,7 +14,7 @@ namespace lol
|
||||||
int size; ///< Number of elements in this attribute
|
int size; ///< Number of elements in this attribute
|
||||||
Type type; ///< Type of the attribute
|
Type type; ///< Type of the attribute
|
||||||
bool normalized; ///< Whether the data is normalized
|
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
|
* @brief Construct a new VertexAttribute
|
||||||
|
|
Loading…
Reference in a new issue