1
Graphics / VAO gets invalid after calling app.display()
« on: July 22, 2013, 08:13:58 pm »
I have a weird problem, after calling app.display when I call glBindVertexArray I get an Invalid operation error.
If I set up a VAO with id 2 if I call this code I get that before calling display it is valid and after it isn't.
Could anyone tell me why is this happening.
Thank you very much
cout <<int(glIsVertexArray(2));
this->display();
cout <<int(glIsVertexArray(2));
this->display();
cout <<int(glIsVertexArray(2));
If I set up a VAO with id 2 if I call this code I get that before calling display it is valid and after it isn't.
Could anyone tell me why is this happening.
Thank you very much