Instead of 60, try using the refresh rate as the target FPS.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4096 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -93,8 +93,8 @@ public class JmeApp
|
|||||||
// create an appropriate timer
|
// create an appropriate timer
|
||||||
_timer = Timer.getTimer(_api);
|
_timer = Timer.getTimer(_api);
|
||||||
|
|
||||||
// start with a target of 60 frames per second
|
// start with the target FPS equal to the refresh rate
|
||||||
setTargetFPS(60);
|
setTargetFPS(_display.getFrequency());
|
||||||
|
|
||||||
// initialize our main camera controls and user input handling
|
// initialize our main camera controls and user input handling
|
||||||
initInput();
|
initInput();
|
||||||
|
|||||||
Reference in New Issue
Block a user