hedgewars/uRender.pas
changeset 8626 cfc44db21d72
parent 8560 134a098235fa
child 8833 c13ebed437cb
child 9080 9b42757d7e71
--- a/hedgewars/uRender.pas	Fri Mar 01 22:32:49 2013 -0500
+++ b/hedgewars/uRender.pas	Sun Mar 03 19:32:48 2013 +0200
@@ -349,7 +349,7 @@
 end;
 
 procedure DrawLine(X0, Y0, X1, Y1, Width: Single; r, g, b, a: Byte);
-var VertexBuffer: array [0..3] of TVertex2f;
+var VertexBuffer: array [0..1] of TVertex2f;
 begin
     glDisable(GL_TEXTURE_2D);
     glEnable(GL_LINE_SMOOTH);