Draw window text / unload shader?

Please, I’m drawing with VBO/IBO some objects. In shader I’m changing their position and color.
Now I would like to draw some text (just simple on the window). I have found:

    glRasterPos2f(0.0, 0.0);
    glutBitmapCharacter(GLUT_BITMAP_9_BY_15, '2');

which does the trick when the shader program is not created. With the shader ON, not. Is it possible to somehow say ‘now don’t use shader program?’ Or, what is the proper way, to do this?

thanks.

glUseProgram(0);

millions of thanks!

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.