v0.4.2: increased priority of game logic thread to 1 below UI thread
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user