# HG changeset patch # User unc0rr # Date 1252551758 0 # Node ID 5304fa032d9b09575721703215e4841e9ce65f32 # Parent ef4abaf2d5cc18bc281814e007ef08f4208a9e01 Use GL_LINE_STRIP instead of GL_LINES diff -r ef4abaf2d5cc -r 5304fa032d9b hedgewars/uGears.pas --- a/hedgewars/uGears.pas Wed Sep 09 14:04:06 2009 +0000 +++ b/hedgewars/uGears.pas Thu Sep 10 03:02:38 2009 +0000 @@ -1310,7 +1310,7 @@ glEnableClientState(GL_VERTEX_ARRAY); glVertexPointer(2, GL_INT, 0, @RopePoints.rounded[0]); - glDrawArrays(GL_LINES, 0, cnt + 1); + glDrawArrays(GL_LINE_STRIP, 0, cnt + 1); glColor4f(1, 1, 1, 1); glEnable(GL_TEXTURE_2D); glDisable(GL_LINE_SMOOTH);