Adding OpenGL support