i dont even know

This commit is contained in:
Lauchmelder 2021-12-27 20:59:54 +01:00
parent 9306dbaae7
commit 052e9f3a40

View file

@ -3,11 +3,7 @@
namespace lol
{
ElementBuffer::ElementBuffer(const std::vector<unsigned int>& elements, Usage usage) :
<<<<<<< HEAD
Buffer(BufferType::ElementArray), count(elements.size())
=======
Buffer(BufferType::ElementArray), count(count)
>>>>>>> 7b071b2db64f25ad5bfd602c42dd8f17b75e3948
{
glBufferData(NATIVE(type), elements.size() * sizeof(unsigned int), elements.data(), NATIVE(usage));
}