Recovered the SaveAsJpg and SaveAsPng implementations for OpenGL
This upstream commit messes up the menu RTs...