v0.4.2: increased priority of game logic thread to 1 below UI thread
This commit is contained in:
parent
c29cef8907
commit
71c7c264ac
|
@ -419,7 +419,7 @@ public class GameScene extends PixelScene {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//if cpu time is limited, game should prefer drawing the current frame
|
//if cpu time is limited, game should prefer drawing the current frame
|
||||||
t.setPriority(Thread.MIN_PRIORITY);
|
t.setPriority(Thread.NORM_PRIORITY-1);
|
||||||
t.start();
|
t.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user