fixed vao binding bug
This commit is contained in:
parent
988a429f16
commit
9629779b2a
|
@ -18,6 +18,8 @@ namespace lol
|
||||||
|
|
||||||
SetVertexBuffer(vertexBuffer);
|
SetVertexBuffer(vertexBuffer);
|
||||||
SetElementBuffer(elementBuffer);
|
SetElementBuffer(elementBuffer);
|
||||||
|
|
||||||
|
glBindVertexArray(0);
|
||||||
}
|
}
|
||||||
VertexArray::~VertexArray()
|
VertexArray::~VertexArray()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue