aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/src/core
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-25 11:14:40 -0700
committerArmen Kesablyan2012-06-25 11:14:40 -0700
commit446f475c35e3d0d5d6cb6ca35346e548de6c36f9 (patch)
tree0b7e7154979754db2c0ebb7b7908c555068d515d /js/helper-classes/RDGE/src/core
parent7867aec2620b65605180979b5049cfa154ca7dd1 (diff)
parent35aebe8d72ccfa9ea010eb79c09ecf89cc1ed44d (diff)
downloadninja-446f475c35e3d0d5d6cb6ca35346e548de6c36f9.tar.gz
Merge branch 'refs/heads/master' into binding
Conflicts: js/ninja.reel/ninja.html Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js/helper-classes/RDGE/src/core')
-rwxr-xr-xjs/helper-classes/RDGE/src/core/script/runtime.js6
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();