So I've been working through the tutorial and it suggested not to use the built in save/restore GL states because they are slow. I got it working fine with those functions, but I don't want to rely on them because they are slow.
These are the opengl settings that I change when I want to draw something with opengl
glMatrixMode (GL_PROJECTION);
glLoadIdentity ();
glOrtho (0, 800, 600, 0, 0, 1);
glDisable(GL_DEPTH_TEST);
glMatrixMode (GL_MODELVIEW);
my question is how I can undo these changes so I can also draw things with sfml. How am I supposed to know what the starting values of these were?
[/code]