diff options
author | basisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2015-08-23 03:15:31 +0000 |
---|---|---|
committer | basisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2015-08-23 03:15:31 +0000 |
commit | cb50c854d301fffedc760a24ff363c69c41e3ad8 (patch) | |
tree | 96fb650ba4d161ecdce253f8be8545c06342fad7 /src/base | |
parent | bd6edd76cbe2cdee409c050eee28292f0f1cbdb2 (diff) | |
download | usdx-cb50c854d301fffedc760a24ff363c69c41e3ad8.tar.gz usdx-cb50c854d301fffedc760a24ff363c69c41e3ad8.tar.xz usdx-cb50c854d301fffedc760a24ff363c69c41e3ad8.zip |
* 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
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/UMain.pas | 2 |
1 files changed, 1 insertions, 1 deletions
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; |