This reverts commit ac16bef4. It causes crashes and color channels seem to be swapped. GLTexture::toImage() needs more work before it can be used in the screenshot effect, or maybe dropped.