mirror of https://github.com/AxioDL/boo.git
VertexFormatInfo constructor tweak
This commit is contained in:
parent
cc0620e8f7
commit
8333536a7c
|
@ -130,7 +130,7 @@ struct VertexFormatInfo {
|
|||
template <typename T>
|
||||
VertexFormatInfo(const T& tp) : elementCount(std::extent_v<T>), elements(tp) {}
|
||||
|
||||
VertexFormatInfo(const std::initializer_list<VertexElementDescriptor>& l)
|
||||
VertexFormatInfo(std::initializer_list<VertexElementDescriptor> l)
|
||||
: elementCount(l.size()), elements(l.begin()) {}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue