# HG changeset patch # User koda # Date 1329057306 -3600 # Node ID dab56311daa53db144894bec2b1a0107a3503212 # Parent 4d3209a189ca2a3bfc98bb6be4bfa388e76f02ac tipped by xeli, ammomenu texture needs to be redrawn on resize to update its position diff -r 4d3209a189ca -r dab56311daa5 hedgewars/uStore.pas --- a/hedgewars/uStore.pas Sun Feb 12 15:27:25 2012 +0100 +++ b/hedgewars/uStore.pas Sun Feb 12 15:35:06 2012 +0100 @@ -1017,6 +1017,7 @@ end else begin + AmmoMenuInvalidated:= true; {$IFDEF IPHONEOS} // chFullScr is called when there is a rotation event and needs the SetScale and SetupOpenGL to set up the new resolution // this 6 gl functions are the relevant ones and are hacked together here for optimisation