Renders mesh with OpenGL in SFML context