Here is my problem. I have a VBO class (VBOGL) that also initialize shader programs, then i have a View class, containing a GL_Control to render the VBO.
I need to have 2 views, and thus i create two objects of my View class. Consequently, i have two independent vbos and shader programs. But it occurs that when i make the same modification of the vertex shader in both objects, the modification is only taken into account in the second object, the first view do not change.
I found a "weak solution" solution for this problem, that is copying the VBOGL that take into account the change into my other view ... But i don't understand why i have this result.
If someone has an idea, that would be greate for my understanding in opengl/glsl !