What I am trying to do is get a couple of textures from my program and render them into one texture and send it back, but I only want it to render them when I tell it to. Is there some way to get rid of opengl's main loop so I can render when I want it to, or can I pause the main loop until I want to render the next texture?
Edit: I'm using Glut and Glew right now.
if(skipRender) return;?skipRenderis not a language or framework feature. It's just a made up boolean. You need to become more comfortable with C++ in general before tackling a beast like OpenGL.