Add OpenGL support.