diff options
author | Jose Antonio Marquez | 2012-06-25 11:53:29 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-25 11:53:29 -0700 |
commit | 64cf1c02708d7f2c072c2919d31c5e4a11689bb3 (patch) | |
tree | 15f36db052e1989552a23291ec049fe28e1ce046 /js/helper-classes/RDGE/src/core | |
parent | b435e97ff312eea15086069ce0ab6991acac32ff (diff) | |
parent | de38cd3479bd5865e058938095120fa3526fc9b3 (diff) | |
download | ninja-64cf1c02708d7f2c072c2919d31c5e4a11689bb3.tar.gz |
Merge branch 'refs/heads/Ninja-Internal' into Color
Diffstat (limited to 'js/helper-classes/RDGE/src/core')
-rwxr-xr-x | js/helper-classes/RDGE/src/core/script/runtime.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/src/core/script/runtime.js b/js/helper-classes/RDGE/src/core/script/runtime.js index eb327d1f..274c1f8a 100755 --- a/js/helper-classes/RDGE/src/core/script/runtime.js +++ b/js/helper-classes/RDGE/src/core/script/runtime.js | |||
@@ -94,7 +94,11 @@ RDGE.RDGEStart = function (canvasOrID) { | |||
94 | 94 | ||
95 | RDGE.globals.engine.registerCanvas(canvas); | 95 | RDGE.globals.engine.registerCanvas(canvas); |
96 | 96 | ||
97 | canvas.task = new RDGE.RDGETask(canvas, true); | 97 | if (!canvas.task) |
98 | { | ||
99 | //canvas.task = new RDGE.RDGETask(canvas, true); | ||
100 | canvas.task = new RDGE.RDGETask(canvas, false); | ||
101 | } | ||
98 | 102 | ||
99 | if (!RDGE.globals.shaderMan) | 103 | if (!RDGE.globals.shaderMan) |
100 | RDGE.globals.shaderMan = new RDGE.ShaderManager(); | 104 | RDGE.globals.shaderMan = new RDGE.ShaderManager(); |