diff options
author | Nivesh Rajbhandari | 2012-02-22 11:36:19 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-22 11:36:19 -0800 |
commit | f775fb752cac57a0c1f6c42c8c60f5ff329eab32 (patch) | |
tree | 62ef5c4e57ed4fe3601eb90d8881b94053df8f3d /js/helper-classes/RDGE/src/core/script/runtime.js | |
parent | eb8223a286e3703a0b7995f5472aaec8dcffd7f8 (diff) | |
download | ninja-f775fb752cac57a0c1f6c42c8c60f5ff329eab32.tar.gz |
Revert "Integrating canvas-2d drawing and WebGL fixes, including adding back WebGL materials."
This reverts commit 96a0a8c916533eb5625816192ed38488f639326d.
Diffstat (limited to 'js/helper-classes/RDGE/src/core/script/runtime.js')
-rwxr-xr-x | js/helper-classes/RDGE/src/core/script/runtime.js | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/js/helper-classes/RDGE/src/core/script/runtime.js b/js/helper-classes/RDGE/src/core/script/runtime.js index 3d824faf..18b9b223 100755 --- a/js/helper-classes/RDGE/src/core/script/runtime.js +++ b/js/helper-classes/RDGE/src/core/script/runtime.js | |||
@@ -206,15 +206,11 @@ RDGETask = (function() { | |||
206 | self.lastTime = self.currTime; | 206 | self.lastTime = self.currTime; |
207 | } | 207 | } |
208 | 208 | ||
209 | this.start = function() | 209 | this.start = function() { |
210 | { | 210 | this.running = true; |
211 | if (!this.running) | 211 | this.currTime = new Date().getTime(); |
212 | { | 212 | this.lastTime = this.currTime; |
213 | this.running = true; | 213 | tasks[this.id](); |
214 | this.currTime = new Date().getTime(); | ||
215 | this.lastTime = this.currTime; | ||
216 | tasks[this.id](); | ||
217 | } | ||
218 | } | 214 | } |
219 | 215 | ||
220 | this.stop = function() { | 216 | this.stop = function() { |