Hi everyone,
I'm working on an old data visualization code written on fixed pipeline (on OpenGL 1.1, using glBegin/glEnd blocks and Vertex2D, etc.). I need to update the graphical visualization methods to work with Shaders (and thus programmable pipeline). The problem is, as soon as I call glUseProgram() after creating the Shaders, everything becomes new! all background information are deleted (while on the same context) and an empty screen is presented with only Shader-drawn data. Is there anyway I can print my graph (drawn by vertex Shader) on the current screen (drawn by fixed pipeline and including axis, label and other info?)?