fixed vao binding bug

This commit is contained in:
Lauchmelder 2021-12-24 15:47:00 +01:00
parent 988a429f16
commit 9629779b2a

View file

@ -18,6 +18,8 @@ namespace lol
SetVertexBuffer(vertexBuffer); SetVertexBuffer(vertexBuffer);
SetElementBuffer(elementBuffer); SetElementBuffer(elementBuffer);
glBindVertexArray(0);
} }
VertexArray::~VertexArray() VertexArray::~VertexArray()
{ {