opengl not covering window...

Hi, does anybody know where I can get a tutorial/sample program where the render area doesn’t take up the full window? (under windows) All the programs I’ve seen so far have been full screen or covered the entire window.

Check your call to glViewport(). This function must be the same size your window is.