f910ce2ee55b45d069febab9f78abe45bdb84872

Before we call glViewport we need to convert Cogl viewport coordinates (where the origin is defined to be top left) to OpenGL coordinates (where the origin is defined to be bottom left) We weren't considering that offscreen rendering is always upside down and in this case Cogl coordinates == OpenGL coordinates.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%