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