Resize the viewport.
Should be called after the window is resized.
InputDevice.resized
See Implementation
Resize the viewport.
Should be called after the window is resized.