This tells OpenGL what area of the available area we are rendering to. In this case, we change it to match the full available area. Without this function call resizing the window would have no effect on the rendering.
See Implementation
This tells OpenGL what area of the available area we are rendering to. In this case, we change it to match the full available area. Without this function call resizing the window would have no effect on the rendering.