hedgewars/uStore.pas
changeset 2689 dfda97c153a4
parent 2684 04c086d8d9d4
child 2690 8e83c7e31720
--- a/hedgewars/uStore.pas	Fri Jan 08 03:52:44 2010 +0000
+++ b/hedgewars/uStore.pas	Sat Jan 09 00:59:12 2010 +0000
@@ -1159,9 +1159,9 @@
 // prepare default translation/scaling
 glLoadIdentity();
 glScalef(2.0 / cScreenWidth, -2.0 / cScreenHeight, 1.0);
-//{$IFDEF IPHONEOS}
+{$IFDEF IPHONEOS}
 //glRotatef(90, 0, 0, 1);
-//{$ENDIF}
+{$ENDIF}
 glTranslatef(0, -cScreenHeight / 2, 0);
 
 // enable alpha blending
@@ -1181,9 +1181,9 @@
 	glPushMatrix; // save default scaling
 	glLoadIdentity;
 	glScalef(f / cScreenWidth, -f / cScreenHeight, 1.0);
-//{$IFDEF IPHONEOS}
+{$IFDEF IPHONEOS}
 //	glRotatef(90, 0, 0, 1);
-//{$ENDIF}
+{$ENDIF}
 	glTranslatef(0, -cScreenHeight / 2, 0);
 	end;
 
@@ -1236,7 +1236,13 @@
 begin
 WriteLnToConsole('Freeing progress surface... ');
 FreeTexture(ProgrTex);
-ProgrTex:= nil
+ProgrTex:= nil;
+
+{$IFDEF IPHONEOS}
+// show overlay buttons
+IPH_showControls;
+{$ENDIF}
+
 end;
 
 procedure flipSurface(Surface: PSDL_Surface; Vertical: Boolean);