OGL: Use vector instead of pointer when taking screenshot.