scenes/opengl: Delegate viewport setup to backend
Only the backend knows what the right viewport rect is. Furthermore, setting up the viewport before rendering is less error-prone. Found while debugging some opengl context related issues on x11.
Only the backend knows what the right viewport rect is. Furthermore, setting up the viewport before rendering is less error-prone. Found while debugging some opengl context related issues on x11.