--- a/hedgewars/uGearsRender.pas Tue Jun 05 22:17:06 2012 +0200
+++ b/hedgewars/uGearsRender.pas Tue Jun 05 22:37:36 2012 +0200
@@ -37,7 +37,7 @@
end;
implementation
-uses uRender, uUtils, uVariables, uAmmos, Math, uVisualGears;
+uses uRender, uStore, uUtils, uVariables, uAmmos, Math, uVisualGears;
procedure DrawRopeLinesRQ(Gear: PGear);
begin
@@ -62,7 +62,7 @@
Tint($C0, $C0, $C0, $FF);
- glVertexPointer(2, GL_FLOAT, 0, @RopePoints.rounded[0]);
+ SetVertexPointer(@RopePoints.rounded[0]);
glDrawArrays(GL_LINE_STRIP, 0, RopePoints.Count + 2);
Tint($FF, $FF, $FF, $FF);