aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/rdge/materials')
-rw-r--r--js/lib/rdge/materials/cloud-material.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/lib/rdge/materials/cloud-material.js b/js/lib/rdge/materials/cloud-material.js
index c1dabce8..f253718a 100644
--- a/js/lib/rdge/materials/cloud-material.js
+++ b/js/lib/rdge/materials/cloud-material.js
@@ -188,6 +188,8 @@ var CloudMaterial = function CloudMaterial() {
188 var material = this._materialNode; 188 var material = this._materialNode;
189 if (material) 189 if (material)
190 { 190 {
191 if (this._srcWorld) this._srcWorld.draw();
192
191 var technique = material.shaderProgram['default']; 193 var technique = material.shaderProgram['default'];
192 var renderer = g_Engine.getContext().renderer; 194 var renderer = g_Engine.getContext().renderer;
193 if (renderer && technique) { 195 if (renderer && technique) {