aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/pulse-material.js
diff options
context:
space:
mode:
authorhwc4872012-04-08 05:26:08 -0700
committerhwc4872012-04-08 05:26:08 -0700
commit5b878fdfaa696c1a01afa191c1d65c0ccb006b65 (patch)
treeca9ae5497500a46edd00e0e61b8e49ae53242e4d /js/lib/rdge/materials/pulse-material.js
parent416ce9d4954e0a7f4ee7b9afe43bf691fdb276f4 (diff)
downloadninja-5b878fdfaa696c1a01afa191c1d65c0ccb006b65.tar.gz
Clouds
Diffstat (limited to 'js/lib/rdge/materials/pulse-material.js')
-rw-r--r--js/lib/rdge/materials/pulse-material.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/lib/rdge/materials/pulse-material.js b/js/lib/rdge/materials/pulse-material.js
index 0a7a5dd8..9cb500c8 100644
--- a/js/lib/rdge/materials/pulse-material.js
+++ b/js/lib/rdge/materials/pulse-material.js
@@ -139,7 +139,7 @@ var PulseMaterial = function PulseMaterial()
139 if (this._glTex) 139 if (this._glTex)
140 { 140 {
141 if (this._glTex.isAnimated()) 141 if (this._glTex.isAnimated())
142 this._glTex.rerender(); 142 this._glTex.render();
143 tex = this._glTex.getTexture(); 143 tex = this._glTex.getTexture();
144 } 144 }
145 145
@@ -157,7 +157,7 @@ var PulseMaterial = function PulseMaterial()
157 { 157 {
158 if (!this._glTex.isAnimated()) 158 if (!this._glTex.isAnimated())
159 { 159 {
160 this._glTex.rerender(); 160 this._glTex.render();
161 this.updateTexture(); 161 this.updateTexture();
162 } 162 }
163 } 163 }
@@ -177,7 +177,7 @@ var PulseMaterial = function PulseMaterial()
177 { 177 {
178 //this.updateTexture(); 178 //this.updateTexture();
179 if (this._glTex.isAnimated()) 179 if (this._glTex.isAnimated())
180 this._glTex.rerender(); 180 this._glTex.render();
181 tex = this._glTex.getTexture(); 181 tex = this._glTex.getTexture();
182 if (tex) 182 if (tex)
183 technique.u_tex0.set( tex ); 183 technique.u_tex0.set( tex );