--- a/hedgewars/uLandObjects.pas Sat Mar 21 10:49:58 2009 +0000
+++ b/hedgewars/uLandObjects.pas Sun Mar 22 14:32:22 2009 +0000
@@ -27,7 +27,13 @@
procedure AddOnLandObjects(Surface: PSDL_Surface);
implementation
-uses uLand, uStore, uConsts, uMisc, uConsole, uRandom, uVisualGears, uFloat, GL, uSound, uWorld;
+uses uLand, uStore, uConsts, uMisc, uConsole, uRandom, uVisualGears, uFloat,
+{$IFDEF IPHONE}
+ gles11,
+{$ELSE}
+ GL,
+{$ENDIF}
+ uSound, uWorld;
const MaxRects = 512;
MAXOBJECTRECTS = 16;
MAXTHEMEOBJECTS = 32;