You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imgui part stops working as soon as i uncomment line glBindVertexArray(VAO);
And i get errors "Error description:
GL_INVALID_OPERATION
The specified operation is not allowed in the current state."
If i call glBindVertexArray(0);, to unbind vertex array, it works.
Also tried glPushAttrib(GL_ALL_ATTRIB_BITS); + glPopAttrib() , but it doesn't work as well
Am i doing something wrong? How can i fix it?
The text was updated successfully, but these errors were encountered:
I am trying to use sfml with imgui (and drawing using opengl) and having problems with states.
Here's very minimal example:
Imgui part stops working as soon as i uncomment line
glBindVertexArray(VAO);
And i get errors "Error description:
GL_INVALID_OPERATION
The specified operation is not allowed in the current state."
If i call
glBindVertexArray(0);
, to unbind vertex array, it works.Also tried
glPushAttrib(GL_ALL_ATTRIB_BITS);
+glPopAttrib()
, but it doesn't work as wellAm i doing something wrong? How can i fix it?
The text was updated successfully, but these errors were encountered: