[SOLVED] Framebuffer issue (render to texture) with GTK3 GLArea vs GLFW: Identical OpenGL program works in GLFW but not GTK3's GLArea

Since you’re using your own VAO, you may also need to query the currently bound one as well:

default_VAO = glGetIntegerv(GL_VERTEX_ARRAY_BINDING)

so you can re-bind it later.

1 Like