Section: C Library Functions (3)
- Request changing the size of the current window
OpenGLUT - window
Fn glutReshapeWindow int width int height
Requested width of the current window
Requested height of the current window
The glutReshapeWindow() function adjusts the width and height of
, if it is an onscreen
top-level or subwindow. Subwindows are typically
resized and repositioned in response to window resize events.
The window system may delay or even alter your request.
Use the glutReshapeFunc() callback registration for the window
if you want
If you try to make a subwindow smaller than its parent, the
parent will not grow to accomodate the child.
Add support for offscreen windows.