From cb50c854d301fffedc760a24ff363c69c41e3ad8 Mon Sep 17 00:00:00 2001 From: basisbit Date: Sun, 23 Aug 2015 03:15:31 +0000 Subject: * limit to 60 FPS - be more energy friendly and laptop-friendly ;-) * do not return any button-mouse-over-area when the mouse cursor is hidden - fixes certain access violations on windows git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3123 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UMain.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base') diff --git a/src/base/UMain.pas b/src/base/UMain.pas index 39f52c4d..6c2ab813 100644 --- a/src/base/UMain.pas +++ b/src/base/UMain.pas @@ -350,7 +350,7 @@ end; procedure MainLoop; const - MAX_FPS = 100; + MAX_FPS = 60; var Delay: integer; TicksCurrent: cardinal; -- cgit v1.2.3