Remove left-over comment
Remove comment in frame-ticker code about dynamically adjusting FRAME_RATE - we no longer do that. svn path=/trunk/; revision=178
This commit is contained in:
parent
4117739abb
commit
5f5a41b54e
@ -56,16 +56,6 @@ ClutterFrameTicker.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
_onNewFrame : function(frame) {
|
_onNewFrame : function(frame) {
|
||||||
// Unfortunately the interface to to send a new frame to tweener
|
|
||||||
// is a simple "next frame" and there is no provision for signaling
|
|
||||||
// that frames have been skipped or just telling it the new time.
|
|
||||||
// But what it actually does internally is just:
|
|
||||||
//
|
|
||||||
// _currentTime += 1000/_ticker.FRAME_RATE;
|
|
||||||
//
|
|
||||||
// So by dynamically adjusting the value of FRAME_RATE we can trick
|
|
||||||
// it into dealing with dropped frames.
|
|
||||||
|
|
||||||
// If there is a lot of setup to start the animation, then
|
// If there is a lot of setup to start the animation, then
|
||||||
// first frame number we get from clutter might be a long ways
|
// first frame number we get from clutter might be a long ways
|
||||||
// into the animation (or the animation might even be done).
|
// into the animation (or the animation might even be done).
|
||||||
|
Loading…
Reference in New Issue
Block a user