Set more generous minimums. Flicker seems to have nothing to do with minimum size. I get it even for fairly large dimensions after scaling down from a much larger size. Similar to issues with zoom from about a month ago, before unc0rr fixed them.
authornemo
Tue, 23 Aug 2011 16:37:57 -0400
changeset 5674 244cbc1448bd
parent 5673 85336f377479
child 5675 cd10d6cba644
Set more generous minimums. Flicker seems to have nothing to do with minimum size. I get it even for fairly large dimensions after scaling down from a much larger size. Similar to issues with zoom from about a month ago, before unc0rr fixed them.
hedgewars/hwengine.pas
hedgewars/uVariables.pas
--- a/hedgewars/hwengine.pas	Tue Aug 23 09:32:59 2011 -0400
+++ b/hedgewars/hwengine.pas	Tue Aug 23 16:37:57 2011 -0400
@@ -241,8 +241,8 @@
 {$ENDIF}
     cMinScreenWidth:= cScreenWidth;
     cMinScreenHeight:= cScreenHeight;
-    if 768 < cMinScreenWidth then cMinScreenWidth:= 768;
-    if 576 < cMinScreenHeight then cMinScreenHeight:= 576;
+    if 480 < cMinScreenWidth then cMinScreenWidth:= 480;
+    if 320 < cMinScreenHeight then cMinScreenHeight:= 320;
 
     initEverything(true);
 
--- a/hedgewars/uVariables.pas	Tue Aug 23 09:32:59 2011 -0400
+++ b/hedgewars/uVariables.pas	Tue Aug 23 16:37:57 2011 -0400
@@ -25,8 +25,8 @@
 
 var
 /////// init flags ///////
-    cMinScreenWidth  : LongInt     = 768;
-    cMinScreenHeight : LongInt     = 576;
+    cMinScreenWidth  : LongInt     = 480;
+    cMinScreenHeight : LongInt     = 320;
     cScreenWidth    : LongInt     = 1024;
     cScreenHeight   : LongInt     = 768;
     cBits           : LongInt     = 32;