Added support for GL screenshot.