Recover OpenGL functionality.