OpenGL Discussion and Help Forums
>
DEVELOPERS
>
OpenGL coding: beginners
> Get Windows Size
PDA
View Full Version :
Get Windows Size
baenni
11-15-2004, 06: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, 07:02 AM
Maybe this would help:
glutGet(GLUT_WINDOW_WIDTH);
glutGet(GLUT_WINDOW_HEIGHT);
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.