GLEW prep: move glViewport into the rest of the GL code.
GLEW prep: move glViewport into the rest of the GL code.

(We are separating GL and Qt code because the GLEW headers
and the Qt headers apparently don't get along although their
runtimes do.  See e.g. http://old.nabble.com/GLEW-Qt-td22149860.html
.  GLEW seems to be the sane cross-platform way to use even
remotely new OpenGL versions (>= 2.0) - Windows headers only have 1.x.)

elidupree/Lasercake,idupree/Lasercake,Lasercake/Lasercake,elidupree/Lasercake,idupree/Lasercake,elidupree/Lasercake,idupree/Lasercake,idupree/Lasercake,elidupree/Lasercake,elidupree/Lasercake,Lasercake/Lasercake,idupree/Lasercake,elidupree/Lasercake,Lasercake/Lasercake,idupree/Lasercake,Lasercake/Lasercake,Lasercake/Lasercake,elidupree/Lasercake,idupree/Lasercake