Patch : 2.1 nopatch (Linux)
Files : Bugs: 0000149 Il timer per il nome del menu non funziona git-svn-id: svn://10.65.10.50/trunk@12046 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
9f8714bd80
commit
2296b04f79
@ -600,7 +600,11 @@ void TMenulist_window::on_idle()
|
|||||||
{
|
{
|
||||||
if (ADVANCED_GRAPHICS)
|
if (ADVANCED_GRAPHICS)
|
||||||
{
|
{
|
||||||
|
#ifdef LINUX
|
||||||
|
const clock_t max_clock = (3*CLOCKS_PER_SEC) / 10;
|
||||||
|
#else
|
||||||
const clock_t max_clock = 3*CLOCKS_PER_SEC;
|
const clock_t max_clock = 3*CLOCKS_PER_SEC;
|
||||||
|
#endif
|
||||||
const clock_t elapsed = clock() - _last_update;
|
const clock_t elapsed = clock() - _last_update;
|
||||||
if (elapsed <= max_clock)
|
if (elapsed <= max_clock)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user