PDA

View Full Version : opengl not covering window...



gumby
11-03-2000, 04:25 PM
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.

Anonymous Coward
11-04-2000, 01:22 AM
Check your call to glViewport(). This function must be the same size your window is.

glViewport(x,y,s,t).