hedgewars/GearDrawing.inc
changeset 3641 98319a621dc8
parent 3508 a7ca07614a2d
child 3710 411f5c2b5292
--- a/hedgewars/GearDrawing.inc	Tue Jul 13 17:39:00 2010 -0400
+++ b/hedgewars/GearDrawing.inc	Wed Jul 14 00:43:36 2010 +0200
@@ -131,7 +131,6 @@
                 VertexBuffer[1].X:= tx + WorldDx;
                 VertexBuffer[1].Y:= ty + WorldDy;
 
-                glEnableClientState(GL_VERTEX_ARRAY);
                 glVertexPointer(2, GL_FLOAT, 0, @VertexBuffer[0]);
                 glDrawArrays(GL_LINES, 0, Length(VertexBuffer));
                 Tint($FF, $FF, $FF, $FF);