Call glViewport at the start of each frame
Rework data types