public void DrawPrimitives(PrimitiveType pt, int firstVertex, int numVertices)
 {
     VerifyThreadAffinity();
     //Console.WriteLine("DrawArrays");
     OpenGL.glDrawArrays(ModeFromPrimitiveType(pt), firstVertex, numVertices);
     OpenGL.CheckGLError();
 }