changeset 2390 | 57fb33ab04a4 |
parent 2389 | bc3e45a4d5fb |
child 2391 | f7d15d9d643c |
--- a/hedgewars/uGears.pas Tue Sep 22 15:48:49 2009 +0000 +++ b/hedgewars/uGears.pas Tue Sep 22 18:58:02 2009 +0000 @@ -1280,10 +1280,11 @@ glLineWidth(4.0); - glColor3ub($B0, $B0, $B0); +// glColor3ub($B0, $B0, $B0); + glColor4f(176.0, 176.0, 176.0, 1.0); glEnableClientState(GL_VERTEX_ARRAY); - glVertexPointer(2, GL_INT, 0, @RopePoints.rounded[0]); + glVertexPointer(2, GL_FLOAT, 0, @RopePoints.rounded[0]); glDrawArrays(GL_LINE_STRIP, 0, RopePoints.Count + 2); glColor4f(1, 1, 1, 1);