Added OpenGL capabilities check