support glBegin on GL_POINTS; fixes #793