The output of glReadPixels is in inverted when GLTexture is not inverterd.
mentioned in commit 6fd95cc1