PDA

View Full Version : Get Windows Size



baenni
11-15-2004, 07:52 AM
After calling the glutReshapeFunc the window has a new height and width. Does an functino exist which allows to get the new width an height of the current window?

curonia
11-15-2004, 08:02 AM
Maybe this would help:

glutGet(GLUT_WINDOW_WIDTH);
glutGet(GLUT_WINDOW_HEIGHT);